Secunia Security Advisory - Hamid Ebadi has discovered two vulnerabilities in MiniWeb HTTP Server, which can be exploited by malicious people to disclose sensitive information, to cause a DoS (Denial of Service), or to potentially compromise a vulnerable system.
934c5ee46e3029f56427237da8e494726703dbe7d048b9fa2af124b123a28b20
----------------------------------------------------------------------
A new version (0.9.0.0 - Release Candidate 1) of the free Secunia PSI
has been released. The new version includes many new and advanced
features, which makes it even easier to stay patched.
Download and test it today:
https://psi.secunia.com/
Read more about this new version:
https://psi.secunia.com/?page=changelog
----------------------------------------------------------------------
TITLE:
MiniWeb HTTP Server Buffer Overflow and Directory Traversal
SECUNIA ADVISORY ID:
SA28512
VERIFY ADVISORY:
http://secunia.com/advisories/28512/
CRITICAL:
Highly critical
IMPACT:
Exposure of system information, Exposure of sensitive information,
DoS, System access
WHERE:
>From remote
SOFTWARE:
MiniWeb HTTP Server 0.x
http://secunia.com/product/14459/
DESCRIPTION:
Hamid Ebadi has discovered two vulnerabilities in MiniWeb HTTP
Server, which can be exploited by malicious people to disclose
sensitive information, to cause a DoS (Denial of Service), or to
potentially compromise a vulnerable system.
1) A boundary error exists within the "_mwProcessReadSocket()"
function in http.c. This can be exploited to cause a heap-based
buffer overflow via a URL that is 3600-4000 characters long.
Successful exploitation of this vulnerability allows performing a DoS
(Denial of Service) or the potential execution of arbitrary code.
2) Input passed in the URL to the "mwGetLocalFileName()" function in
http.c is not properly sanitised before being used. This can be
exploited to display arbitrary files with directory traversal attacks
of the form ".%2e/.%2e/" or "%2e%2e/%2e%2e/".
The vulnerabilities are confirmed in version 0.8.19. Other versions
may also be affected.
SOLUTION:
Restrict access to the web service.
Use another product.
PROVIDED AND/OR DISCOVERED BY:
Hamid Ebadi
ORIGINAL ADVISORY:
http://www.bugtraq.ir/adv/miniweb_english.pdf
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------