SimpleSAMLphp logout.php link_href Parameter XSS

medium Nessus Plugin ID 57635


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


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.


Upgrade to version 1.8.2 or later.

See Also

Plugin Details

Severity: Medium

ID: 57635

File Name: simplesamlphp_logout_xss.nasl

Version: 1.12

Type: remote

Published: 1/23/2012

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information


Risk Factor: Low

Score: 3.0


Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Vulnerability Information

CPE: cpe:/a:simplesamlphp:simplesamlphp

Required KB Items: www/PHP, www/simplesamlphp

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 1/10/2012

Vulnerability Publication Date: 1/9/2012

Reference Information

CVE: CVE-2012-0908

BID: 51372

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990