SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding
simplesamlphp saml2
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| simplesamlphp/saml2 Packagist |
|
|
| simplesamlphp/saml2-legacy Packagist |
|
|
simplesamlphp saml2
| Product | Affected | Fixed in |
|---|---|---|
| simplesamlphp/saml2 Packagist |
|
|
| simplesamlphp/saml2-legacy Packagist |
|
|
The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. Prior to versions 4.17.0 and 5.0.0-alpha.20, there is a signature confusion attack in the HTTPRedirect binding. An attacker with any signed SAMLResponse via the HTTP-Redirect binding can cause the application to accept an unsigned message. Versions 4.17.0 and 5.0.0-alpha.20 contain a fix for the issue.
From the CVE record · GitHub_M
The HTTPRedirect binding in affected SimpleSAMLphp SAML2 packages is vulnerable to signature confusion. An attacker who has any signed SAMLResponse via the HTTP-Redirect binding can cause an application to accept an unsigned message.
Check applications using Packagist simplesamlphp/saml2 versions below 4.17.0 or from 5.0.0-alpha.1 through versions before 5.0.0-alpha.20, or simplesamlphp/saml2-legacy versions below 4.17.0.