#VU74610 Server-side template injection in OFBiz - CVE-2022-25813


Vulnerability identifier: #VU74610

Vulnerability risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2022-25813

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
OFBiz
Other software / Other software solutions

Vendor: Apache Foundation

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation within the ecommerce plugin. A remote attacker can inject malicious content via the message “Subject” field from the "Contact us" page and execute arbitrary code on the system, when a party manager lists communications in the party component.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

OFBiz: 4.0 - 18.12.05


External links
https://lists.apache.org/thread/vmj5s0qb59t0lvzf3vol3z1sc3sgyb2b
https://www.openwall.com/lists/oss-security/2022/09/02/4
https://github.com/apache/ofbiz-framework/commit/843b1c7e71
https://github.com/apache/ofbiz-framework/commit/3797e60375
https://github.com/apache/ofbiz-framework/commit/b24dcff344
https://github.com/apache/ofbiz-framework/commit/871ce2aa2e
https://github.com/apache/ofbiz-plugins/commit/829e1ca53
https://github.com/apache/ofbiz-framework/commit/16ed130367
https://github.com/apache/ofbiz-framework/commit/5cc45e8701


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability