CVE-2017-12796 Deserialization in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary OS commands via malicious XML deserialization in the OpenMRS Reporting Compatibility Add On.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-12796?

CVE-2017-12796 is a critical unsafe deserialization vulnerability in n/a, published on 23 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-502

Which versions are affected by CVE-2017-12796?

It affects 1 product.

Products include Openmrs Openmrs.

How do I fix CVE-2017-12796?

No fix has been published for CVE-2017-12796 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2017-12796 being exploited?

There is no known exploitation of CVE-2017-12796 in the wild and no public exploit code.

Sources

Also known as GHSA-q5p3-m74j-g94p.

Is CVE-2017-12796 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free