KeygraphLabs · CVE MCP

CVE-2017-12871 · mitre

CVE-2017-12871

The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for context-dependent attackers to bypass the encryption protection mechanism by leveraging use of the first 16 bytes of the secret key as the initialization vector (IV).

Published 2017-09-01, last changed 2026-06-17. Weakness: CWE-326.

CVSS
5.9
medium, from NVD
EPSS
0.49%
percentile 43.7%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: simplesamlphp/simplesamlphp 1.14.12 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in simplesamlphp/simplesamlphp by 77df6a932d, ccf7598118. Functions changed by the fix: _aesEncrypt. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2017-09-01Published
2022-05-17Package advisory GHSA-ww3w-592j-5qrw
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.49%
2026-12-05Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-ww3w-592j-5qrwsimplesamlphp/simplesamlphp (Packagist)1.14.12

Also known as: GHSA-ww3w-592j-5qrw

Related

CVEPublishedCVSSSummary
CVE-2026-492842026-07-177.1SimpleSAMLphp SP accepts a response from an unexpected IdP when unsigned `Response/InResponseTo` is combined with a signed assertion lacking `SubjectConfirmatio
CVE-2020-53012020-04-213.1Information disclosure of source code in SimpleSAMLphp
CVE-2020-52262020-01-245.4Cross-site scripting in SimpleSAMLphp
CVE-2020-52252020-01-245.4Log injection in SimpleSAMLphp
CVE-2011-46252019-11-067.5same package: simplesamlphp/simplesamlphp (Packagist)
CVE-2017-181222018-02-028.1same package: simplesamlphp/simplesamlphp (Packagist)
CVE-2017-181212018-02-026.1same package: simplesamlphp/simplesamlphp (Packagist)
CVE-2018-65212018-02-029.8same package: simplesamlphp/simplesamlphp (Packagist)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-12871, or call /api/v1/vulnerabilities/CVE-2017-12871. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org