Yaws Web Server .yaws Script Null Byte Request Source Code Disclosure

This script is Copyright (C) 2005-2011 Tenable Network Security, Inc.


Synopsis :

The remote web server is affected by an information disclosure flaw.

Description :

The remote host is running the Yaws web server.

The remote version of this software is vulnerable to a source code
disclosure issue. By requesting a '.yaws' script following by %00, an
attacker may force the remote server to disclose the source code of
that script.

Since scripts may contain sensitive information such as logins and
passwords, an attacker may exploit this flaw to obtain some
credentials on the remote host or a better understanding of the
security of the '.yaws' scripts.

See also :

http://marc.info/?l=bugtraq&m=111927717726371&w=2

Solution :

Upgrade to YAWS 1.56 or newer.

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N)
CVSS Temporal Score : 4.3
(CVSS2#E:H/RL:OF/RC:C)
Public Exploit Available : true

Family: Web Servers

Nessus Plugin ID: 18522 ()

Bugtraq ID: 13981

CVE ID: CVE-2005-2008