CVE-2018-7711: High severity SimpleSAMLphp SimpleSAMLphp vulnerability
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/simplesamlphp/saml2to a version that resolves this vulnerability.Fixed in 3.1.4 - Upgrade
Upgrade
composer/simplesamlphp/saml2to a version that resolves this vulnerability.Fixed in 2.3.8 - Upgrade
Upgrade
composer/simplesamlphp/saml2to a version that resolves this vulnerability.Fixed in 1.10.6
Event History
Frequently Asked Questions
What is CVE-2018-7711?
CVE-2018-7711 is a vulnerability in the saml2 library in SimpleSAMLphp before version 1.15.4 that allows an attacker to get invalid signatures accepted as valid by forcing an error during validation.
How does CVE-2018-7711 affect SimpleSAMLphp?
CVE-2018-7711 affects SimpleSAMLphp versions before 1.15.4, allowing an attacker to manipulate the signature validation process.
What is the severity of CVE-2018-7711?
The severity of CVE-2018-7711 is high, with a CVSS score of 8.1.
What is the Common Weakness Enumeration (CWE) ID for CVE-2018-7711?
The CWE ID for CVE-2018-7711 is CWE-347.
How can I fix CVE-2018-7711?
To fix CVE-2018-7711, upgrade to SimpleSAMLphp version 1.15.4 or higher.