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:
|
$options = LIBXML_DTDLOAD | LIBXML_DTDATTR | LIBXML_NONET | LIBXML_PARSEHUGE; |
Background / details
To be published on Dec 8th
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:saml2/src/SAML2/DOMDocumentFactory.php
Line 41 in 717c0ad
Background / details
To be published on Dec 8th