SimpleSAMLphp Unauthenticated encryption in CBC mode
Impact
SimpleSAMLphp 1.14.12 and earlier make it easier for man-in-the-middle attackers to obtain sensitive information by leveraging use of the aesEncrypt and aesDecrypt methods in the SimpleSAML/Utils/Crypto class to protect session identifiers in replies to non-HTTPS service providers.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.14.13Ecosystem versions | 1.14.13 |
Version evidence: OSV · GHSA-44pr-mgcp-v36r
View original version evidence (20 explicit versions)
Original source description
SimpleSAMLphp 1.14.12 and earlier make it easier for man-in-the-middle attackers to obtain sensitive information by leveraging use of the aesEncrypt and aesDecrypt methods in the SimpleSAML/Utils/Crypto class to protect session identifiers in replies to non-HTTPS service providers.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2017-12870
- Patch github.com/simplesamlphp/simplesamlphp/commit/4c939be1696bacb2b95ee11d4ebc5814a08b04c5
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12870.yaml
- Source reference github.com/simplesamlphp/simplesamlphp
- Security advisory simplesamlphp.org/security/201704-01