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

high Nessus Plugin ID 15229

Synopsis

The remote Debian host is missing a security-related update.

Description

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.

Solution

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

We recommend that you update your webfs package.

See Also

http://www.debian.org/security/2003/dsa-392

Plugin Details

Severity: High

ID: 15229

File Name: debian_DSA-392.nasl

Version: 1.25

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:3.0, p-cpe:/a:debian:debian_linux:webfs

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/29/2003

Vulnerability Publication Date: 9/30/2003

Reference Information

CVE: CVE-2003-0832, CVE-2003-0833

BID: 8724, 8726

DSA: 392