← Vulnerability feed

Vulnerability record · CVE-2017-12868 · published 1 September 2017

CVE-2017-12868: Simplesamlphp vulnerability

SSimplesamlphp · Simplesamlphp

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.

9.8 CVSS 3.0 Critical EPSS 2.1% · top 18.7% CWE-384 · CWE-384
9.8CVSS 3.0 base score, v2 7.5
2.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-12868 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-6521Simplesamlphp vulnerabilityThe sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. T…EPSS 3.1%9.8CVE-2017-12873Simplesamlphp vulnerabilitySimpleSAMLphp 1.7.0 through 1.14.10 might allow attackers to obtain sensitive information, gain unauthorized access, or have unspecified other impact…EPSS 1.7%9.1CVE-2016-9814Simplesamlphp vulnerabilityThe validateSignature method in the SAML2\Utils class in SimpleSAMLphp before 1.14.10 and simplesamlphp/saml2 library before 1.9.1, 1.10.x before 1.1…EPSS 2.4%8.8CVE-2019-3465Xmlseclibs project xmlseclibs improper verification of cryptographic signature vulnerabilityRob Richards XmlSecLibs, all versions prior to v3.0.3, as used for example by SimpleSAMLphp, performed incorrect validation of cryptographic signatur…EPSS 3.0%8.1CVE-2018-7711Simplesamlphp improper verification of cryptographic signature vulnerabilityHTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation utilities, a…EPSS 1.2%8.1CVE-2017-18122Simplesamlphp improper verification of cryptographic signature vulnerabilityA signature-validation bypass issue was discovered in SimpleSAMLphp through 1.14.16. A SimpleSAMLphp Service Provider using SAML 1.1 will regard as v…EPSS 1.1%7.5CVE-2011-4625Simplesamlphp vulnerabilitysimplesamlphp before 1.6.3 (squeeze) and before 1.8.2 (sid) incorrectly handles XML encryption which could allow remote attackers to decrypt or forge…EPSS 0.74%7.5CVE-2018-7644Simplesamlphp improper verification of cryptographic signature vulnerabilityThe XmlSecLibs library as used in the saml2 library in SimpleSAMLphp before 1.15.3 incorrectly verifies signatures on SAML assertions, allowing a rem…EPSS 1.2%

Source: NIST National Vulnerability Database (record CVE-2017-12868), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.