CVE-2007-0649 openemr openemr: Code Injection
openemr openemr: no CVSS score yet. EPSS 6.4% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 6.4% (unchanged from 6.4% a week ago; 6.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-94 Improper Control of Generation of Code (Code Injection)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Vendor advisory: http://attrition.org/pipermail/vim/2007-January/001254.html
- Vendor advisory: http://attrition.org/pipermail/vim/2007-January/001258.html
Ask an AI about this CVE
Show the prompt
Explain CVE-2007-0649 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-0649?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-0649?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-0649 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| openemr:openemr | through 2.8.2 |
Public exploits
- Exploit-DB OpenEMR 2.8.2 - 'Import_XML.php' Remote File Inclusion
- Exploit-DB OpenEMR 2.8.2 - 'Login_Frame.php' Cross-Site Scripting
Attack patterns (CAPEC)
- CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
- CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
- CAPEC-242 Code Injection Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://attrition.org/pipermail/vim/2007-January/001254.html
- http://attrition.org/pipermail/vim/2007-January/001258.html
- http://osvdb.org/33603
- http://osvdb.org/33609
- http://securityreason.com/securityalert/2202
- http://www.securityfocus.com/archive/1/458306/100/0/threaded
- http://www.securityfocus.com/archive/1/458426/100/0/threaded
- http://www.securityfocus.com/archive/1/458456/100/0/threaded
- http://www.securityfocus.com/archive/1/458476/100/0/threaded
- http://www.securityfocus.com/archive/1/458486/100/0/threaded
- http://www.securityfocus.com/archive/1/458565/100/0/threaded
- http://www.securityfocus.com/bid/22346
- http://www.securityfocus.com/bid/22348