CVE-2022-23612 Directory Traversal in OpenMRS Startup Filter
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openmrs | >= 1.6, < 2.1.5; >= 2.2.0, < 2.2.1; >= 2.3.0, < 2.3.5; >= 2.4.0, < 2.4.5 +1 more | 2.1.5, 2.2.1, 2.3.5, 2.4.5, 2.5.3 | Fixed |
| 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 +1 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openmrs-core | = >= 1.6, < 2.1.5 | No fix listed |
| openmrs-core | = >= 2.2.0, < 2.2.1 | No fix listed |
| openmrs-core | = >= 2.3.0, < 2.3.5 | No fix listed |
| openmrs-core | = >= 2.4.0, < 2.4.5 | No fix listed |
| openmrs-core | = >= 2.5.0, < 2.5.3 | No fix listed |
| openmrs | >= 1.6, < 2.1.5 | 2.1.5 |
| openmrs | >= 2.2.0, < 2.2.1 | 2.2.1 |
| openmrs | >= 2.3.0, < 2.3.5 | 2.3.5 |
| openmrs | >= 2.4.0, < 2.4.5 | 2.4.5 |
| openmrs | >= 2.5.0, < 2.5.3 | 2.5.3 |
References
- github.com exploit patch third-party-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- lgtm.com patch third-party-advisory