Advisory

GHSA-g888-g2pp-82hf

Also known as: CVE-2018-7711

Summary

SimpleSAMLphp saml2 incorrect signature validation

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 03:34 UTC
Modified
2024-02-16 07:57 UTC

Affected packages and fixes

simplesamlphp/saml2

Packagist · All systems

Affected

  • introduced 0, fixed 1.10.6 (ecosystem)

Fixed versions

1.10.6

Fix

The export has no generic command for this ecosystem.

simplesamlphp/saml2

Packagist · All systems

Affected

  • introduced 2.0, fixed 2.3.8 (ecosystem)

Fixed versions

2.3.8

Fix

The export has no generic command for this ecosystem.

simplesamlphp/saml2

Packagist · All systems

Affected

  • introduced 3.0, fixed 3.1.4 (ecosystem)

Fixed versions

3.1.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences