Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Highly critical

MiniWeb HTTP Server Buffer Overflow and Directory Traversal

-

Release Date:  2008-01-16    Last Update:  2008-02-04    Views:  7,367

Secunia Advisory SA28512

Where:

From remote

Impact:

Exposure of system information, Exposure of sensitive information, DoS, System access

Solution Status:

Unpatched

CVE Reference(s):

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.

Further details available to Secunia VIM customers

Provided and/or discovered by:
Hamid Ebadi

Original Advisory:
http://www.bugtraq.ir/adv/miniweb_english.pdf

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: MiniWeb HTTP Server Buffer Overflow and Directory Traversal

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability