5
CVSSv2

CVE-2011-4858

Published: 05/01/2012 Updated: 09/01/2018
CVSS v2 Base Score: 5 | Impact Score: 2.9 | Exploitability Score: 10
VMScore: 545
Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Summary

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

Vendor Advisories

Synopsis Moderate: tomcat6 security update Type/Severity Security Advisory: Moderate Topic Updated tomcat6 packages that fix two security issues are now available forRed Hat Enterprise Linux 6The Red Hat Security Response Team has rated this update as having moderatesecurity impact Common Vulnerability Sc ...
Synopsis Moderate: tomcat5 security update Type/Severity Security Advisory: Moderate Topic Updated tomcat5 packages that fix two security issues are now available forRed Hat Enterprise Linux 5The Red Hat Security Response Team has rated this update as having moderatesecurity impact Common Vulnerability Sc ...
Synopsis Important: jbossweb security update Type/Severity Security Advisory: Important Topic Updated jbossweb packages that fix multiple security issues are nowavailable for JBoss Enterprise Application Platform 512 for Red HatEnterprise Linux 4, 5, and 6The Red Hat Security Response Team has rated this ...
Synopsis Important: jbossweb security update Type/Severity Security Advisory: Important Topic Updated jbossweb packages that fix multiple security issues are nowavailable for JBoss Enterprise Web Platform 512 for Red Hat EnterpriseLinux 4, 5, and 6The Red Hat Security Response Team has rated this update ...
Tomcat could be made to crash or expose sensitive information if it received specially crafted network traffic ...
Synopsis Moderate: tomcat5 security and bug fix update Type/Severity Security Advisory: Moderate Topic Updated tomcat5 packages that fix multiple security issues and two bugs arenow available for JBoss Enterprise Web Server 102 for Red HatEnterprise Linux 5 and 6The Red Hat Security Response Team has rat ...
Synopsis Moderate: tomcat6 security and bug fix update Type/Severity Security Advisory: Moderate Topic Updated tomcat6 packages that fix multiple security issues and three bugsare now available for JBoss Enterprise Web Server 102 for Red HatEnterprise Linux 5 and 6The Red Hat Security Response Team has r ...

Exploits

#!/usr/bin/php -q -d short_open_tag=on <? echo "MyBulletinBoard (MyBB) <= 115 'CLIENT-IP' SQL injection / create new admin exploit\n"; echo "by rgod rgod@autisticiorg\n"; echo "site: retrogodaltervistaorg\n"; echo "dork, version specific: \"Powered By MyBB\" \"2006 MyBB Group\"\n\n"; /* works regardless of phpini settings */ if ( ...

Metasploit Modules

Hashtable Collisions

This module uses a denial-of-service (DoS) condition appearing in a variety of programming languages. This vulnerability occurs when storing multiple values in a hash table and all values have the same hash value. This can cause a web server parsing the POST parameters issued with a request into a hash table to consume hours of CPU with a single HTTP request. Currently, only the hash functions for PHP and Java are implemented. This module was tested with PHP + httpd, Tomcat, Glassfish and Geronimo. It also generates a random payload to bypass some IDS signatures.

msf > use auxiliary/dos/http/hashcollision_dos
      msf auxiliary(hashcollision_dos) > show actions
            ...actions...
      msf auxiliary(hashcollision_dos) > set ACTION <action-name>
      msf auxiliary(hashcollision_dos) > show options
            ...show and set options...
      msf auxiliary(hashcollision_dos) > run

References

CWE-399http://mail-archives.apache.org/mod_mbox/tomcat-announce/201112.mbox/%3c4EFB9800.5010106@apache.org%3ehttp://marc.info/?l=bugtraq&m=132871655717248&w=2http://marc.info/?l=bugtraq&m=133294394108746&w=2http://marc.info/?l=bugtraq&m=136485229118404&w=2http://rhn.redhat.com/errata/RHSA-2012-0074.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0075.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0076.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0077.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0078.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0089.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0325.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0406.htmlhttp://secunia.com/advisories/48549http://secunia.com/advisories/48790http://secunia.com/advisories/48791http://secunia.com/advisories/54971http://secunia.com/advisories/55115http://tomcat.apache.org/tomcat-7.0-doc/changelog.htmlhttp://www.debian.org/security/2012/dsa-2401http://www.kb.cert.org/vuls/id/903934http://www.nruns.com/_downloads/advisory28122011.pdfhttp://www.ocert.org/advisories/ocert-2011-003.htmlhttp://www.securityfocus.com/bid/51200https://bugzilla.redhat.com/show_bug.cgi?id=750521https://github.com/FireFart/HashCollision-DOS-POC/blob/master/HashtablePOC.pyhttps://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18886https://www.rapid7.com/db/vulnerabilities/oracle-solaris-cve-2011-4858https://access.redhat.com/errata/RHSA-2012:0475https://www.rapid7.com/db/vulnerabilities/apache-tomcat-cve-2012-0022https://nvd.nist.govhttps://usn.ubuntu.com/1359-1/https://www.exploit-db.com/exploits/2012/http://tools.cisco.com/security/center/viewAlert.x?alertId=24901