PT-2017-3194
CVE-2017-12796
·
Published
2017-09-12
·
Updated
2017-11-21
Description by
CVSS 2.0
10
CriticalMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾