SB2021021810 - Multiple vulnerabilities in OpenEMR
Published: February 18, 2021
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 secuirty vulnerabilities.
1) SQL injection (CVE-ID: CVE-2020-29143)
The vulnerability allows a remote user to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the "form_code" parameter in "interface/reports/non_reported.php". A remote administrator can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
2) SQL injection (CVE-ID: CVE-2020-29139)
The vulnerability allows a remote user to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the "searchFields" parameter in "interface/main/finder/patient_select.php". A remote administrator can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
3) SQL injection (CVE-ID: CVE-2020-29140)
The vulnerability allows a remote user to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the "form_code" parameter in "interface/reports/immunization_report.php". A remote administrator can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
4) SQL injection (CVE-ID: CVE-2020-29142)
The vulnerability allows a remote user to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the "schedule_facility" parameter in "interface/usergroup/usergroup_admin.php". A remote administrator can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Remediation
Install update from vendor's website.
References
- https://community.open-emr.org/t/openemr-6-0-0-has-been-released/15732
- https://murat.one/?p=94
- https://nitroteam.kz/index.php?action=researches&slug=OpenEMR--9035
- https://www.open-emr.org/wiki/index.php/OpenEMR_Downloads
- https://murat.one/?p=70
- https://murat.one/?p=86
- https://www.open-emr.org/wiki/index.php/OpenEMR_Patches
- https://murat.one/?p=90