CVE-2017-12868: SimpleSAMLphp - Session Fixation & Authentication Bypass
- Cve: CVE-2017-12868
- Name: SimpleSAMLphp - Session Fixation & Authentication Bypass
- 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.
- Impact: Attackers can perform session fixation or bypass authentication, potentially gaining unauthorized access.
- Remediation: Update to the latest version of SimpleSAMLphp that addresses this issue or upgrade PHP to version 5.6 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs to exploit with PHP version before 5.6
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02133
- Epss percentile: 0.82461
- Assignee: [email protected]
- Published at: 2017-09-01T13:29:00Z
- Age in days: 3371
- Modified at: 2026-06-17T01:04:03Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12868
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-384 | Session Fixation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://simplesamlphp.org/security/201705-01 | Patch, Vendor Advisory |
| https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e | Issue Tracking, Patch, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2017/12/msg00007.html | |
| https://lists.debian.org/debian-lts-announce/2018/06/msg00017.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| simplesamlphp:simplesamlphp | <= 1.14.13 | yes | nvd | /v1/products/simplesamlphp/simplesamlphp |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| simplesamlphp/simplesamlphp | commit, fix, package | yes | /v1/repositories/simplesamlphp/simplesamlphp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 105
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports