PT-2017-3194 · Openmrs · Openmrs Reference Application+1

Published

2017-09-12

·

Updated

2017-11-21

·

CVE-2017-12796

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions OpenMRS Reference Application versions prior to 2.6.1 Reporting Compatibility Add On versions prior to 2.0.4
Description The issue is related to the lack of authentication when deserializing XML input into ReportSchema objects. This allows remote unauthenticated users to execute operating system commands by crafting malicious XML payloads. The exploitation can be demonstrated by sending a specially crafted XML file to the /admin/reports/reportSchemaXml.form page.
Recommendations For OpenMRS Reference Application versions prior to 2.6.1, update to version 2.6.1 or later. For Reporting Compatibility Add On versions prior to 2.0.4, update to version 2.0.4 or later. As a temporary workaround, consider restricting access to the /admin/reports/reportSchemaXml.form page to prevent exploitation.

Exploit

Fix

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2017-02619
CVE-2017-12796

Affected Products

Openmrs Reference Application
Reporting Compatibility Add On