GitHub Advisoryadvisory · Packagist

GHSA-g888-g2pp-82hf SimpleSAMLphp saml2 incorrect signature validation

HIGH Published 2022-05-14 Modified 2023-07-25 Official page ↗
Aliases
CVE-2018-7711
Ecosystem
Packagist
Packages
simplesamlphp/saml2
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-347
Reviewed
2023-07-25

Affected packages

• Packagist simplesamlphp/saml2: < 1.10.6 → fixed in 1.10.6 • Packagist simplesamlphp/saml2: >= 2.0, < 2.3.8 → fixed in 2.3.8 • Packagist simplesamlphp/saml2: >= 3.0, < 3.1.4 → fixed in 3.1.4

Description

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.

Related

Alias · CVE (1)

  • CVE-2018-7711 HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation… vulnerability

Weakness · CWE (1)

  • CWE-347 Improper Verification of Cryptographic Signature weakness

References