Description
SimpleSAMLphp SAML2 library before 5.0.14, 6.1.11, 6.2.9, 6.3.5, and 7.0.0-rc6 contains a signature verification bypass in HTTPRedirect::receive(), which checks signatures against a public test key. Remote unauthenticated attackers can sign SAMLRequest or SAMLResponse query strings with the publicly distributed private key to forge LogoutRequests or AuthnRequests attributed to trusted peers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SimpleSAMLphp | Saml2 | 5.0.0 <5.0.14 | — |
| SimpleSAMLphp | Saml2 | 6.3.0 <6.3.5 | — |
| SimpleSAMLphp | Saml2 | 7.0.0-rc1 <7.0.0-rc6 | — |
| SimpleSAMLphp | Saml2 | 6.0.0 <6.1.11 | — |
| SimpleSAMLphp | Saml2 | 6.2.0 <6.2.9 | — |
References
- https://github.com/simplesamlphp/saml2/security/advisories/GHSA-h8fv-vm7c-r6fh
- https://github.com/simplesamlphp/saml2/blob/v6.3.4/src/Binding/HTTPRedirect.php#L199-L210
- https://github.com/simplesamlphp/saml2/commit/7f3182e43dd5cc25a44f3f334053f895b5016a22
- https://github.com/simplesamlphp/saml2/commit/435036e16d00773caae63cee76e74362bf6ec31e
- https://www.vulncheck.com/advisories/simplesamlphp-saml2-before-5.0.14-6.1.11-6.2.9-6.3.5-7.0.0-rc6-signature-bypass