Skip to content
OpenAdvisories
Medium Public exploit CVE-2010-1157 EUVD-2022-5514GHSA-w6q7-ww2x-7gm3

Exposure of Sensitive Information to an Unauthorized Actor in Apache Tomcat

Published Apr 23, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

Apache Tomcat 5.5.0 through 5.5.29 and 6.0.0 through 6.0.26 might allow remote attackers to discover the server's hostname or IP address by sending a request for a resource that requires (1) BASIC or (2) DIGEST authentication, and then reading the realm field in the WWW-Authenticate header in the reply.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 tomcat5.5 5.5.26-5lenny2 DSA-2207-1
ReleasePackageFixed inAdvisory
Red Hat JBoss Web Server 1 ant 1.7.1-13.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 ant-commons-net 1.7.1-14.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 ant-jmf +16 1.7.1-13.jdk6.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 antlr 2.7.7-7.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 bcel 5.2-8.1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 cglib 2.2-5.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 dom4j 1.6.1-11.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 ecj 1:3.3.1.1-3.2.2.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 ecj3 1:3.3.1.1-3.1.1.1.jdk6.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 glassfish-jaf 1.1.0-6.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 glassfish-javamail 1.4.2-0.4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 glassfish-jsf 1.2_13-2.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3 +1 1:3.3.2-1.4.GA_CP04.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3-annotations +1 3.4.0-3.2.GA_CP04.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3-commons-annotations +1 3.1.0-1.8.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3-ejb-persistence-3.0-api +1 1:1.0.2-3.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3-entitymanager +1 3.4.0-4.3.GA_CP04.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 httpd +2 2.2.17-11.1.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 httpd-tools 2.2.17-11.2.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 httpd22 +6 2.2.17-14.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-beanutils 1.8.0-4.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-chain 1.2-2.2.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-codec 1.3-9.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-collections +1 3.2.1-4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-daemon 1:1.0.5-1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-daemon-jsvc 1:1.0.5-1.4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-dbcp +1 1.2.1-16.2.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-digester 1.8.1-8.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-el 1.0-19.2.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-fileupload 1:1.1.1-7.4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-httpclient 1:3.1-1.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-io 1.4-1.3.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-launcher 1.1-4.6.1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-logging +1 1.1.1-0.4.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-logging-jboss 1.1-10.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-modeler 2.0-4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-pool +1 1.3-11.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-validator 1.3.1-7.5.1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-oro 2.0.8-3.3.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-taglibs-standard 1.1.1-9.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 javassist 3.12.0-1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jboss-common-core 2.2.17-1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jboss-common-logging-jdk +1 2.1.2-1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jboss-javaee +3 5.0.1-2.9.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jcommon 1.0.16-1.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jfreechart 1.0.13-2.3.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 log4j 1.2.14-18.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 mod_cluster +5 1.0.10-2.GA_CP01.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 mod_jk +2 1.2.31-1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 mod_ssl 1:2.2.17-11.1.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 mod_ssl22 1:2.2.17-14.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 mx4j 1:3.0.1-9.3.4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 objectweb-asm 3.1-5.3.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 objectweb-asm31 3.1-12.1.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 regexp 1.5-1.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 struts12 1.2.9-3.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 tomcat-jkstatus-ant 1.2.31-2.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 tomcat-native 1.1.20-2.0.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 tomcat5 +12 5.5.33-14_patch_04.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 tomcat6 +9 6.0.32-14_patch_03.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 xalan-j2 2.7.1-5.3_patch_04.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 xerces-j2 2.9.1-3.patch01.1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 xml-commons +3 1.3.04-7.10.jdk6.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 xml-commons-which10 +4 1.3.04-7.14.ep5.el6 RHSA-2011:0897
Red Hat JBoss EAP 4 jbossweb 2.0.0-6.CP14.0jpp.ep1.1.el4 RHSA-2010:0584

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat >= 5.5.0, < 5.5.30 5.5.30 GHSA-w6q7-ww2x-7gm3
Maven org.apache.tomcat:tomcat >= 6.0.0, < 6.0.28 6.0.28 GHSA-w6q7-ww2x-7gm3

Advisories 3

References