SimpleSAMLphp logout.php link_href Parameter XSS

medium Nessus Plugin ID 57635
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.11

Type: remote

Published: 1/23/2012

Updated: 1/19/2021

Dependencies: simplesamlphp_detect.nasl

Risk Information

VPR

Risk Factor: Low

Score: 3

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Temporal Vector: 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 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, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990