SimpleSAMLphp Unauthenticated encryption in CBC mode
Published 17 May 2022 · Updated 25 Apr 2024
Is your project on an affected simplesamlphp/simplesamlphp?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.14.13
- Fixed in
- 1.14.13
composer require simplesamlphp/simplesamlphp:^1.14.13Details
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.
Is GHSA-44pr-mgcp-v36r in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected simplesamlphp/simplesamlphp, and gives you the command that fixes it.
More advisories for simplesamlphp/simplesamlphp
- HighCVE-2026-49284SimpleSAMLphp SP accepts a response from an unexpected IdP when unsigned `Response/InResponseTo` is combined with a signed assertion lacking `SubjectConfirmationData/InResponseTo` · 2 Jul 2026
- MediumGHSA-ppm4-r2vc-pg74SimpleSAMLphp Information Disclosure vulnerability · 28 May 2024
- MediumGHSA-vpr3-cw3h-prw8SimpleSAMLphp Reflected Cross-site Scripting vulnerability · 28 May 2024
- MediumGHSA-7wh8-jrq7-p27fSimpleSAMLphp exposes credentials in session storage · 28 May 2024
- MediumGHSA-v858-922f-fj9vSimpleSAMLphp Link Injection vulnerability · 28 May 2024
- MediumCVE-2017-12871SimpleSAMLphp Incorrect IV generation for encryption · 17 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-12870
- Linkgithub.com/simplesamlphp/simplesamlphp/commit/4c939be1696bacb2b95ee11d4ebc5814a08b04c5
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12870.yaml
- Packagegithub.com/simplesamlphp/simplesamlphp
- Linksimplesamlphp.org/security/201704-01
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.