CVE-2024-52596
NoneCVSS
—
EPSS
1.0%
Published
Dec 2, 2024
CISA due date
—
Cloudanix analysis
A bug in an authentication tool's handling of login data could let attackers peek at private files on the server or interfere with logins.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- XXE
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
Allows external entity expansion when parsing untrusted XML documents such as SAMLResponse, enabling local file disclosure or limited server-side request forgery.
Why it matters to the business
Attackers could read sensitive configuration or credential files from identity provider systems or cause denial-of-service, increasing risk of data exposure in authentication workflows.
How an attack unfolds
An attacker supplies a crafted SAMLResponse containing malicious XML entity declarations to a SimpleSAMLphp endpoint; the vulnerable parser resolves external entities and returns or processes the resulting content.
How to fix it
Upgrade SimpleSAMLphp xml-common to version 1.19.0 or later; disable external entity resolution in XML parsers until patches are applied.
How to confirm the fix worked
Verify the installed version is at least 1.19.0; retest XML parsing endpoints with benign XXE test vectors to confirm entity expansion is blocked.
Typical attack path
- Locate an endpoint that accepts SAML assertions or other XML input
- Embed XXE payload referencing local files or internal resources inside the XML document
- Submit the malicious payload via HTTP POST or other accepted method
- Observe response or side-channel for exfiltrated data or error conditions
How to detect it
Inspect web server and application logs for XML documents containing DOCTYPE declarations with SYSTEM or PUBLIC entities; correlate with file access attempts to sensitive paths.
What your security team should do
- Apply the 1.19.0 update across all SimpleSAMLphp deployments immediately
- Review and harden XML parser configurations to disable external entities by default
- Monitor authentication endpoints for unusual XML structures or error patterns
- Audit logs for evidence of prior exploitation attempts
The record
SimpleSAMLphp xml-common is a common classes for handling XML-structures. When loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE. This vulnerability is fixed in 1.19.0.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | simplesamlphp/xml-common | 0 | 1.20.0 |
| Debian:11 | simplesamlphp | 0 | 1.19.0-1+deb11u1 |
| Debian:12 | simplesamlphp | 0 | 1.19.7-1+deb12u1 |
| Ubuntu:16.04:LTS | simplesamlphp | 0 | No fix |
| Ubuntu:18.04:LTS | simplesamlphp | 0 | No fix |
| Ubuntu:20.04:LTS | simplesamlphp | 0 | No fix |
| Ubuntu:22.04:LTS | simplesamlphp | 0 | No fix |
| Ubuntu:24.04:LTS | simplesamlphp | 0 | No fix |
| Ubuntu:24.10 | simplesamlphp | 0 | No fix |
| Ubuntu:25.04 | simplesamlphp | 0 | No fix |
| Ubuntu:25.10 | simplesamlphp | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | simplesamlphp | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | simplesamlphp | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | simplesamlphp | 0 | No fix |
Related vulnerabilities
- CVE-2024-52806 SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. Also affects simplesamlphp
- CVE-2026-89260 MoguBlog through 6.2 contains an XML external entity injection vulnerability in the… CWE-611
- CVE-2026-84941 An information disclosure vulnerability in the SAML Single Sign-On (SSO) functionality of… CWE-611
- CVE-2026-79572 An XXE (XML External Entity) vulnerability in the level-rule module of Distribution… CWE-611
- CVE-2026-19614 The API is prone to XML external entity (XXE) injection. CWE-611
- CVE-2026-71375 Improper restriction of XML external entity reference vulnerability in Cosminexus… CWE-611
- CVE-2026-76958 SAP Integration Suite does not sufficiently validate XML documents accepted from… CWE-611
- CVE-2026-17444 IBM App Connect Enterprise 13.0.1.0 through 13.0.8.1, and 12.0.1.0 through 12.0.12.28 and… CWE-611