CVE Vulnerabilities

CVE-2018-7711

Improper Verification of Cryptographic Signature

Published: Mar 05, 2018 | Modified: Mar 29, 2018
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation utilities, allowing an attacker to get invalid signatures accepted as valid by forcing an error during validation. This occurs because of a dependency on PHP functionality that interprets a -1 error code as a true boolean value.

Weakness

The product does not verify, or incorrectly verifies, the cryptographic signature for data.

Affected Software

Name Vendor Start Version End Version
Simplesamlphp Simplesamlphp * 1.15.4 (excluding)
Simplesamlphp Ubuntu artful *
Simplesamlphp Ubuntu bionic *
Simplesamlphp Ubuntu cosmic *
Simplesamlphp Ubuntu esm-apps/bionic *
Simplesamlphp Ubuntu esm-apps/xenial *
Simplesamlphp Ubuntu trusty *
Simplesamlphp Ubuntu upstream *
Simplesamlphp Ubuntu xenial *

References