CVE-2007-0649

OpenEMR < 2.8.2 - Remote Code Execution via Variable Overwrite in interface/globals.php

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2007-0649. PoCs published by Michael Melewski, trzindan.

AI-analyzed exploit summary The provided text describes a cross-site scripting (XSS) vulnerability in OpenEMR version 2.8.2, where user-supplied input is not properly sanitized. The vulnerability can be exploited by injecting malicious script code via the 'rootdir' parameter in the login_frame.php URL.

Description

Variable overwrite vulnerability in interface/globals.php in OpenEMR 2.8.2 and earlier allows remote attackers to overwrite arbitrary program variables and conduct other unauthorized activities, such as conduct (a) remote file inclusion attacks via the srcdir parameter in custom/import_xml.php or (b) cross-site scripting (XSS) attacks via the rootdir parameter in interface/login/login_frame.php, via vectors associated with extract operations on the (1) POST and (2) GET superglobal arrays. NOTE: this issue was originally disputed before the extract behavior was identified in post-disclosure analysis. Also, the original report identified "Open Conference Systems," but this was an error.

Exploits (2)

exploitdb WRITEUP VERIFIED
by Michael Melewski · textwebappsphp
https://www.exploit-db.com/exploits/29557

The provided text describes a cross-site scripting (XSS) vulnerability in OpenEMR version 2.8.2, where user-supplied input is not properly sanitized. The vulnerability can be exploited by injecting malicious script code via the 'rootdir' parameter in the login_frame.php URL.

Classification
Writeup 90%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: OpenEMR 2.8.2
No auth needed
Prerequisites: Access to the vulnerable OpenEMR login page
MITRE ATT&CK
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
exploitdb WRITEUP VERIFIED
by trzindan · textwebappsphp
https://www.exploit-db.com/exploits/29556

The provided text describes a remote file inclusion vulnerability in OpenEMR 2.8.2 due to insufficient input sanitization. It includes a sample exploit URL but lacks actual exploit code or technical details.

Classification
Writeup 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Theoretical
Target: OpenEMR 2.8.2
No auth needed
Prerequisites: Network access to the target application
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

References (13)

Core 13
Core References
Vendor Advisory mailing-list x_refsource_vim
http://attrition.org/pipermail/vim/2007-January/001254.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/33603
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/33609
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/458306/100/0/threaded
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/458565/100/0/threaded
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/458456/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/22348
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/458476/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/22346
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/2202
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/458486/100/0/threaded
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/458426/100/0/threaded
Vendor Advisory mailing-list x_refsource_vim
http://attrition.org/pipermail/vim/2007-January/001258.html

Scores

EPSS 0.0617
EPSS Percentile 92.6%

Details

CWE
CWE-94
Status published
Products (1)
openemr/openemr < 2.8.2
Published Feb 01, 2007
Tracked Since Feb 18, 2026