CVE-2011-5035

MEDIUM5.0/ 10.0
Share:
Published: December 30, 2011 at 01:55 AM
Modified: April 11, 2025 at 12:51 AM
Source: cve@mitre.org

Vulnerability Description

Oracle Glassfish 2.1.1, 3.0.1, and 3.1.1, as used in Communications Server 2.0, Sun Java System Application Server 8.1 and 8.2, and possibly other products, 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, aka Oracle security ticket S0104869.

CVSS Metrics

Base Score
5.0
Severity
MEDIUM
Vector String
AV:N/AC:L/Au:N/C:N/I:N/A:P

Weaknesses (CWE)

Source: nvd@nist.gov

AI Security Analysis

01 // Technical Summary

Oracle Glassfish servers are vulnerable to a denial-of-service (DoS) attack due to a flaw in how they handle form parameters. Attackers can exploit this vulnerability by sending a large number of specially crafted parameters, leading to excessive CPU consumption and making the server unresponsive, impacting critical services.

02 // Vulnerability Mechanism

Step 1: Payload Generation: The attacker crafts a large number of form parameters. These parameters are designed to collide within the hash function used by Glassfish. This requires knowledge of the hash function or the ability to brute-force or generate collisions. Step 2: Payload Delivery: The attacker sends the crafted parameters to the vulnerable Glassfish server, typically via an HTTP POST request. The request is designed to trigger the vulnerable parameter processing logic. Step 3: Hash Collision Trigger: The server receives the request and begins processing the form parameters. Due to the collision-prone nature of the crafted parameters, the hash function repeatedly calculates hash values for the colliding parameters. Step 4: Resource Exhaustion: The repeated hash calculations consume significant CPU resources on the server. The server becomes overloaded and unable to respond to legitimate requests. Step 5: Denial of Service: The server's performance degrades significantly, leading to a denial of service for legitimate users.

03 // Deep Technical Analysis

The vulnerability stems from a weakness in the hash function used by Oracle Glassfish to process form parameters. Specifically, the hash function is susceptible to hash collisions. By crafting a set of parameters that generate collisions, an attacker can force the server to perform excessive computations when processing the form data. This leads to high CPU utilization and effectively a DoS. The root cause is the lack of proper collision resistance in the hash function used for form parameter processing, allowing an attacker to predictably generate collisions and exhaust server resources. The specific function or logic flaw is within the parameter processing logic where the hash function is used without proper safeguards against collision attacks.

References & Intelligence

http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html
Source: cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00010.html
Source: cve@mitre.org
http://marc.info/?l=bugtraq&m=133364885411663&w=2
Source: cve@mitre.org
http://marc.info/?l=bugtraq&m=133847939902305&w=2
Source: cve@mitre.org
http://marc.info/?l=bugtraq&m=134254866602253&w=2
Source: cve@mitre.org
http://marc.info/?l=bugtraq&m=134254957702612&w=2
Source: cve@mitre.org
http://marc.info/?l=bugtraq&m=139344343412337&w=2
Source: cve@mitre.org
http://rhn.redhat.com/errata/RHSA-2012-0514.html
Source: cve@mitre.org
http://rhn.redhat.com/errata/RHSA-2013-1455.html
Source: cve@mitre.org
http://secunia.com/advisories/48073
Source: cve@mitre.org
http://secunia.com/advisories/48074
Source: cve@mitre.org
http://secunia.com/advisories/48589
Source: cve@mitre.org
http://secunia.com/advisories/48950
Source: cve@mitre.org
http://secunia.com/advisories/57126
Source: cve@mitre.org
http://security.gentoo.org/glsa/glsa-201406-32.xml
Source: cve@mitre.org
http://www.debian.org/security/2012/dsa-2420
Source: cve@mitre.org
http://www.kb.cert.org/vuls/id/903934
Source: cve@mitre.org
US Government Resource
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150
Source: cve@mitre.org
http://www.nruns.com/_downloads/advisory28122011.pdf
Source: cve@mitre.org
http://www.ocert.org/advisories/ocert-2011-003.html
Source: cve@mitre.org
http://www.oracle.com/technetwork/topics/security/cpuapr2012-366314.html
Source: cve@mitre.org
http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
Source: cve@mitre.org
http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html
Source: cve@mitre.org
https://github.com/FireFart/HashCollision-DOS-POC/blob/master/HashtablePOC.py
Source: cve@mitre.org
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16908
Source: cve@mitre.org
http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00010.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://marc.info/?l=bugtraq&m=133364885411663&w=2
Source: af854a3a-2127-422b-91ae-364da2661108
http://marc.info/?l=bugtraq&m=133847939902305&w=2
Source: af854a3a-2127-422b-91ae-364da2661108
http://marc.info/?l=bugtraq&m=134254866602253&w=2
Source: af854a3a-2127-422b-91ae-364da2661108
http://marc.info/?l=bugtraq&m=134254957702612&w=2
Source: af854a3a-2127-422b-91ae-364da2661108
http://marc.info/?l=bugtraq&m=139344343412337&w=2
Source: af854a3a-2127-422b-91ae-364da2661108
http://rhn.redhat.com/errata/RHSA-2012-0514.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://rhn.redhat.com/errata/RHSA-2013-1455.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/48073
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/48074
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/48589
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/48950
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/57126
Source: af854a3a-2127-422b-91ae-364da2661108
http://security.gentoo.org/glsa/glsa-201406-32.xml
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.debian.org/security/2012/dsa-2420
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.kb.cert.org/vuls/id/903934
Source: af854a3a-2127-422b-91ae-364da2661108
US Government Resource
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.nruns.com/_downloads/advisory28122011.pdf
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ocert.org/advisories/ocert-2011-003.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.oracle.com/technetwork/topics/security/cpuapr2012-366314.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html
Source: af854a3a-2127-422b-91ae-364da2661108
https://github.com/FireFart/HashCollision-DOS-POC/blob/master/HashtablePOC.py
Source: af854a3a-2127-422b-91ae-364da2661108
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16908
Source: af854a3a-2127-422b-91ae-364da2661108
CVE-2011-5035 - MEDIUM Severity (5) | Free CVE Database | 4nuxd