vendor:
MiniWeb
by:
Hamid Ebadi
7.5
CVSS
HIGH
Directory Traversal and Heap Based Buffer Overflow
22, 119
CWE
Product Name: MiniWeb
Affected Version From: MiniWeb 0.8.19
Affected Version To: MiniWeb 0.8.19
Patch Exists: NO
Related CWE: N/A
CPE: a:stanley_huang:miniweb
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: POSIX complaint OS, like Linux, as well as Microsoft Windows
2005
MiniWeb Multiple Vulnerabilities
An input validation error in the URL request handling in mwGetLocalFileName() function (http.c) can be exploited to disclose arbitrary files (and also Directory listing) outside the web root via directory traversals attacks via the " /.%2e/" or "/%2e%2e/" sequences. There is also heap based buffer overflow in this web server. The vulnerability is caused due to a boundary error in _mwProcessReadSocket() function (http.c) when handling HTTP requests. This can be exploited by sending an overly long, specially crafted request, which can cause a heap overflow and allow arbitrary code execution with the privileges of the web service.
Mitigation:
Edit the source code