Cyber Resilience

CVE-2022-25813

HighRCE

Published: 02 September 2022

Published
02 September 2022
Modified
21 November 2024
KEV Added
Patch
02 September 2022
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.5426 98.1th percentile
Risk Priority 48 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-25813 is a high-severity Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336) vulnerability in Apache Ofbiz. Its CVSS base score is 7.5 (High).

Operationally, ranked in the top 1.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

Apache OFBiz versions 18.12.05 and earlier contain a server-side template injection vulnerability (CWE-1336, CWE-94) in the ecommerce plugin. An unauthenticated attacker can supply attacker-controlled data to the Subject field on the Contact Us page; when a party manager subsequently views the stored communication through the party component, the template engine evaluates the input and permits remote code execution.

The attack requires no authentication for the initial submission and succeeds over the network with low complexity, as reflected in the CVSS 7.5 rating. Successful exploitation grants the attacker the ability to execute arbitrary code on the server, though the immediate impact is limited to integrity effects rather than direct confidentiality or availability loss.

Public advisories published on the Apache OFBiz mailing list and oss-security in September 2022 describe the issue and point to updated releases that correct the input handling. The EPSS score reached a peak of 0.6035 and currently sits at 0.5426, indicating sustained moderate exploitation interest after disclosure.

EU & UK References

Vulnerability details

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…

more

the communications in the party component to activate the SSTI. A RCE is then possible.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

apache
ofbiz
≤ 18.12.06

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-94

Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.

addresses: CWE-94

Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.

addresses: CWE-94

Validates inputs used in dynamic code generation to block injected directives.

addresses: CWE-94

Directly prevents execution of attacker-supplied code written into data memory regions.

References