NetSight
high8.1

CVE-2018-7711

SimpleSAMLphp saml2 incorrect signature validation

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
composersimplesamlphp/saml2< 1.10.61.10.6

Affected products

VendorProductAffected versions
SimplesamlphpSimplesamlphp
before 1.15.4
SimplesamlphpSaml2
from 1.0.0 before 1.10.6
from 2.0.0 before 2.3.8
from 3.0.0 before 3.1.4
DebianDebian Linux
Version 7.0

Weakness classification

References