CVE-2018-7711Simplesamlphp
High 8.1 No auth needed
Follow: this CVE · Simplesamlphp · Simplesamlphp We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Simplesamlphp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| simplesamlphp | simplesamlphp | < 1.15.4 |
| simplesamlphp | saml2 | ≥ 1.0.0 < 1.10.6 |
| simplesamlphp | saml2 | ≥ 2.0.0 < 2.3.8 |
| simplesamlphp | saml2 | ≥ 3.0.0 < 3.1.4 |
| debian | debian_linux | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- lists.debian.org Third Party Advisory
- simplesamlphp.org Vendor Advisory