SimpleSAMLphp saml2 incorrect signature validation
High severity
GitHub Reviewed
Published
May 14, 2022
to the GitHub Advisory Database
•
Updated Feb 6, 2024
Package
Affected versions
< 1.10.6
>= 2.0, < 2.3.8
>= 3.0, < 3.1.4
Patched versions
1.10.6
2.3.8
3.1.4
Description
Published by the National Vulnerability Database
Mar 5, 2018
Published to the GitHub Advisory Database
May 14, 2022
Reviewed
Jul 25, 2023
Last updated
Feb 6, 2024
HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation utilities, allowing an attacker to get invalid signatures accepted as valid by forcing an error during validation. This occurs because of a dependency on PHP functionality that interprets a -1 error code as a true boolean value.
References