Apache Tomcat JK Connector security bypass

tomcat-jkconnector-security-bypass (34496) The risk level is classified as MediumMedium Risk

Description:

The Apache Tomcat JK Connector could allow a remote attacker to bypass security restrictions, caused by a double-decoding error. An attacker could exploit this vulnerability by sending a specially-crafted URL to execute access control rules on the server.

*CVSS:

Base Score: 7
  Access Vector: Remote
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 5.2
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Upgrade to the latest version of Apache Tomcat JK Connector (1.2.23 or later), available from the Apache Tomcat Web site. See References.

For Debian/GNU Linux:
Refer to DSA-1312-1 for patch, upgrade, or suggested workaround information. See References.

For Mac OS:
Apply Apple Security Update 2007-007, available from the Apple Web site. See References.

For Gentoo Linux (Apache mod_jk):
Refer to GLSA 200708-15 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

  • Apache Tomcat Web site: Fixed in Apache Tomcat JK Connector 1.2.23 .
  • Apple Security Update 2007-007 : About Security Update 2007-007.
  • Apple Web site: Apple security updates.
  • HPSBUX02262 SSRT071447: HP-UX running Apache, Remote Arbitrary Code Execution, Cross Site Scripting (XSS).
  • The Apache Tomcat Connector - News - 2007 News and Status: 18 May - JK-1.2.23 released.
  • ASA-2007-215: mod_jk security update (RHSA-2007-0380)
  • ASA-2007-217: mod_jk security update (RHSA-2007-0379)
  • ASA-2007-416: HP-UX running Apache, Remote Arbitrary Code Execution, Cross Site Scripting (XSS) (HPSBUX02262)
  • ASA-2008-054: mod_jk vulnerability may lead to information disclosure (CVE-2007-1860)
  • BID-24147: Apache Tomcat JK Connector Double Encoding Security Bypass Vulnerability
  • BID-25159: Apple Mac OS X 2007-007 Multiple Security Vulnerabilities
  • CVE-2007-1860: mod_jk in Apache Tomcat JK Web Server Connector 1.2.x before 1.2.23 decodes request URLs within the Apache HTTP Server before passing the URL to Tomcat, which allows remote attackers to access protected pages via a crafted prefix JkMount, possibly involving double-encoded .. (dot dot) sequences and directory traversal, a related issue to CVE-2007-0450.
  • DSA-1312: libapache-mod-jk -- programming error
  • GLSA-200708-15: Apache mod_jk: Directory traversal
  • OSVDB ID: 34877: Apache Tomcat JK Web Server Connector (mod_jk) Double Encoded Traversal Arbitrary File Access
  • RHSA-2007-0379: Important: mod_jk security update
  • RHSA-2007-0380: Important: mod_jk security update
  • RHSA-2008-0261: Moderate: Red Hat Network Satellite Server security update
  • RHSA-2008-0524: Low: Red Hat Network Satellite Server security update
  • SA25383: Apache Tomcat JK Web Server Connector Double Encoded ".." Security Bypass
  • SA26235: Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SECTRACK ID: 1018138: Tomcat JK Connector May Let Remote Users Access Restricted Resources
  • SUSE-SR:2008:005: SUSE Security Summary Report
  • VUPEN/ADV-2007-1941: Apache Tomcat JK Connector Double Encoded Dot Dot Security Bypass Vulnerability
  • VUPEN/ADV-2007-2732: Apple Mac OS X Multiple Code Execution and Denial of Service Vulnerabilities
  • VUPEN/ADV-2007-3386: HP-UX Apache Code Execution and Cross Site Scripting Vulnerabilities

Platforms Affected:

  • Apache Tomcat JK Web Server Connector 1.2.19
  • Apache Tomcat JK Web Server Connector 1.2.20
  • Apache Tomcat JK Web Server Connector 1.2.22
  • Apple Mac OS X Server 10.4.10
  • Debian Debian Linux 3.1
  • Debian Debian Linux 4.0
  • Gentoo Linux
  • HP HP-UX B.11.11
  • HP HP-UX B.11.23
  • HP HP-UX B.11.31
  • RedHat Application Stack v1 for EL AS 4
  • RedHat Application Stack v1 for EL ES 4
  • RedHat Network Satellite Server 4.2
  • RedHat Network Satellite Server 5.0
  • RedHat RHEL Application Server 2

Reported:

May 18, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.