[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 550/03 - Debian - remote buffer overflows, file and directory exposure in webfs



 
-----BEGIN PGP SIGNED MESSAGE-----

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 550/03 dated 02.10.03  Time: 10:33
 UNIRAS is part of NISCC(National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

Debian Security Advisory:

remote buffer overflows, file and directory exposure in webfs

Detail
====== 

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 392-1                     security@xxxxxxxxxx
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@xxxxxxxxxxxxxxxx
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/eFPmArxCt0PiXR4RAuXiAJ9YkloLy2kIqR4Yq/Z+GX8MNe9GmwCgvWWw
0qQIFYBKrJKCvv6mlAqa8VQ=
=NQed
- -----END PGP SIGNATURE-----

- ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via EMail to:
uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 20 7821 1330 Ext 4511
Fax: +44 (0) 20 7821 1686

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 20 7821 1330 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Debian for the information
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQCVAwUBP3vwu4pao72zK539AQHQswP/Wsr4LgsMd5ECoG9WMR5215UXg0NF3q9H
HE6jqKD3zkDPTQwYvxaFFlFtz0Hod/lJaHQtYk/KSlwSE0+Y8F/0xtl/a28NhUSu
gLux7/ai+h1Wq7gKTsR2DCJ38xEuYmnKveWfweg8mVySLZlC2Mi9lDNemuZ+FiI5
DalcavtQ24o=
=zgI+
-----END PGP SIGNATURE-----