Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!

TUCoPS :: Linux :: Debian :: dsa-392.htm

webfs - buffer overflows, file and directory exposure

Debian Security Advisory

DSA-392-1 webfs -- buffer overflows, file and directory exposure

Date Reported:
29 Sep 2003
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CAN-2003-0832, CAN-2003-0833.
More information:

Jens Steube reported two vulnerabilities in webfs, a lightweight HTTP server for static content.

CAN-2003-0832 - When virtual hosting is enabled, a remote client could specify ".." as the hostname in a request, allowing retrieval of directory listings or files above the document root.

CAN-2003-0833 - A long pathname could overflow a buffer allocated on the stack, allowing execution of arbitrary code. In order to exploit this vulnerability, it would be necessary to be able to create directories on the server in a location which could be accessed by the web server. In conjunction with CAN-2003-0832, this could be a world-writable directory such as /var/tmp.

For the current stable distribution (woody) these problems have been fixed in version 1.17.2.

For the unstable distribution (sid) these problems have been fixed in version 1.20.

We recommend that you update your webfs package.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Intel IA-32:
Intel IA-64:
Motorola 680x0:
Big endian MIPS:
Little endian MIPS:
IBM S/390:
Sun Sparc:

MD5 checksums of the listed files are available in the original advisory.

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2015 AOH