Live threats

All CVEs / Simplesamlphp

CVE-2018-7711Simplesamlphp

High 8.1 No auth needed

Priority
64
CVSS 3.0
8.1
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Mar 5, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Simplesamlphp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist simplesamlphp/saml2 < 1.10.6 1.10.6 composer require "simplesamlphp/saml2:^1.10.6"
Packagist simplesamlphp/saml2 ≥ 2.0 < 2.3.8 2.3.8 composer require "simplesamlphp/saml2:^2.3.8"
Packagist simplesamlphp/saml2 ≥ 3.0 < 3.1.4 3.1.4 composer require "simplesamlphp/saml2:^3.1.4"

Per OSV / GitHub Advisories (GHSA-g888-g2pp-82hf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
simplesamlphpsimplesamlphp< 1.15.4
simplesamlphpsaml2≥ 1.0.0 < 1.10.6
simplesamlphpsaml2≥ 2.0.0 < 2.3.8
simplesamlphpsaml2≥ 3.0.0 < 3.1.4
debiandebian_linux7.0

Official sources

References

Links published by the sources. Open them with care.