CRITICAL9.1
GHSA-r8v4-7vwj-983x
SimpleSAMLphp SAML2 spoof SAML responses
Quick fix
GHSA-r8v4-7vwj-983x — simplesamlphp/saml2: upgrade to the fixed version with the command below.
composer require simplesamlphp/saml2:^1.10.3Details
The validateSignature method in the SAML2\Utils class in SimpleSAMLphp before 1.14.10 and simplesamlphp/saml2 library before 1.9.1, 1.10.x before 1.10.3, and 2.x before 2.3.3 allows remote attackers to spoof SAML responses or possibly cause a denial of service (memory consumption) by leveraging improper conversion of return values to boolean.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/simplesamlphp/saml2
Introduced in:
1.10Fixed in: 1.10.3Fix
composer require simplesamlphp/saml2:^1.10.3Packagist/simplesamlphp/saml2
Introduced in:
0Fixed in: 1.8.1Fix
composer require simplesamlphp/saml2:^1.8.1Packagist/simplesamlphp/saml2
Introduced in:
1.9.0Fixed in: 1.9.1Fix
composer require simplesamlphp/saml2:^1.9.1Packagist/simplesamlphp/saml2
Introduced in:
2.0Fixed in: 2.3.3Fix
composer require simplesamlphp/saml2:^2.3.3References
- https://nvd.nist.gov/vuln/detail/CVE-2016-9814[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/saml2/CVE-2016-9814.yaml[WEB]
- https://github.com/simplesamlphp/simplesamlphp[PACKAGE]
- https://lists.debian.org/debian-lts-announce/2018/03/msg00001.html[WEB]
- https://simplesamlphp.org/security/201612-01[WEB]
- http://www.securityfocus.com/bid/94730[WEB]