CVE-2018-19276: Unsafe deserialization
Exploitation: Reported · CVSS 10.0 Critical · Unauthenticated · Published 2019-03-17
Description
OpenMRS before 2.24.0 is affected by an Insecure Object Deserialization vulnerability that allows an unauthenticated user to execute arbitrary commands on the targeted system via crafted XML data in a request body.
Enclave's analysis
OpenMRS has an insecure deserialization bug. An unauthenticated attacker sends crafted XML in a request body and runs commands on the host. Public exploit entries exist on Exploit-DB and Packet Storm, and EPSS is extremely high. It isn't on CISA KEV, and no in-the-wild use was confirmed. Patch to 1.12.1, 2.0.8, 2.1.4 or 2.24.0 or later, and keep OpenMRS off the public internet.
Fix
Upgrade OpenMRS platform (openmrs-core), 1.12 line to 1.12.1; OpenMRS platform (openmrs-core), 2.0 line to 2.0.8; OpenMRS platform (openmrs-core), 2.1 line to 2.1.4. See the affected versions for other product fixes.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| OpenMRS platform (openmrs-core), 1.12 line | 1.12.0 up to but excluding 1.12.1 | 1.12.1 |
| OpenMRS platform (openmrs-core), 2.0 line | 2.0.0 up to but excluding 2.0.8 | 2.0.8 |
| OpenMRS platform (openmrs-core), 2.1 line | 2.1.0 up to but excluding 2.1.4 | 2.1.4 |
| OpenMRS (range as worded in the CVE text) | Before 2.24.0 | 2.24.0 |