PT-2020-20969 · Simplesamlphp · Simplesamlphp

Published

2020-01-24

·

Updated

2020-01-24

CVSS v3.1

3.7

Low

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions SimpleSAMLphp versions prior to 1.14.4
Description The issue concerns several scripts in SimpleSAMLphp that display web pages with links obtained from request parameters, enhancing usability by presenting users with links to follow after completing certain actions. However, scripts like www/logout.php and modules/core/www/no cookie.php did not check URLs obtained via HTTP requests before displaying them as link targets. This allowed attackers to display links to malicious websites within a trusted site running SimpleSAMLphp due to the lack of security checks on link href and retryURL HTTP parameters. The issue was resolved by verifying URLs against a whitelist of websites specified in the trusted.url.domains configuration option. A remote attacker could craft a link pointing to a trusted website running SimpleSAMLphp, including a parameter pointing to a malicious website, attempting to fool the victim into visiting that website by clicking on a link presented by SimpleSAMLphp.
Recommendations Upgrade to version 1.14.4 or later to resolve the issue. As a temporary workaround, consider restricting access to the www/logout.php and modules/core/www/no cookie.php scripts until the upgrade is applied. Additionally, ensure the trusted.url.domains configuration option is properly set to minimize the risk of exploitation.

Fix

Special Elements Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

GHSA-2R3V-Q9X3-7G46

Affected Products

Simplesamlphp