Secunia Security Advisory - Multiple vulnerabilities have been discovered in OpenEMR, which can be exploited by malicious users to conduct script insertion and SQL injection attacks.
c274de8f19e33d32357694c39cfc8dababfd057b557c1626a7bc6ba712ac9e19
----------------------------------------------------------------------
Secure your corporate defenses and reduce complexity in handling vulnerability threats with the new Secunia Vulnerability Intelligence Manager (VIM).
Request a free trial:
http://secunia.com/products/corporate/vim/
----------------------------------------------------------------------
TITLE:
OpenEMR Script Insertion and SQL Injection Vulnerabilities
SECUNIA ADVISORY ID:
SA42738
VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/42738/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=42738
RELEASE DATE:
2010-12-27
DISCUSS ADVISORY:
http://secunia.com/advisories/42738/#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/42738/
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=42738
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:
Multiple vulnerabilities have been discovered in OpenEMR, which can
be exploited by malicious users to conduct script insertion and SQL
injection attacks.
1) Input passed via the "note" and "manufacturer" parameters to
interface/patient_file/summary/immunizations.php when adding an
immunization note and "note" parameter to
interface/patient_file/summary/pnotes_full.php when adding a new note
is not properly sanitised before being used. This can be exploited to
insert arbitrary HTML and script code, which will be executed in a
user's browser session in context of an affected site when the
malicious data is being viewed.
2) Input passed via the "issue" parameter to
interface/patient_file/summary/add_edit_issue.php, "pc_facility"
parameter to interface/main/calendar/index.php, "set_pid" parameter
to interface/patient_file/summary/demographics.php,
"administered_by_id" parameter to
interface/patient_file/summary/immunizations.php, "noteid" and
"offset" parameters to interface/patient_file/summary/pnotes_full.php
is not properly sanitised before being used in a SQL query. This can
be exploited to manipulate SQL queries by injecting arbitrary SQL
code.
NOTE: This can further be exploited to conduct cross-site scripting
attacks via SQL error messages.
The vulnerabilities are confirmed in version 3.2.0. Other versions
may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
wasto
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.
----------------------------------------------------------------------