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.
1) Input passed via the "form_pubid" POST parameter to interface/new/new_comprehensive_save.php and via the "set_pid" GET parameter to interface/patient_file/summary/demographics.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) Input passed via the "provider_id" and "pc_category" POST parameters to interface/main/calendar/index.php (when "module" is set to "PostCalendar" and "func" is set to "search") 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 "tplview", "pc_category", and "pc_topic" GET parameters to interface/main/calendar/index.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.2 Patch 1. Other versions may also be affected.
|