cbcvebase.
CVE-2022-47501
published 2023-04-14

CVE-2022-47501: Arbitrary file reading vulnerability in Apache Software Foundation Apache OFBiz when using the Solr plugin. This is a pre-authentication attack. This issue…

PriorityP277high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
10.18%
95.1th percentile
Arbitrary file reading vulnerability in Apache Software Foundation Apache OFBiz when using the Solr plugin. This is a pre-authentication attack. This issue affects Apache OFBiz: before 18.12.07.

Affected

3 ranges
VendorProductVersion rangeFixed in
apacheofbiz< 18.12.0718.12.07
apacheofbiz
apache_software_foundationapache_ofbiz>= 18.12.06 < 18.12.0718.12.07

Detection & IOCsextracted from sources · hover to see the quote

url/solr/solrdefault/debug/dump?param=ContentStreams&stream.url=file://{{path}}
path/etc/passwd
pathc:/windows/win.ini
  • Detect exploitation attempts by monitoring GET requests to the Solr debug dump endpoint containing a 'stream.url=file://' parameter, indicating a local file inclusion attempt via the Solr plugin.
  • On Linux targets, a successful exploit response body will match the regex pattern 'root:.*:0:0:' (contents of /etc/passwd), with HTTP 200 status.
  • On Windows targets, a successful exploit response body will contain 'bit app support', 'fonts', and 'extensions' (contents of win.ini), with HTTP 200 status.
  • Identify Apache OFBiz instances via Shodan using the query html:"OFBiz" or http.html:"ofbiz", or by the presence of the ofbiz.visitor= cookie.
  • Identify Apache OFBiz instances via FOFA using the query app="Apache_OFBiz", body="ofbiz", or app="apache_ofbiz".
  • This is a pre-authentication (unauthenticated) attack; no session or credentials are required to exploit the vulnerability.
  • ·The vulnerability only affects Apache OFBiz instances with the Solr plugin enabled. Instances without the Solr plugin are not exploitable via this vector.
  • ·Only Apache OFBiz versions before 18.12.07 are affected. The fix was introduced in version 18.12.07 via commit 582add7d3.

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
osv5.5MEDIUM
vulncheck7.5HIGH
vendor_apache7.5HIGH
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.