Description
|
|
Multiple vulnerabilities have been discovered in OpenEMR, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct cross-site scripting attacks and compromise a vulnerable system.
1) The library/openflashchart/php-ofc-library/ofc_upload_image.php script allows the upload of files with arbitrary extensions to a folder inside the webroot. This can be exploited to execute arbitrary PHP code by uploading a malicious PHP script.
This may be related to:
SA37903
2) Input passed via the "form_patient_id" POST parameter to interface/reports/chart_location_activity.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
3) Input passed via the "noteid" POST parameter (when "task" is set to "add") to interface/main/messages/messages.php is not properly sanitised before being returned to the user within an error message. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
4) Input passed via the "sortby", "sortorder", and "begin" GET parameters to interface/main/messages/messages.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.
5) Input passed via the "sortby", "sortorder", and "begin" GET parameters to interface/main/messages/messages.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.
6) Input passed via the "site" GET parameter to e.g. interface/main/main_screen.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.
The vulnerabilities are confirmed in version 4.1.1. Other versions may also be affected.
|