Debian Security Advisory
DSA-392-1 webfs -- buffer overflows, file and directory exposure
- Date Reported:
- 29 Sep 2003
- Affected Packages:
- webfs
- Vulnerable:
- Yes
- Security database references:
- In the Bugtraq database (at SecurityFocus): BugTraq ID 8724, BugTraq ID 8726.
In Mitre's CVE dictionary: CVE-2003-0832, CVE-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)
- Source:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2.dsc
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2.tar.gz
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2.tar.gz
- Alpha:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_alpha.deb
- ARM:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_arm.deb
- Intel IA-32:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_i386.deb
- Intel IA-64:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_ia64.deb
- HPPA:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_hppa.deb
- Motorola 680x0:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_m68k.deb
- Big endian MIPS:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_mips.deb
- Little endian MIPS:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_mipsel.deb
- PowerPC:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_powerpc.deb
- IBM S/390:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_s390.deb
- Sun Sparc:
- http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_sparc.deb
MD5 checksums of the listed files are available in the original advisory.