NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

GHSA-j5g2-q29x-cw3h: SimpleSAMLphp vulnerable to XXE in parsing SAML messages

highCVSS 3.1 8.3

This advisory was withdrawn on Dec 4, 2024. The publisher no longer considers it a valid vulnerability.

Withdrawn Advisory This advisory has been withdrawn because the vulnerability affects users of the SimpleSAMLphp tarball, not the SimpleSAMLphp Composer package. The underlying information about CVE-2024-52596 is still valid. Original Description Summary When loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE.

Published Dec 2, 2024 · Updated Dec 4, 2024

Affected packages

simplesamlphp/simplesamlphp

Ecosystem
Composer (PHP)
Affected
>= 2.3.0, < 2.3.4
Fixed in
2.3.4
Check
composer show simplesamlphp/simplesamlphp

simplesamlphp/simplesamlphp

Ecosystem
Composer (PHP)
Affected
>= 2.2.0, < 2.2.4
Fixed in
2.2.4
Check
composer show simplesamlphp/simplesamlphp

simplesamlphp/simplesamlphp

Ecosystem
Composer (PHP)
Affected
>= 2.1.0, < 2.1.7
Fixed in
2.1.7
Check
composer show simplesamlphp/simplesamlphp

simplesamlphp/simplesamlphp

Ecosystem
Composer (PHP)
Affected
< 2.0.15
Fixed in
2.0.15
Check
composer show simplesamlphp/simplesamlphp

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Withdrawn Advisory

This advisory has been withdrawn because the vulnerability affects users of the SimpleSAMLphp tarball, not the SimpleSAMLphp Composer package. The underlying information about CVE-2024-52596 is still valid.

Original Description

Summary

When loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE.

Mitigation:

Remove the LIBXML_DTDLOAD | LIBXML_DTDATTR options from $options is in: https://github.com/simplesamlphp/saml2/blob/717c0adc4877ebd58428637e5626345e59fa0109/src/SAML2/DOMDocumentFactory.php#L41

Background / details

To be published on Dec 8th

Credited to ahacker1-securesaml.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries