Vulnerability · Published Feb 22, 2022 · Assigned by GitHub_M

CVE-2022-23612Directory Traversal in OpenMRS Startup Filter

High 7.5

In plain English

A high-severity path traversal in openmrs-core from openmrs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.9%top 19.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 products (as reported)

VendorProductVersions
openmrs openmrs-core >= 1.6, < 2.1.5>= 2.2.0, < 2.2.1>= 2.3.0, < 2.3.5>= 2.4.0, < 2.4.5>= 2.5.0, < 2.5.3

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References