First published: Fri Mar 02 2018(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
composer/simplesamlphp/saml2 | <1.10.6>=2.0<2.3.8>=3.0<3.1.4 | |
composer/simplesamlphp/saml2 | >=3.0<3.1.4 | 3.1.4 |
composer/simplesamlphp/saml2 | >=2.0<2.3.8 | 2.3.8 |
composer/simplesamlphp/saml2 | <1.10.6 | 1.10.6 |
SimpleSAMLphp | <1.15.4 | |
SimpleSAMLphp | >=1.0.0<1.10.6 | |
SimpleSAMLphp | >=2.0.0<2.3.8 | |
SimpleSAMLphp | >=3.0.0<3.1.4 | |
Debian GNU/Linux | =7.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
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.
CVE-2018-7711 affects SimpleSAMLphp versions before 1.15.4, allowing an attacker to manipulate the signature validation process.
The severity of CVE-2018-7711 is high, with a CVSS score of 8.1.
The CWE ID for CVE-2018-7711 is CWE-347.
To fix CVE-2018-7711, upgrade to SimpleSAMLphp version 1.15.4 or higher.