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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- OpenEMR 2.8.2 - 'Import_XML.php' Remote File Inclusion EDB-29556 · webapps · Jan 31, 2007 · verified
- OpenEMR 2.8.2 - 'Login_Frame.php' Cross-Site Scripting EDB-29557 · webapps · Jan 31, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20070130 Re: Fake: Open Conference Systems = 2.8.2 Remote File Inclusion mailing-list
- 20070129 [still bogus] V [mike at carstein.kill-9.pl: Re: Open Conference Systems = 2.8.2 Remote File Inclusion] (fwd) mailing-list
- 20070129 Fake: Open Conference Systems = 2.8.2 Remote File Inclusion mailing-list
- 33603 vdb-entry
- 22348 vdb-entry
- 20070129 Re: Fake: Open Conference Systems = 2.8.2 Remote File Inclusion mailing-list
- 22346 vdb-entry
- 33609 vdb-entry
- 2202 third-party-advisory
- 20070127 Open Conference Systems = 2.8.2 Remote File Inclusion mailing-list
- 20070128 Re: Open Conference Systems = 2.8.2 Remote File Inclusion mailing-list
- 20070127 Re: Open Conference Systems = 2.8.2 Remote File Inclusion mailing-list
- 20070131 VERIFY of RFI and XSS in OpenEMR 2.8.2 (was [still bogus] V [mike at carstein.kill-9.pl: Re: Open Conference Systems = 2.8.2 Remote File Inclusion]) mailing-list