CVE Vulnerabilities

CVE-2017-12868

Session Fixation

Published: Sep 01, 2017 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.

Affected Software

Name Vendor Start Version End Version
Simplesamlphp Simplesamlphp * 1.14.13 (including)
Simplesamlphp Ubuntu esm-apps/xenial *
Simplesamlphp Ubuntu trusty *
Simplesamlphp Ubuntu upstream *
Simplesamlphp Ubuntu xenial *
Simplesamlphp Ubuntu zesty *

Extended Description

Such a scenario is commonly observed when:

Potential Mitigations

References