SimpleSAMLphp logout.php link_href Parameter XSS

Medium Nessus Plugin ID 57635

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.

Solution

Upgrade to version 1.8.2 or later.

See Also

https://code.google.com/archive/p/simplesamlphp/issues/468

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

Plugin Details

Severity: Medium

ID: 57635

File Name: simplesamlphp_logout_xss.nasl

Version: 1.10

Type: remote

Published: 2012/01/23

Modified: 2018/11/15

Dependencies: 57634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 4.3

Temporal Score: 3.7

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

Temporal Vector: CVSS2#E:H/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:simplesamlphp:simplesamlphp

Required KB Items: www/PHP, www/simplesamlphp

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: false

Exploit Ease: No exploit is required

Patch Publication Date: 2012/01/10

Vulnerability Publication Date: 2012/01/09

Reference Information

CVE: CVE-2012-0908

BID: 51372

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