cbcvebase.
CVE-2024-45507
published 2024-09-04

CVE-2024-45507: Server-Side Request Forgery (SSRF), Improper Control of Generation of Code ('Code Injection') vulnerability in Apache OFBiz. This issue affects Apache OFBiz…

PriorityP192critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
93.38%
99.8th percentile
Server-Side Request Forgery (SSRF), Improper Control of Generation of Code ('Code Injection') vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.16. Users are recommended to upgrade to version 18.12.16, which fixes the issue.

Affected

3 ranges
VendorProductVersion rangeFixed in
apacheofbiz< 18.12.1618.12.16
apacheofbiz
apache_software_foundationapache_ofbiz< 18.12.1618.12.16

Detection & IOCsextracted from sources · hover to see the quote

url/webtools/control/view/StatsSinceStart
otherstatsDecoratorLocation=http%3a//oast.fun/x%3fb64_body%3d{{urlencode(urlencode(base64(xml)))}}
otherStatsScreens
  • Detect exploit attempts by monitoring POST requests to /webtools/control/view/StatsSinceStart with a body containing the 'statsDecoratorLocation' parameter pointing to an external host — this is the SSRF/RCE trigger endpoint.
  • Successful exploitation returns a response body containing the string 'StatsScreens'; use this as a confirmation indicator in combination with the POST to the vulnerable endpoint.
  • Shodan query 'ofbiz.visitor=' can be used to identify exposed Apache OFBiz instances; correlate with inbound exploit traffic to the vulnerable path.
  • The vulnerability is exploitable with no valid credentials (unauthenticated); alert on POST requests to /webtools/control/view/* paths from unauthenticated sessions (no valid session cookie).
  • The attack uses SSRF via the 'statsDecoratorLocation' parameter with a base64+URL-encoded XML payload; inspect POST bodies for this parameter containing external URLs or OOB interaction hostnames.
  • Fixed in commit ffb1bc4879 in version 18.12.16; systems running Apache OFBiz before 18.12.16 are vulnerable and should be prioritized for patching.
  • ·The exploit payload uses a base64+double-URL-encoded XML body delivered via the 'statsDecoratorLocation' parameter; detection rules inspecting POST bodies must decode URL encoding to reliably identify malicious payloads.
  • ·The vulnerability affects both Linux and Windows deployments of Apache OFBiz; detection and patching scope should cover all OS platforms.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
vendor_apache9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.