SimpleSAMLphp xml-common XXE vulnerability
High severity
GitHub Reviewed
Published
Dec 1, 2024
in
simplesamlphp/xml-common
•
Updated Dec 2, 2024
Description
Published to the GitHub Advisory Database
Dec 2, 2024
Reviewed
Dec 2, 2024
Published by the National Vulnerability Database
Dec 2, 2024
Last updated
Dec 2, 2024
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#L41Background / details
To be published on Dec 8.
References