CVE-2022-23612
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2022-23612
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-02-22T23:15:11
- Last Modified Date
- 2022-03-02T14:17:24
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:openmrs:openmrs:*:*:*:*:*:*:*:* | 1 | OR | 1.6 | 2.1.5 |
cpe:2.3:a:openmrs:openmrs:*:*:*:*:*:*:*:* | 1 | OR | 2.2.0 | 2.2.1 |
cpe:2.3:a:openmrs:openmrs:*:*:*:*:*:*:*:* | 1 | OR | 2.3.0 | 2.3.5 |
cpe:2.3:a:openmrs:openmrs:*:*:*:*:*:*:*:* | 1 | OR | 2.4.0 | 2.4.5 |
cpe:2.3:a:openmrs:openmrs:*:*:*:*:*:*:*:* | 1 | OR | 2.5.0 | 2.5.3 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/openmrs/openmrs-core/security/advisories/GHSA-8rgr-ww69-jv65 | Exploit Patch Third Party Advisory |
https://github.com/openmrs/openmrs-core/blob/ee3373a7a775bfdfa263e2e912c72e64342fb4f0/web/src/main/java/org/openmrs/web/filter/StartupFilter.java#L123 | Patch Third Party Advisory |
https://github.com/openmrs/openmrs-core/commit/db8454bf19a092a78d53ee4dba2af628b730a6e7#diff-7c64d9f61d4d4e2ddba92920d7cf63ec96091b308d43904956b3846bc0c26d80R128 | 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#L123 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-23612 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23612 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 15:47:39 | Added to TrackCVE | |||
2022-12-06 10:32:27 | 2022-02-22T23:15Z | 2022-02-22T23:15:11 | CVE Published Date | updated |
2022-12-06 10:32:27 | 2022-03-02T14:17:24 | CVE Modified Date | updated | |
2022-12-06 10:32:27 | Analyzed | Vulnerability Status | updated |