BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2017-12871 in Simplesamlphp

Medium 5.9

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.05.9
EPSS0.5%
EPSS percentile35th
FixUnknown

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

Affected products and versions

VendorProductAffected versions
Simplesamlphp Simplesamlphp 1.14.0 1.14.1 1.14.2 1.14.3 1.14.4 1.14.5
+6 more1.14.6 1.14.7 1.14.8 1.14.9 1.14.10 1.14.11

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

No official vendor advisory link on record. See the CVE record.

Exploitation

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

Official description

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-12871
BreachSpider IDBS-2017-GLOBAL-115495-M
CVSS vectorCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2017-09-01
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-326: CWE-326

Related attack patterns (CAPEC)

CAPEC-20 Encryption Brute Forcing via CWE-326

CAPEC-112 Brute Force via CWE-326

CAPEC-192 Protocol Analysis via CWE-326

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2017. A medium severity vulnerability affects Simplesamlphp systems (CVE-2017-12871). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

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

Questions

What is CVE-2017-12871?

This vulnerability was disclosed in 2017. A medium severity vulnerability affects Simplesamlphp systems (CVE-2017-12871). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

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

CVE-2017-12871 has CVSS 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.5%.

Is CVE-2017-12871 actively exploited?

No confirmed active exploitation of CVE-2017-12871 as of 2026-09-25.

How do I remediate CVE-2017-12871?

Priority: MONITOR.

What systems are affected by CVE-2017-12871?

CVE-2017-12871 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-06-17.