CVE-2019-10074 Code injection in OFBiz

Critical 9.8 Published Updated

Remote code execution is possible in Apache OFBiz via Freemarker injection in textarea fields if encoding is disabled.

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-2019-10074?

CVE-2019-10074 is a critical code injection vulnerability in Apache Ofbiz, published on 11 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An RCE is possible by entering Freemarker markup in an Apache OFBiz Form Widget textarea field when encoding has been disabled on such a field. This was the case for the Customer Request "story" input in the Order Manager application. Encoding should not be disabled without good reason and never within a field that accepts user input. Mitigation: Upgrade to 16.11.06 or manually apply the following commit on branch 16.11: r1858533

Weakness: CWE-74, CWE-116

Which versions are affected by CVE-2019-10074?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2019-10074?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2019-10074 being exploited?

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

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-5wmc-72c6-q9wj.

Is CVE-2019-10074 in your software?

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

Check your SBOMs for free