Path Traversal in Openmrs
CVE-2022-23612
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.019 (79.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
Affected products
- Openmrs
- Openmrs Openmrs-Core — versions >= 1.6, < 2.1.5, >= 2.2.0, < 2.2.1, >= 2.3.0, < 2.3.5
Weakness classification (CWE)
References
- github.com/openmrs/openmrs-core/security/advisories/GHSA-8rgr-ww69-jv65 (Exploit, Patch, Third Party Advisory)
- github.com/openmrs/openmrs-core/commit/db8454bf19a092a78d53ee4dba2af628b730a6e7 (Patch, Third Party Advisory)
- github.com/openmrs/openmrs-core/blob/ee3373a7a775bfdfa263e2e912c72e64342fb4f0/w… (Patch, Third Party Advisory)
- lgtm.com/projects/g/openmrs/openmrs-core/snapshot/fb1335c925ca4c94be5a546707b90… (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-23612?
- CVE-2022-23612 is a high-severity vulnerability in Openmrs, classified under Path Traversal. CVSS score: 7.5/10. Published 2022-02-22.
- How severe is CVE-2022-23612?
- High severity. CVSS v3 base score is 7.5 out of 10.