8.1
CWE
347
Advisory Published
CVE Published
Updated

CVE-2018-7711

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203