CVE-2022-23612Directory Traversal in OpenMRS Startup Filter
Updated under an hour ago ()
Does this affect you?
It affects openmrs-core and 1 other product. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 1.93%, higher than 80% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weakness (CWE)
- CWE-22
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 1.93% (percentile 80)
- Assigned by
- GitHub_M
- NVD analysis
- Modified
- Record last updated
- Apr 22, 2025
- First seen by InfoSec Signals
- Oct 12, 2026
Affected products
openmrs openmrs-core openmrs:core (from the name) | from 1.6, < 2.1.5; from 2.2.0, < 2.2.1; from 2.3.0, < 2.3.5; from 2.4.0, < 2.4.5; from 2.5.0, < 2.5.3 | CNA record |
openmrs openmrs openmrs:openmrs | from 1.6 before 2.1.5; from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.5; from 2.4.0 before 2.4.5; from 2.5.0 before 2.5.3 | NVD |
References
- https://github.com/openmrs/openmrs-core/security/advisories/GHSA-8rgr-ww69-jv65x-refsource-confirm, exploit, patch, third-party-advisory
- https://github.com/openmrs/openmrs-core/commit/db8454bf19a092a78d53ee4dba2af628b730a6e7#diff-7c64d9f61d4d4e2ddba92920d7cf63ec96091b308d43904956b3846bc0c26d80R128x-refsource-misc, patch, third-party-advisory
- https://github.com/openmrs/openmrs-core/blob/ee3373a7a775bfdfa263e2e912c72e64342fb4f0/web/src/main/java/org/openmrs/web/filter/StartupFilter.java#L123x-refsource-misc, patch, third-party-advisory
- https://lgtm.com/projects/g/openmrs/openmrs-core/snapshot/fb1335c925ca4c94be5a546707b90d2c1efa4dcc/files/web/src/main/java/org/openmrs/web/filter/StartupFilter.java#L123x-refsource-misc, patch, third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.