Secunia Security Advisory - John Leitch has discovered multiple vulnerabilities in OpenEMR, which can be exploited by malicious people to conduct cross-site scripting attacks and disclose sensitive information.
44ca6683948b213d3d9e1f2bf4360a1ade3981478f69ca114787204ef3507a69
----------------------------------------------------------------------
Q1 Factsheets released:
http://secunia.com/resources/factsheets/2011_vendor/
----------------------------------------------------------------------
TITLE:
OpenEMR Cross-Site Scripting and Local File Inclusion Vulnerabilities
SECUNIA ADVISORY ID:
SA43970
VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/43970/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=43970
RELEASE DATE:
2011-04-05
DISCUSS ADVISORY:
http://secunia.com/advisories/43970/#comments
AVAILABLE ON SITE AND IN CUSTOMER AREA:
* Last Update
* Popularity
* Comments
* Criticality Level
* Impact
* Where
* Solution Status
* Operating System / Software
* CVE Reference(s)
http://secunia.com/advisories/43970/
ONLY AVAILABLE IN CUSTOMER AREA:
* Authentication Level
* Report Reliability
* Secunia PoC
* Secunia Analysis
* Systems Affected
* Approve Distribution
* Remediation Status
* Secunia CVSS Score
* CVSS
https://ca.secunia.com/?page=viewadvisory&vuln_id=43970
ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI:
* AUTOMATED SCANNING
http://secunia.com/vulnerability_scanning/personal/
http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/
DESCRIPTION:
John Leitch has discovered multiple vulnerabilities in OpenEMR, which
can be exploited by malicious people to conduct cross-site scripting
attacks and disclose sensitive information.
1) Input passed to the "src_form" and "section_value" parameters in
gacl/admin/object_search.php is not properly sanitised before being
returned to the user. This can be exploited to execute arbitrary HTML
and script code in a user's browser session in context of an affected
site.
2) Input passed to the "site" parameter in index.php is not properly
verified before being used to include files. This can be exploited to
include arbitrary files from local resources via directory traversal
attacks and URL-encoded NULL bytes.
Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.
The vulnerabilities are confirmed in version 4.0.0. Other versions
may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised and
verified.
PROVIDED AND/OR DISCOVERED BY:
John Leitch, AutoSec Tools.
ORIGINAL ADVISORY:
http://www.autosectools.com/Advisories/OpenEMR.4.0.0_Local.File.Inclusion_166.html
http://www.autosectools.com/Advisories/OpenEMR.4.0.0_Reflected.Cross-site.Scripting_164.html
OTHER REFERENCES:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
DEEP LINKS:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
EXTENDED DESCRIPTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
EXTENDED SOLUTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
EXPLOIT:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/advisories/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------