Description
The secureCompare method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.13 and earlier, when used with PHP before 5.6, allows attackers to conduct session fixation attacks or possibly bypass authentication by leveraging missing character conversions before an XOR operation.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | simplesamlphp | 1.14.15-1 | — |
| Debian 12 | simplesamlphp | 1.14.15-1 | — |
| Debian 8 | simplesamlphp | 1.13.1-2+deb8u2 | DLA-1408-1 |
| Debian 7 | simplesamlphp | 1.9.2-1+deb7u1 | DLA-1205-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | simplesamlphp | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | simplesamlphp/simplesamlphp | >= 1.14.12, < 1.14.14 | 1.14.14 | GHSA-j96g-47x2-46hv |
Advisories 2
- DLA-1408-1 simplesamlphp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1205-1 simplesamlphp - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://simplesamlphp.org/security/201705-01
- [debian-lts-announce] 20171212 [SECURITY] [DLA 1205-1] simplesamlphp security update mailing-list
- https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e
- [debian-lts-announce] 20180629 [SECURITY] [DLA 1408-1] simplesamlphp security update mailing-list