Advanced Guestbook User-Agent Header HTML Injection

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


Synopsis :

The remote web server contains a PHP script that is vulnerable to a
cross-site scripting issue.

Description :

The remote host is running Advanced Guestbook, a free guestbook
written in PHP.

The installed version of Advanced Guestbook fails to properly sanitize
the 'HTTP_USER_AGENT' environment variable before using it in
dynamically-generated content. An attacker can exploit this flaw to
launch cross-site scripting attacks against the affected application.

See also :

http://proxy2.de/forum/viewtopic.php?t=4144

Solution :

Upgrade to Advanced Guestbook version 2.3.3 or later.

Risk factor :

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

Family: CGI abuses : XSS

Nessus Plugin ID: 19308 (advanced_guestbook_user_agent_xss.nasl)

Bugtraq ID: 14391

CVE ID: