diff --git a/security/202412-01.md b/security/202412-01.md new file mode 100644 index 0000000..23976fd --- /dev/null +++ b/security/202412-01.md @@ -0,0 +1,40 @@ +--- +layout: default +title: "SSPSA 202412-01: XXE in parsing SAML messages" +--- + + + +# 202412-01 + +**XXE in parsing SAML messages** + +### Description + +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 + +### Credit + +This vulnerability was discovered and reported by ahacker1-securesaml on November 18, 2024. +It is registered under CVE-2024-52596.