CVE-2008-0338 Path traversal in n/a
Remote attackers can read arbitrary files and list directories in MiniWeb HTTP Server via encoded dot-dot sequences in the URI.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2008-0338?
CVE-2008-0338 is a medium-severity path traversal vulnerability in n/a, published on 17 Jan 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Directory traversal vulnerability in the mwGetLocalFileName function in http.c in MiniWeb HTTP Server 0.8.19 allows remote attackers to read arbitrary files and list arbitrary directories via a (1) .%2e (partially encoded dot dot) or (2) %2e%2e (encoded dot dot) in the URI.
Weakness: CWE-22
Which versions are affected by CVE-2008-0338?
It affects 1 product.
Products include Miniweb Http Server Miniweb Http Server.
How do I fix CVE-2008-0338?
No fix has been published for CVE-2008-0338 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2008-0338 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-0338 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-m4mr-h478-pp3f.