CVE-2018-19276 — openmrs-core
CRITICALCVE-2018-19276 is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability. 10 public exploit references exist, so weaponization risk is real. A fix is available — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2018-19276 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
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.
Affected Products
openmrsopenmrsResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
OpenMRS - Java Deserialization RCE (Metasploit)
by Metasploit · Dec 18, 2019
OpenMRS Platform < 2.24.0 - Insecure Object Deserialization
by Bishop Fox · Feb 5, 2019
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for CVE-2018-19276, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
How to detect CVE-2018-19276
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2018-19276 -u https://target- Template
- OpenMRS Platform < 2.24.0 - Insecure Object Deserialization
- Severity
- critical
- Impact
- Unauthenticated attackers can execute arbitrary system commands via insecure object deserialization, leading to complete server compromise and access to sensitive patient data.
- Remediation
- Upgrade to OpenMRS Platform version 2.24.0 or later.
Template by ProjectDiscovery nuclei-templates (DhiyaneshDK), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2018-19276 in your dependencies?
Find it across , including transitive dependencies.