Apache HTTP Server 403 Error Page UTF-7 Encoded XSS

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


Synopsis :

The web server running on the remote host has a cross-site scripting
vulnerability.

Description :

According to its banner, the version of Apache HTTP Server running on
the remote host can be used in cross-site scripting (XSS) attacks.
Making a specially crafted request can inject UTF-7 encoded script
code into a 403 response page, resulting in XSS attacks.

This is actually a web browser vulnerability that occurs due to
non-compliance with RFC 2616 (refer to BID 29112). Apache HTTP Server
is not vulnerable, but its default configuration can trigger the
non-compliant, exploitable behavior in vulnerable browsers.

See also :

http://archives.neohapsis.com/archives/bugtraq/2008-05/0122.html
http://archives.neohapsis.com/archives/bugtraq/2008-05/0184.html

Solution :

Upgrade to Apache HTTP Server 2.2.8 / 2.0.63 / 1.3.41 or later.
These versions use a default configuration setting that prevents
exploitation in vulnerable web browsers.

Risk factor :

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

Family: Web Servers

Nessus Plugin ID: 17696 ()

Bugtraq ID: 29112

CVE ID: CVE-2008-2168