CVE-2022-25813 Server-Side Template Injection affecting the ecommerce plugin of Apache OFBiz
An anonymous attacker can achieve remote code execution in Apache OFBiz via Server-Side Template Injection in the ecommerce plugin's contact form.
- 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-2022-25813?
CVE-2022-25813 is a high-severity code injection vulnerability in Apache Ofbiz, published on 2 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Apache OFBiz, versions 18.12.05 and earlier, an attacker acting as an anonymous user of the ecommerce plugin, can insert a malicious content in a message “Subject” field from the "Contact us" page. Then a party manager needs to list the communications in the party component to activate the SSTI. A RCE is then possible.
Which versions are affected by CVE-2022-25813?
It affects 1 product.
Products include Apache Ofbiz.
How do I fix CVE-2022-25813?
No fix has been published for CVE-2022-25813 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-2022-25813 being exploited?
There is no known exploitation of CVE-2022-25813 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Apache Ofbiz
- CVE-2024-45195 Apache OFBiz Forced Browsing
- CVE-2024-32113 Apache OFBiz Path Traversal
- CVE-2024-38856 Apache OFBiz Incorrect Authorization
- CVE-2013-2250 Code injection in n/a
- CVE-2012-3506 Unspecified vulnerability in the Apache Open For Business Project (aka OFBiz) 10.04.x before 10.04.03 has unknown impact and attack vectors.
Sources
Also known as GHSA-wrch-3crx-rcpq.