Secunia Logo
 
webfs Directory Traversal and Pathname Buffer Overflow
Secunia Advisory: SA9879
Release Date: 2003-09-30
Popularity: 5,592 views

Critical:
Moderately critical
Impact: Exposure of system information
Exposure of sensitive information
Privilege escalation
Where: From remote
Solution Status: Vendor Patch

Software:webfs 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2003-0832
CVE-2003-0833


Description:
Two vulnerabilities have been reported in webfs, which can be exploited by malicious people to disclose the contents of arbitrary files or by malicious, local users to escalate their privileges.

It is possible to conduct a directory traversal attack by specifying ".." as a hostname when virtual hosting is enabled. This may disclose the contents of arbitrary files outside the web root.

There is a boundary error in "ls.c" when handling pathnames. This can be exploited to cause a buffer overflow by constructing an overly long, specially crafted pathname.

Successful exploitation may allow execution of arbitrary code with the privileges of the web server but requires that a malicious, local user has write privileges to a directory readable by the web server.

Solution:
Update to version 1.20:
http://bytesex.org/misc/webfs_1.20.tar.gz

Provided and/or discovered by:
Jens Steube

Original Advisory:
Product changelog.


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 146 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 89 views
3. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 79 views
4. VMware ESX / ESXi Virtual Hardware Memory Corruption Vulnerability // 54 views
5. SquirrelMail Malformed HTML Mail Message Script Insertion // 44 views
6. mvnForum Unspecified Cross-Site Scripting and Request Forgery // 38 views
7. VMware ESX Server update for bzip2 // 38 views
8. Mozilla Firefox 3 Multiple Vulnerabilities // 37 views
9. Sunbyte e-Flower "id" SQL Injection Vulnerability // 34 views
10. Movable Type Unspecified Cross-Site Scripting Vulnerability // 33 views