BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2017-12868 in Simplesamlphp and 1 more product

Critical 9.8 Fix available

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.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.09.8
EPSS2.1%
EPSS percentile83th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Simplesamlphp Simplesamlphp ≤ 1.14.13

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Php Php

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-12868
BreachSpider IDBS-2017-GLOBAL-233532-C
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2017-09-01
Last modified2026-05-13
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-384: CWE-384

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-384

CAPEC-59 Session Credential Falsification through Prediction via CWE-384

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-384

CAPEC-61 Session Fixation via CWE-384

CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-384

Show all 7

CAPEC-196 Session Credential Falsification through Forging via CWE-384

CAPEC-21 Exploitation of Trusted Identifiers via CWE-384

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2017. A critical vulnerability affects Php systems (CVE-2017-12868). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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 vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Questions

What is CVE-2017-12868?

This vulnerability was disclosed in 2017. A critical vulnerability affects Php systems (CVE-2017-12868). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2017-12868?

CVE-2017-12868 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.1%.

Is CVE-2017-12868 actively exploited?

No confirmed active exploitation of CVE-2017-12868 as of 2026-05-30.

How do I remediate CVE-2017-12868?

Priority: MEDIUM. Advisory: https://simplesamlphp.org/security/201705-01 PSIRT: [email protected]

What systems are affected by CVE-2017-12868?

CVE-2017-12868 affects Simplesamlphp Simplesamlphp.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Simplesamlphp","product":"Simplesamlphp","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-13.