Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Debian GNU/Linux Advisory: webfs

Sep 29, 2003, 19:55 (0 Talkback[s])

Debian Security Advisory DSA 392-1 security@debian.org
http://www.debian.org/security/ Matt Zimmerman
September 29th, 2003 http://www.debian.org/security/faq

Package : webfs
Vulnerability : buffer overflows, file and directory exposure
Problem-Type : remote
Debian-specific : no
CVE Ids : CAN-2003-0832 CAN-2003-0833

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.

Upgrade Instructions


wget url

will fetch the file for you
dpkg -i file.deb

will install the referenced file.

If you are using the apt-get package manager, use the line for sources.list as given below:

apt-get update

will update the internal database apt-get upgrade

will install corrected packages

You may use an automated update by adding the resources from the footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody


Source archives:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2.dsc
Size/MD5 checksum: 472 153815a86bd259abeef914eb07f69a7e
http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2.tar.gz
Size/MD5 checksum: 41433 6d7d436dd741af465ea8d56198d88e1c

Alpha architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_alpha.deb
Size/MD5 checksum: 37868 2962105934605ff0a4f844177569a42a

ARM architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_arm.deb
Size/MD5 checksum: 34320 b2300fded545dc60c0a4f7e3d4fb0dac

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_i386.deb
Size/MD5 checksum: 32674 af563da11508475b4bd231db2776be11

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_ia64.deb
Size/MD5 checksum: 45916 7b7c7ff929c301125d7eafde39bfcdad

HP Precision architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_hppa.deb
Size/MD5 checksum: 35932 85d63d5c1cb13eda0ded799ab419e3ad

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_m68k.deb
Size/MD5 checksum: 31294 b141772b9a8c47354b00d4ac1f35a1db

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_mips.deb
Size/MD5 checksum: 34952 09b5b96448f4ca390c881fa9bb48aa52

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_mipsel.deb
Size/MD5 checksum: 34920 f4f8503528246a1f0b5d976056b622e9

PowerPC architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_powerpc.deb
Size/MD5 checksum: 33562 e112bf5dcf91ef2379f077cd6fd2ecb2

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_s390.deb
Size/MD5 checksum: 34670 24f10a95258a47475b752f12516e0515

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/w/webfs/webfs_1.17.2_sparc.deb
Size/MD5 checksum: 36632 868ccfc05924a7cb53b3c16b666cb9af

These files will probably be moved into the stable distribution on its next revision.


For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>