CVE-2018-7711
Published:March 05, 2018
Updated:May 17, 2026
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
simplesamlphp/saml2 (PHP):
Affected version(s) >=v3.0.0 <v3.1.4Fix Suggestion:
Update to version v3.1.4simplesamlphp/saml2 (PHP):
Affected version(s) >=v2.0.0 <v2.3.8Fix Suggestion:
Update to version v2.3.8Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Verification of Cryptographic Signature
EPSS
Base Score:
0.32