Skip to content
OpenAdvisories
Medium Public exploit CVE-2011-4858 EUVD-2022-5625GHSA-wr3m-gw98-mc3j

Improper Input Validation in Apache Tomcat

Published Jan 5, 2012 · Updated Aug 7, 2024 · Assigned by mitre

Description

Apache Tomcat before 5.5.35, 6.x before 6.0.35, and 7.x before 7.0.23 computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted parameters.

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 6.0 tomcat6 6.0.35-1+squeeze2 DSA-2401-1
ReleasePackageFixed inAdvisory
RHEL 6 tomcat6 +8 6.0.24-36.el6_2 RHSA-2012:0475
RHEL 5 tomcat5 +10 5.5.23-0jpp.31.el5_8 RHSA-2012:0474
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Web Server 1 tomcat5 +12 5.5.33-27_patch_07.ep5.el5 RHSA-2012:0680
Red Hat JBoss Web Server 1 tomcat6 +9 6.0.32-24_patch_07.ep5.el5 RHSA-2012:0682
Red Hat JBoss Web Platform 5 jbossweb +4 2.1.12-3_patch_03.2.ep5.el5 RHSA-2012:0076
Red Hat JBoss EAP 5 jbossweb +4 2.1.12-3_patch_03.2.ep5.el4 RHSA-2012:0074

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.

Metasploit 1 module

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.35 5.5.35 GHSA-wr3m-gw98-mc3j
Maven org.apache.tomcat:tomcat >= 6.0.0, < 6.0.35 6.0.35 GHSA-wr3m-gw98-mc3j
Maven org.apache.tomcat:tomcat >= 7.0.0, < 7.0.23 7.0.23 GHSA-wr3m-gw98-mc3j

Advisories 7

References