CVE-2012-4529: Medium severity red hat jboss community application server vulnerability

Published Oct 19, 2012
·
Updated

The org.apache.catalina.connector.Response.encodeURL method in Red Hat JBoss Web 7.1.x and earlier, when the tracking mode is set to COOKIE, sends the jsessionid in the URL of the first response of a session, which allows remote attackers to obtain the session id (1) via a man-in-the-middle attack or (2) by reading a log.

Other sources

When the session tracking method is set to 'COOKIE' only, the org.apache.catalina.connector.Response.encodeURL() method will still return the url with the jsessionid appended as a query string parameter when processing the first request of a session. This is unexpected when sessions are only tracked using cookies. As a result, the jsessionid could be leaked in a way not anticipated by the application developer. An attacker could potentially exploit this using a man-in-the-middle attack, or extracting the jsessionid from log files.

A fix has been committed upstream on the 7.2.x branch as a commit for JBWEB-249 [1] and is committed as revision 2106 [2].

A possible mitigation for this would be to use SSL encryption as this would reduce the risk of a man-in-the-middle attack.

There are two possible workarounds that may be used. Both work by re-writing the url. The first is to use filters as described at [3]. The other option is to use rewrite valves, similar to the method outlined at [4]. Note that there is a change in rewrite syntax for JBoss Web 7.x as detailed at [5].

[1] https://issues.jboss.org/browse/JBWEB-249 [2] https://source.jboss.org/browse/JBossWeb/branches/7.2.x/src/main/java/org/apache/catalina/connector/Response.java?r2=2106&r1=2086 [3] https://access.redhat.com/knowledge/solutions/16169 [4] https://access.redhat.com/knowledge/solutions/64778 [5] http://docs.jboss.org/jbossweb/7.0.x/rewrite.html

Affected Software

11 affected components
redhat Jboss Community Application Server<=7.1.1
redhat Jboss Community Application Server=5.0.0
redhat Jboss Community Application Server=5.0.1
redhat Jboss Community Application Server=5.1.0
redhat Jboss Community Application Server=6.0.0
redhat Jboss Community Application Server=6.1.0
redhat Jboss Community Application Server=7.0.0
redhat Jboss Community Application Server=7.0.1
redhat Jboss Community Application Server=7.0.2
redhat Jboss Community Application Server=7.1.0
redhat JBoss Enterprise Application Platform=6.0.0

Event History

Oct 19, 2012
Data Sourced
09:18 AM
DescriptionSeverityAffected Software
Oct 28, 2013
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-4529?

CVE-2012-4529 has a medium severity rating, indicating potential risk for session hijacking.

2

How do I fix CVE-2012-4529?

To mitigate CVE-2012-4529, upgrade your Red Hat JBoss Web server to a version later than 7.1.1.

3

What versions are affected by CVE-2012-4529?

CVE-2012-4529 affects Red Hat JBoss Web versions 5.0.0 to 7.1.x, including specific minor versions.

4

What is the impact of CVE-2012-4529?

The impact of CVE-2012-4529 allows attackers to potentially hijack user sessions through man-in-the-middle attacks.

5

Is CVE-2012-4529 exploitable remotely?

Yes, CVE-2012-4529 is exploitable remotely, making it critical for users of the affected software to address this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203