Server-side template injection in OFBiz - CVE-2022-25813
Published: April 10, 2023
OFBiz
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.
Remediation
External links
- https://lists.apache.org/thread/vmj5s0qb59t0lvzf3vol3z1sc3sgyb2b
- http://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