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
0Fixed in: 1.14.17composer 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]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/simplesamlphp/simplesamlphp"]}'