CVE-2021-46104
published 2022-01-19CVE-2021-46104: An issue was discovered in webp_server_go 0.4.0. There is a directory traversal vulnerability that can read arbitrary file information on the server.
PriorityP353high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EXPLOIT
EPSS
4.23%
89.8th percentile
An issue was discovered in webp_server_go 0.4.0. There is a directory traversal vulnerability that can read arbitrary file information on the server.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| webp | webp_server_go | — | — |
Detection & IOCsextracted from sources · hover to see the quote
url/%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↗
yara↗
rule CVE_2021_46104_webp_path_traversal { strings: $traversal = /%252e%252e%252f/ condition: $traversal }- →Look for HTTP GET requests containing double URL-encoded path traversal sequences (%252e%252e%252f) targeting the webp_server_go service. ↗
- →A successful exploit response will return HTTP 200 and a body matching the regex 'root:.*:0:0', indicating /etc/passwd was read. ↗
- →Shodan query 'http.html:"Webp"' can be used to identify exposed webp_server_go instances for proactive scanning. ↗
- ·The exploit uses double URL encoding (%25 encoding of the percent sign) to bypass path sanitization; single-encoded traversal sequences may not trigger the vulnerability. ↗
- ·The vulnerability is specific to webp_server_go version 0.4.0; version 0.4.1 and later include proper path sanitization. ↗
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Nuclei
webp_server_go 0.4.0 - Path Traversal
nuclei·CVSS 7.5
CVE-2021-46104 [HIGH] webp_server_go 0.4.0 - Path Traversal
webp_server_go 0.4.0 - Path Traversal
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.
Template:
id: CVE-2021-46104
info:
name: webp_server_go 0.4.0 - Path Traversal
author: pikpikcu
severity: high
description: |
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.
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 prop
No writeups or analysis indexed.
2022-01-19
Published