CVE-2016-4462 Code injection in Apache OFBiz

High 8.8 Published Updated

A malicious logged-in user can inject Freemarker directives via URL parameters to achieve remote code execution in Apache OFBiz.

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

What is CVE-2016-4462?

CVE-2016-4462 is a high-severity code injection vulnerability in Apache Ofbiz, published on 30 Aug 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

By manipulating the URL parameter externalLoginKey, a malicious, logged in user could pass valid Freemarker directives to the Template Engine that are reflected on the webpage; a specially crafted Freemarker template could be used for remote code execution. Mitigation: Upgrade to Apache OFBiz 16.11.01

Weakness: CWE-20

Which versions are affected by CVE-2016-4462?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2016-4462?

No fix has been published for CVE-2016-4462 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-2016-4462 being exploited?

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

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-894g-mc9g-xgxq.

Is CVE-2016-4462 in your software?

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

Check your SBOMs for free