LiveActive security incident?Get immediate response
CVE Record

CVE-2017-12868: The secureCompare method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.13 and earlier, when used...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This flaw affects older SimpleSAMLphp deployments running on PHP before 5.6. A weakness in a security comparison routine could let an attacker fix a user session or possibly bypass authentication. For organizations using SimpleSAMLphp for SSO, the business risk is unauthorized access through legacy identity infrastructure.

Executive priority

Prioritize remediation where SimpleSAMLphp supports production SSO or administrator access. Legacy-only exposure reduces scope, but authentication bypass potential warrants prompt validation.

Technical view

SimpleSAMLphp 1.14.13 and earlier used secureCompare in lib/SimpleSAML/Utils/Crypto.php in a way that mishandled character conversion before XOR on PHP versions before 5.6. The reported impacts are session fixation and possible authentication bypass. The supplied sources identify vendor and Debian security updates plus an upstream commit.

Likely exposure

Exposure is limited to SimpleSAMLphp 1.14.13 or earlier when running on PHP before 5.6. Internet-facing SAML IdP or SP endpoints increase business impact.

Exploitation context

The source bundle does not show CISA KEV listing or cited active exploitation. The issue is still serious because it affects authentication flow integrity in legacy SSO deployments.

Researcher notes

Evidence names the vulnerable method and PHP-version condition, but the bundle lacks CVSS, CWE mapping, and exploit telemetry. Treat affected-version and PHP-runtime confirmation as the key triage step.

Mitigation direction

  • Upgrade SimpleSAMLphp using vendor or distribution security guidance.
  • Avoid running affected SimpleSAMLphp versions on PHP before 5.6.
  • Apply relevant Debian LTS security updates where Debian packages are used.
  • Review vendor advisory 201705-01 and the upstream commit for fix provenance.

Validation and detection

  • Inventory SimpleSAMLphp versions across IdP and SP deployments.
  • Confirm the runtime PHP version for each SimpleSAMLphp instance.
  • Check package history for the referenced Debian LTS updates if applicable.
  • Verify the secureCompare fix is present in deployed source or package builds.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2017-12868 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.