Bug 1182591 (CVE-2014-8111)

Summary: CVE-2014-8111 Tomcat mod_jk: information leak due to incorrect JkMount/JkUnmount directives processing
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: carnil, cdewolf, chazlett, dandread, darran.lofthouse, fnasser, grocha, huwang, jason.greene, jawilson, jboss-set, jclere, jdoyle, lgao, myarboro, pcheung, pslavice, rsvoboda, security-response-team, twalsh, vtunka, weli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Apache Tomcat JK Connector 1.2.41 Doc Type: Bug Fix
Doc Text:
It was discovered that a JkUnmount rule for a subtree of a previous JkMount rule could be ignored. This could allow a remote attacker to potentially access a private artifact in a tree that would otherwise not be accessible to them.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-20 10:49:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1188999, 1189001, 1189002, 1235900    
Bug Blocks: 1183003, 1212496, 1254231    

Description Vasyl Kaigorodov 2015-01-15 14:05:47 UTC
A vulnerability has been found in the mod_jk connector relating to the use of JkMount and JkUnmount.

A JkUnmount rule for a subtree of a previous JkMount rule could be ignored. This could allow a remote attacker to potentially access a private artifact in a directory tree that would otherwise not be accessible to them.

If you use a mount rule like

JkMount /a/b/* myworker

Then 

JkUnmount /a/b/private/* myworker

Artifacts in the private folder would still be accessible.

This vulnerability affected all versions of mod_jk.

Comment 2 Timothy Walsh 2015-02-04 08:23:52 UTC
Statement:

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates of Red Hat Enterprise Application Platform 4 and 5, and Red Hat JBoss Web Server 1. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ and Red Hat JBoss Middleware and Red Hat JBoss Operations Network Product Update and Support Policy: https://access.redhat.com/support/policy/updates/jboss_notes/.

This issue did not affect Red Hat JBoss Web Server 3.x. This issue does affect Red Hat JBoss Web Server 2.x; a future update may address this issue.

Comment 6 Timothy Walsh 2015-04-16 12:33:56 UTC
Upstream patch:

http://svn.apache.org/viewvc?view=revision&revision=1647017

Comment 7 errata-xmlrpc 2015-04-16 15:39:27 UTC
This issue has been addressed in the following products:

  JBoss Enterprise Application Platform 6.4.0

Via RHSA-2015:0849 https://rhn.redhat.com/errata/RHSA-2015-0849.html

Comment 8 errata-xmlrpc 2015-04-16 16:28:54 UTC
This issue has been addressed in the following products:

  JBEAP 6.4.z for RHEL 6

Via RHSA-2015:0847 https://rhn.redhat.com/errata/RHSA-2015-0847.html

Comment 9 errata-xmlrpc 2015-04-16 16:31:42 UTC
This issue has been addressed in the following products:

  JBEAP 6.4.z for RHEL 5

Via RHSA-2015:0846 https://rhn.redhat.com/errata/RHSA-2015-0846.html

Comment 10 errata-xmlrpc 2015-04-16 16:33:46 UTC
This issue has been addressed in the following products:

  JBEAP 6.4.z for RHEL 7

Via RHSA-2015:0848 https://rhn.redhat.com/errata/RHSA-2015-0848.html

Comment 17 errata-xmlrpc 2015-08-18 18:48:55 UTC
This issue has been addressed in the following products:

  JBoss Web Server 2.1.0

Via RHSA-2015:1641 https://rhn.redhat.com/errata/RHSA-2015-1641.html

Comment 19 errata-xmlrpc 2015-08-18 18:51:20 UTC
This issue has been addressed in the following products:

  JBEWS 2 for RHEL 6
  JBEWS 2 for RHEL 7
  JBEWS 2 for RHEL 5

Via RHSA-2015:1642 https://rhn.redhat.com/errata/RHSA-2015-1642.html