1. CVE archive
  2. 2017
  3. CVE-2017-12871

CVE-2017-12871

5.9 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 5.9 – Medium

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

Affected products

VendorProductVersionPlatform
simplesamlphp simplesamlphp 1.14.0 –
simplesamlphp simplesamlphp 1.14.1 –
simplesamlphp simplesamlphp 1.14.2 –
simplesamlphp simplesamlphp 1.14.3 –
simplesamlphp simplesamlphp 1.14.4 –
simplesamlphp simplesamlphp 1.14.5 –
simplesamlphp simplesamlphp 1.14.6 –
simplesamlphp simplesamlphp 1.14.7 –
simplesamlphp simplesamlphp 1.14.8 –
simplesamlphp simplesamlphp 1.14.9 –
simplesamlphp simplesamlphp 1.14.10 –
simplesamlphp simplesamlphp 1.14.11 –
All 24 Simplesamlphp vulnerabilities

Vulnerability type

CWE-326 Inadequate Encryption Strength

The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.

Impact on systems

ScopeImpact
Access Control, Confidentiality Bypass Protection Mechanism, Read Application Data
An attacker may be able to decrypt the data using brute force attacks. The attacker may have a reasonable chance of succeeding using current attack methods and resources.

How to prevent it

Architecture and Design Use an encryption scheme that is currently considered to be strong by experts in the field.

All 465 CWE-326 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org