Description
java/org/apache/catalina/servlets/DefaultServlet.java in the default servlet in Apache Tomcat before 6.0.40, 7.x before 7.0.53, and 8.x before 8.0.4 does not properly restrict XSLT stylesheets, which allows remote attackers to bypass security-manager restrictions and read arbitrary files via a crafted web application that provides an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.
Remediation
References
http://svn.apache.org/viewvc?view=revision&revision=1578655
http://svn.apache.org/viewvc?view=revision&revision=1578637
http://svn.apache.org/viewvc?view=revision&revision=1578610
http://svn.apache.org/viewvc?view=revision&revision=1585853
http://tomcat.apache.org/security-8.html
http://svn.apache.org/viewvc?view=revision&revision=1578611
http://tomcat.apache.org/security-7.html
http://tomcat.apache.org/security-6.html
http://secunia.com/advisories/59835
http://secunia.com/advisories/59873
http://secunia.com/advisories/59616
http://www.securityfocus.com/bid/67667
http://www-01.ibm.com/support/docview.wss?uid=swg21678231
http://www.novell.com/support/kb/doc.php?id=7010166
http://secunia.com/advisories/59678
http://secunia.com/advisories/59849
http://linux.oracle.com/errata/ELSA-2014-0865.html
http://secunia.com/advisories/59732
http://www.oracle.com/technetwork/topics/security/cpujul2014-1972956.html
http://www-01.ibm.com/support/docview.wss?uid=swg21681528
http://secunia.com/advisories/60729
http://www.vmware.com/security/advisories/VMSA-2014-0012.html
http://seclists.org/fulldisclosure/2014/Dec/23
http://lists.fedoraproject.org/pipermail/package-announce/2015-February/150282.html
http://advisories.mageia.org/MGASA-2014-0268.html
http://www.mandriva.com/security/advisories?name=MDVSA-2015:052
http://rhn.redhat.com/errata/RHSA-2015-0675.html
http://www.mandriva.com/security/advisories?name=MDVSA-2015:053
http://rhn.redhat.com/errata/RHSA-2015-0720.html
http://www.mandriva.com/security/advisories?name=MDVSA-2015:084
http://rhn.redhat.com/errata/RHSA-2015-0765.html
http://www.debian.org/security/2016/dsa-3530
http://www.debian.org/security/2016/dsa-3552
http://marc.info/?l=bugtraq&m=141017844705317&w=2
http://marc.info/?l=bugtraq&m=144498216801440&w=2
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04851013
http://www.securitytracker.com/id/1030301
http://secunia.com/advisories/59121
http://seclists.org/fulldisclosure/2014/May/135
http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html
http://www.securityfocus.com/archive/1/534161/100/0/threaded
https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E
Related Vulnerabilities
CVE-2021-46440 Vulnerability in npm package strapi
CVE-2023-32985 Vulnerability in maven package org.jenkins-ci.plugins:sidebar-link
CVE-2023-32993 Vulnerability in maven package io.jenkins.plugins:miniorange-saml-sp
CVE-2016-8746 Vulnerability in maven package org.apache.ranger:ranger
CVE-2018-17244 Vulnerability in maven package org.elasticsearch:elasticsearch