CVE-2010-0738 in redhat jboss enterprise application platform

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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.

Affected software: redhat jboss enterprise application platform

Scores

What LogPulse has for it

How to mitigate it

Update JBoss EAP 4.2/4.3 to the cumulative patch that secures the JMX console

Patch or upgrade. Red Hat fixed the JMX console security constraint in JBoss EAP 4.2.0.CP09 and 4.3.0.CP08, so every HTTP method needs a login. JBoss EAP 4.x is long out of support: plan a migration to a supported release.

Applies to: JBoss EAP 4.2 before 4.2.0.CP09, JBoss EAP 4.3 before 4.3.0.CP08, and community JBoss AS before 6.0.0.M3 with the default jmx-console security settings.

  1. Find every JBoss EAP / JBoss AS instance: check $JBOSS_HOME/jar-versions.xml or the server.log start line (JBoss (MX MicroKernel) [4.x ...]) for the version.
  2. JBoss EAP 4.2: install 4.2.0.CP09 or later (RHSA-2010:0376 for RHEL 4, RHSA-2010:0378 for RHEL 5, or the zip from the Red Hat Customer Portal).
  3. JBoss EAP 4.3: install 4.3.0.CP08 or later (RHSA-2010:0377 for RHEL 4, RHSA-2010:0379 for RHEL 5, or the zip from the Red Hat Customer Portal).
  4. Community JBoss AS before 6.0.0.M3: no patch; apply the configuration fix (remove the http-method lines from the jmx-console security constraint) or remove the jmx-console application.
  5. Restart JBoss and check that a HEAD request to /jmx-console/HtmlAdaptor now returns 401 or 403.
  6. Look in deploy/ for WAR files or .jsp files you did not deploy (signs of earlier exploitation), and plan the move to a supported JBoss EAP release.

Sources:

Protect the JBoss JMX console for every HTTP method, or remove it

Change a setting. The jmx-console security constraint only lists GET and POST, so other methods skip the login. Removing the http-method lines makes the constraint apply to all methods; removing or firewalling the console takes the attack surface away.

Applies to: Any JBoss AS 4.x/5.x or JBoss EAP 4.x instance whose jmx-console web.xml limits the security constraint to GET and POST.

  1. Open $JBOSS_HOME/server/<profile>/deploy/jmx-console.war/WEB-INF/web.xml (do this for every profile you run, such as default and all).
  2. In the security-constraint for HtmlAdaptor, delete the <http-method>GET</http-method> and <http-method>POST</http-method> lines so the constraint covers all methods, and make sure the security-constraint and auth-constraint (role JBossAdmin) are not commented out.
  3. In WEB-INF/jboss-web.xml make sure <security-domain>java:/jaas/jmx-console</security-domain> is set, and set a strong password in conf/props/jmx-console-users.properties.
  4. Do the same for web-console.war (deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml) if it is deployed.
  5. If nobody uses the console, delete jmx-console.war (and web-console.war) from deploy/ instead.
  6. Block /jmx-console/ and /web-console/ from the internet at the reverse proxy or firewall, and restart JBoss.
  7. Check that HEAD /jmx-console/HtmlAdaptor without credentials now returns 401 or 403.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse