SimpleSAMLphp logout.php link_href Parameter XSS

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


Synopsis :

The remote web server hosts a PHP application that contains a
cross-site scripting vulnerability.

Description :

The version of SimpleSAMLphp on the remote host contains a cross-site
scripting vulnerability because it fails to sanitize input to the
'link_href' parameter of the 'logout.php' script before including it
in a web page.

An attacker can leverage this issue by enticing a user to follow a
malicious URL, causing attacker-specified script code to run inside
the user's browser in the context of the affected site. Information
harvested this way may aid in launching further attacks.

Versions of SimpleSAMLphp containing this vulnerability may also
contain another cross-site scripting vulnerability in no_cookie.php,
but this script did not test for that.

See also :

http://code.google.com/p/simplesamlphp/issues/detail?id=468
http://code.google.com/p/simplesamlphp/source/detail?r=3009

Solution :

Upgrade to version 1.8.2 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 : 3.6
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: CGI abuses : XSS

Nessus Plugin ID: 57635 ()

Bugtraq ID: 51372

CVE ID: CVE-2012-0908