The (1) BasicParserPool, (2) StaticBasicParserPool, (3) XML Decrypter, and (4) SAML Decrypter in Shibboleth OpenSAML-Java before 2.6.1 set the expandEntityReferences property to true, which allows remote attackers to conduct XML external entity (XXE) attacks via a crafted XML DOCTYPE declaration.
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-6440
- https://bugzilla.redhat.com/show_bug.cgi?id=1043332
- https://www.oracle.com/security-alerts/cpujan2022.html
- http://blog.sendsafely.com/post/69590974866/web-based-single-sign-on-and-the-dangers-of-saml-xml
- http://rhn.redhat.com/errata/RHSA-2014-0170.html
- http://rhn.redhat.com/errata/RHSA-2014-0171.html
- http://rhn.redhat.com/errata/RHSA-2014-0172.html
- http://rhn.redhat.com/errata/RHSA-2014-0195.html
- http://shibboleth.net/community/advisories/secadv_20131213.txt
- https://github.com/advisories/GHSA-v723-58jv-2qc4