CVE-2022-23612: Directory Traversal in OpenMRS Startup Filter
OpenMRS is a patient-based medical record system focusing on giving providers a free customizable electronic medical record system. Affected versions are subject to arbitrary file exfiltration due to failure to sanitize request when satisfying GET requests for /images & /initfilter/scripts. This can allow an attacker to access any file on a system running OpenMRS that is accessible to the user id OpenMRS is running under. Affected implementations should update to the latest patch version of OpenMRS Core for the minor version they use. These are: 2.1.5, 2.2.1, 2.3.5, 2.4.5 and 2.5.3. As a general rule, this vulnerability is already mitigated by Tomcat's URL normalization in Tomcat 7.0.28+. Users on older versions of Tomcat should consider upgrading their Tomcat instance as well as their OpenMRS instance.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-23612?
CVE-2022-23612 is considered a high severity vulnerability due to the potential for arbitrary file exfiltration.
How do I fix CVE-2022-23612?
To fix CVE-2022-23612, update OpenMRS to a version that is not affected by this vulnerability.
Which versions of OpenMRS are affected by CVE-2022-23612?
Affected versions include OpenMRS from 1.6 to 2.1.5, 2.2.0 to 2.2.1, 2.3.0 to 2.3.5, 2.4.0 to 2.4.5, and 2.5.0 to 2.5.3.
What type of vulnerability is CVE-2022-23612?
CVE-2022-23612 is categorized as an arbitrary file exfiltration vulnerability.
What are the potential impacts of CVE-2022-23612?
The potential impact of CVE-2022-23612 includes unauthorized access to sensitive files on the server.