🛡️ GHSA-j5g2-q29x-cw3h — simplesamlphp (CVE-2024-52596)
Description
SimpleSAMLphp vulnerable to XXE in parsing SAML messages
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
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability low.
Weakness class
GHSA-j5g2-q29x-cw3h is classified as CWE-611: XML External Entity Reference (XXE). An XML parser resolves external entities, letting a crafted document read local files or reach internal services.
Affected software
GHSA-j5g2-q29x-cw3h is recorded against 1 package.
- simplesamlphp/simplesamlphp (fixed in 2.0.15)
Timeline and source
Published on 2 December 2024 and last revised on 4 December 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
github.com (Web)
nvd.nist.gov (Advisory)
github.com (Package)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| simplesamlphp/simplesamlphp | — | 2.0.15 |
References
Similar Threats
- High CVE-2026-49284
- Medium CVE-2025-65954
- Unknown GHSA-7wh8-jrq7-p27f
- Critical GHSA-fjr2-r2mp-484p
- Unknown GHSA-ppm4-r2vc-pg74
Site Security Check
Is simplesamlphp part of your stack?
GHSA-j5g2-q29x-cw3h is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.