Critical severity · published Oct 23, 2017
CVE-2017-12796
The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input…
9.8
CVSS
4.2%
EPSS
No
On KEV
Description
The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input into ReportSchema objects. The result is that remote unauthenticated users are able to execute operating system commands by crafting malicious XML payloads, as demonstrated by a single admin/reports/reportSchemaXml.form request.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)4.2% · higher than 91% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
Openmrs · Openmrs
before 2.6.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-12796
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-12796
Exploit
https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.html
Vendor Advisory
https://talk.openmrs.org/t/critical-security-advisory-2017-09-12/13291
Release Notes
https://wiki.openmrs.org/display/RES/Release+Notes+2.6.1
More from Openmrs
9.8
CVE-2021-43094
An SQL Injection vulnerability exists in OpenMRS Reference Application Standalone Edition <=2.11 and Platform Standalone Edition <=2.4.0 via GET requests on arbitrary parameters…
9.8
CVE-2018-19276
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…
8.8
CVE-2026-40076
OpenMRS Core arbitrary file write and code execution via Zip Slip in module upload
8.0
CVE-2025-25928
A Cross-Site Request Forgery (CSRF) in the component /admin/users/user.form of Openmrs 2.4.3 Build 0ff0ed allows attackers to execute arbitrary operations via a crafted request
7.5
CVE-2026-40075
OpenMRS Core arbitrary file read via path traversal in ModuleResourcesServlet
