SecurityContext

CVE-2017-12796: OpenMRS Reporting Compatibility Add On - Remote Code Execution

  • Cve: CVE-2017-12796
  • Name: OpenMRS Reporting Compatibility Add On - Remote Code Execution
  • 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.
  • Impact: Unauthenticated attackers can execute arbitrary OS commands, leading to remote code execution and potential full system compromise.
  • Remediation: Update to version 2.0.4 or later to fix the deserialization authentication issue.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.04244
  • Epss percentile: 0.91282
  • Assignee: [email protected]
  • Published at: 2017-10-23T04:29:00Z
  • Age in days: 3319
  • Modified at: 2026-06-17T01:03:57Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12796
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-502Deserialization of Untrusted Data

Public exploits

UrlSourceAdded date
https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.htmlnvd2017-10-23

References

Same in every row:

  • Source: nvd
UrlTags
https://talk.openmrs.org/t/critical-security-advisory-2017-09-12/13291Vendor Advisory
https://wiki.openmrs.org/display/RES/Release+Notes+2.6.1Release Notes, Vendor Advisory
https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.htmlExploit

Products

ProductAffectedPlatform boundSourcesUrl
openmrs:openmrs< 2.6.1nonvd/v1/products/openmrs/openmrs

Projects

RepositoryLink kindsIndexedUrl
openmrs/openmrs-corefixyes/v1/repositories/openmrs/openmrs-core

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2017-10-23
  • Remote: yes
  • Exposed hosts: 349
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports