Skip to content
OpenAdvisories
High · 8.3 Public exploit CVE-2024-52806 EUVD-2024-3495GHSA-pxm4-r5ph-q2m2

SimpleSAMLphp SAML2 has an XXE in parsing SAML messages

Published Dec 2, 2024 · Updated Dec 2, 2024 · Assigned by GitHub_M

Description

SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. When loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE. This vulnerability is fixed in 4.6.14 and 5.0.0-alpha.18.

Affected products

VendorProductAffectedFixed
simplesamlphp saml2 < 4.6.14, >= 5.0.0-alpha.1, < 5.0.0-alpha.18 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 simplesamlphp 1.19.7-1+deb12u1 —
Debian 12 simplesamlphp 1.19.7-1+deb12u1 DSA-5822-1
Debian 11 simplesamlphp 1.19.0-1+deb11u1 DLA-3981-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 simplesamlphp No fix yet —
Ubuntu 24.04 LTS simplesamlphp No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS simplesamlphp No fix yet —
Ubuntu Pro 20.04 LTS simplesamlphp No fix yet —
Ubuntu Pro 18.04 LTS simplesamlphp No fix yet —
Ubuntu Pro 16.04 LTS simplesamlphp No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist simplesamlphp/saml2 < 4.6.14 4.6.14 GHSA-pxm4-r5ph-q2m2
Packagist simplesamlphp/saml2-legacy < 4.6.14 4.6.14 GHSA-pxm4-r5ph-q2m2

Advisories 2

References