CVE-2017-12868

critical
Published 2017-09-01 · Modified 2024-04-25
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

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.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-12868

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://simplesamlphp.org/security/201705-01

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed1.14.15-1
debian debianbullseyefixed1.14.15-1
debian debiansidfixed1.14.15-1

Package impact

EcosystemPackageVulnerableFixed
php Packagistsimplesamlphp/simplesamlphp>=1.14.12,<1.14.141.14.14

Application impact

VendorProductVersionsFixed
simplesamlphpsimplesamlphp{"endIncluding":"1.14.13"}
php phpphp{"endIncluding":"5.5.38"}

References

CWEs

CWE-384

Verify integrity in audit chain (admin only). AS-IS.