Live threats

All CVEs / Simplesamlphp

CVE-2018-7644Simplesamlphp

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
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:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

The XmlSecLibs library as used in the saml2 library in SimpleSAMLphp before 1.15.3 incorrectly verifies signatures on SAML assertions, allowing a remote attacker to construct a crafted SAML assertion on behalf of an Identity Provider that would pass as cryptographically valid, thereby allowing them to impersonate a user from that Identity Provider, aka a key confusion issue.

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.5 1.10.5 composer require "simplesamlphp/saml2:^1.10.5"
Packagist simplesamlphp/saml2 ≥ 2.0 < 2.3.7 2.3.7 composer require "simplesamlphp/saml2:^2.3.7"
Packagist simplesamlphp/saml2 ≥ 3.0 < 3.1.3 3.1.3 composer require "simplesamlphp/saml2:^3.1.3"

Per OSV / GitHub Advisories (GHSA-923w-2xv2-7pr8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
simplesamlphpsimplesamlphp< 1.15.3

Official sources

References

Links published by the sources. Open them with care.