HIGH8.1
GHSA-j4qf-3w33-8cgc
SimpleSAMLphp Signature validation bypass
Quick fix
GHSA-j4qf-3w33-8cgc — simplesamlphp/simplesamlphp: upgrade to the fixed version with the command below.
composer require simplesamlphp/simplesamlphp:^1.14.17Details
A signature-validation bypass issue was discovered in SimpleSAMLphp through 1.14.16. A SimpleSAMLphp Service Provider using SAML 1.1 will regard as valid any unsigned SAML response containing more than one signed assertion, provided that the signature of at least one of the assertions is valid. Attributes contained in all the assertions received will be merged and the entityID of the first assertion received will be used, allowing an attacker to impersonate any user of any IdP given an assertion signed by the targeted IdP.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/simplesamlphp/simplesamlphp
Introduced in:
0Fixed in: 1.14.17Fix
composer require simplesamlphp/simplesamlphp:^1.14.17References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18122[ADVISORY]
- https://github.com/simplesamlphp/simplesamlphp/commit/e2d53086abbb253efb24ddcb49b116246eb0b6ca[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-18122.yaml[WEB]
- https://github.com/simplesamlphp/simplesamlphp[PACKAGE]
- https://lists.debian.org/debian-lts-announce/2018/02/msg00008.html[WEB]
- https://simplesamlphp.org/security/201710-01[WEB]
- https://www.debian.org/security/2018/dsa-4127[WEB]