CVE-2010-0738: Red Hat JBoss Authentication Bypass Vulnerability
By using a specially crafted HTTP request, the authentication of the jmx-console can be bypassed, as the access restrictions only apply for GET and POST.
Current setting is:
<security-constraint> <web-resource-collection> <web-resource-name>HtmlAdaptor</web-resource-name> <description>An example security config that only allows users with the role JBossAdmin to access the HTML JMX console web application </description> <url-pattern>/</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> <auth-constraint> <role-name>JBossAdmin</role-name> </auth-constraint> </security-constraint>
and should be changed to block ALL http-methods.
Acknowledgements:
Red Hat would like to thank Stefano Di Paola and Giorgio Fedon of Minded Security for responsibly reporting this issue.
Other sources
The JMX-Console web application in JBossAs in Red Hat JBoss Enterprise Application Platform (aka JBoss EAP or JBEAP) 4.2 before 4.2.0.CP09 and 4.3 before 4.3.0.CP08 performs access control only for the GET and POST methods, which allows remote attackers to send requests to this application's GET handler by using a different method.
The JMX-Console web application in JBossAs in Red Hat JBoss Enterprise Application Platform performs access control only for the GET and POST methods, which allows remote attackers to send requests to this application's GET handler by using a different method.
— CISA
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/hibernate3to a version that resolves this vulnerability.Fixed in 1:3.2.4-1.SP1_CP10.0jpp.ep1.1.el4 - Upgrade
Upgrade
redhat/hibernate3-annotationsto a version that resolves this vulnerability.Fixed in 0:3.3.1-1.12.GA_CP03.ep1.el4 - Upgrade
Upgrade
redhat/hsqldbto a version that resolves this vulnerability.Fixed in 1:1.8.0.8-3.patch03.1jpp.ep1.3.el4 - Upgrade
Upgrade
redhat/jacorbto a version that resolves this vulnerability.Fixed in 0:2.3.0-1jpp.ep1.10.el4 - Upgrade
Upgrade
redhat/jakarta-commons-httpclientto a version that resolves this vulnerability.Fixed in 1:3.0.1-1.patch01.1jpp.ep1.4.el4 - Upgrade
Upgrade
redhat/jboss-aopto a version that resolves this vulnerability.Fixed in 0:1.5.5-3.CP05.2.ep1.el4 - Upgrade
Upgrade
redhat/jbossasto a version that resolves this vulnerability.Fixed in 0:4.2.0-6.GA_CP09.6.ep1.el4 - Upgrade
Upgrade
redhat/jboss-cacheto a version that resolves this vulnerability.Fixed in 0:1.4.1-6.SP14.1.ep1.el4 - Upgrade
Upgrade
redhat/jboss-remotingto a version that resolves this vulnerability.Fixed in 0:2.2.3-3.SP2.ep1.el4 - Upgrade
Upgrade
redhat/jboss-seamto a version that resolves this vulnerability.Fixed in 0:1.2.1-1.ep1.24.el4 - Upgrade
Upgrade
redhat/jbosststo a version that resolves this vulnerability.Fixed in 1:4.2.3-1.SP5_CP09.1jpp.ep1.1.el4 - Upgrade
Upgrade
redhat/jbosswebto a version that resolves this vulnerability.Fixed in 0:2.0.0-6.CP13.0jpp.ep1.1.el4 - Upgrade
Upgrade
redhat/rh-eap-docsto a version that resolves this vulnerability.Fixed in 0:4.2.0-7.GA_CP09.ep1.5.el4 - Upgrade
Upgrade
redhat/hibernate3to a version that resolves this vulnerability.Fixed in 1:3.2.4-1.SP1_CP10.0jpp.ep1.1.el5 - Upgrade
Upgrade
redhat/hibernate3-annotationsto a version that resolves this vulnerability.Fixed in 0:3.3.1-1.12.GA_CP03.ep1.el5 - Upgrade
Upgrade
redhat/jacorbto a version that resolves this vulnerability.Fixed in 0:2.3.0-1jpp.ep1.10.1.el5 - Upgrade
Upgrade
redhat/jboss-aopto a version that resolves this vulnerability.Fixed in 0:1.5.5-3.CP05.2.ep1.1.el5 - Upgrade
Upgrade
redhat/jbossasto a version that resolves this vulnerability.Fixed in 0:4.2.0-6.GA_CP09.6.ep1.el5 - Upgrade
Upgrade
redhat/jboss-cacheto a version that resolves this vulnerability.Fixed in 0:1.4.1-6.SP14.1.ep1.1.el5 - Upgrade
Upgrade
redhat/jboss-remotingto a version that resolves this vulnerability.Fixed in 0:2.2.3-3.SP2.ep1.1.el5 - Upgrade
Upgrade
redhat/jboss-seamto a version that resolves this vulnerability.Fixed in 0:1.2.1-1.ep1.24.el5 - Upgrade
Upgrade
redhat/jbosststo a version that resolves this vulnerability.Fixed in 1:4.2.3-1.SP5_CP09.1jpp.ep1.1.1.el5 - Upgrade
Upgrade
redhat/jbosswebto a version that resolves this vulnerability.Fixed in 0:2.0.0-6.CP13.0jpp.ep1.1.1.el5 - Upgrade
Upgrade
redhat/rh-eap-docsto a version that resolves this vulnerability.Fixed in 0:4.2.0-7.GA_CP09.ep1.4.1.el5 - Upgrade
Upgrade
redhat/jbossasto a version that resolves this vulnerability.Fixed in 0:4.3.0-7.GA_CP08.5.ep1.el4 - Upgrade
Upgrade
redhat/jboss-messagingto a version that resolves this vulnerability.Fixed in 0:1.4.0-3.SP3_CP10.2.ep1.el4 - Upgrade
Upgrade
redhat/jboss-seamto a version that resolves this vulnerability.Fixed in 0:1.2.1-3.JBPAPP_4_3_0_GA.ep1.20.el4 - Upgrade
Upgrade
redhat/jboss-seam2to a version that resolves this vulnerability.Fixed in 0:2.0.2.FP-1.ep1.23.el4 - Upgrade
Upgrade
redhat/jbosswsto a version that resolves this vulnerability.Fixed in 0:2.0.1-5.SP2_CP08.1.ep1.el4 - Upgrade
Upgrade
redhat/rh-eap-docsto a version that resolves this vulnerability.Fixed in 0:4.3.0-7.GA_CP08.ep1.6.el4 - Upgrade
Upgrade
redhat/jbossasto a version that resolves this vulnerability.Fixed in 0:4.3.0-7.GA_CP08.5.ep1.el5 - Upgrade
Upgrade
redhat/jboss-messagingto a version that resolves this vulnerability.Fixed in 0:1.4.0-3.SP3_CP10.2.ep1.el5 - Upgrade
Upgrade
redhat/jboss-seamto a version that resolves this vulnerability.Fixed in 0:1.2.1-3.JBPAPP_4_3_0_GA.ep1.20.el5.1 - Upgrade
Upgrade
redhat/jboss-seam2to a version that resolves this vulnerability.Fixed in 0:2.0.2.FP-1.ep1.23.el5 - Upgrade
Upgrade
redhat/jbosswsto a version that resolves this vulnerability.Fixed in 0:2.0.1-5.SP2_CP08.1.ep1.1.el5 - Upgrade
Upgrade
redhat/rh-eap-docsto a version that resolves this vulnerability.Fixed in 0:4.3.0-7.GA_CP08.ep1.5.el5 - Configuration
Update the JMX-Console security configuration so that access control for the HTML JMX console is applied to ALL HTTP methods, not only GET and POST. Ensure the auth-constraint for role 'JBossAdmin' does not limit enforcement to just GET/POST for url-pattern '/*'.
JMX-Console web application (Red Hat JBoss Enterprise Application Platform / JBoss EAP) security-constraint auth-constraint for allowed http-methods (web.xml or equivalent) = block ALL http-methods (remove specific GET/POST-only restrictions)
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2010-0738?
CVE-2010-0738 is considered a high severity vulnerability.
How do I fix CVE-2010-0738?
To fix CVE-2010-0738, you should upgrade to the appropriate patched version of the affected packages from Red Hat.
What types of requests does CVE-2010-0738 allow attackers to perform?
CVE-2010-0738 allows attackers to bypass access control and send requests using methods other than GET and POST.
Which software versions are affected by CVE-2010-0738?
CVE-2010-0738 affects specific versions of Red Hat JBoss Enterprise Application Platform including 4.2.0 and 4.3.0.
What is the potential impact of CVE-2010-0738?
The potential impact of CVE-2010-0738 includes unauthorized access and manipulation of server resources.