CVE-2007-0649 Code injection in n/a

Medium 4.3 Published Updated

Remote attackers can overwrite variables to execute arbitrary code or inject scripts via unsafe extract operations in OpenEMR.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2007-0649?

CVE-2007-0649 is a medium-severity code injection vulnerability in n/a, published on 1 Feb 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2007-0649?

It affects 1 product.

Products include Openemr Openemr.

How do I fix CVE-2007-0649?

No fix has been published for CVE-2007-0649 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2007-0649 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-0649 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as GHSA-3pjr-r4gg-jphf.

Is CVE-2007-0649 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free