Description
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.
Remediation
References
http://ocpsoft.org/support/topic/session-id-is-appended-as-url-path-parameter-in-very-first-request/
http://rhn.redhat.com/errata/RHSA-2013-0833.html
http://rhn.redhat.com/errata/RHSA-2013-0834.html
http://rhn.redhat.com/errata/RHSA-2013-0839.html
http://rhn.redhat.com/errata/RHSA-2013-1437.html
https://issues.jboss.org/browse/JBWEB-249
Related Vulnerabilities
CVE-2012-0818 Vulnerability in maven package org.jboss.resteasy:resteasy-jettison-provider
CVE-2019-3797 Vulnerability in maven package org.springframework.data:spring-data-jpa
CVE-2022-36099 Vulnerability in maven package org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki
CVE-2017-1000006 Vulnerability in maven package org.webjars.npm:plotly.js
CVE-2022-1278 Vulnerability in maven package org.wildfly:wildfly-microprofile