Apache Tomcat JK Web Server Connector map_uri_to_worker() buffer overflow
| tomcat-mapuritoworker-bo (32794) |
Description:
Apache Tomcat JK Web Server Connector is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the map_uri_to_worker() function in the mod_jk.so library. By sending an overly long URL request, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the server to crash.
*CVSS:
| Base Score: | 10 |
| Access Vector: | Remote |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | Complete |
| Integrity Impact: | Complete |
| Availability Impact: | Complete |
| Temporal Score: | 8.3 |
| Exploitability: | Functional |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of Apache Tomcat JK Web Server Connector (1.2.21 or later), available from the Apache Tomcat Web site. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200703-16 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: Tomcat Connectors (mod_jk) Downloads.
- cisco-sa-20080130-wcs: Cisco Security Advisory: Cisco Wireless Control System Tomcat mod_jk.so Vulnerability.
- HPSBUX02262 SSRT071447: HP-UX running Apache, Remote Arbitrary Code Execution, Cross Site Scripting (XSS).
- The Apache Tomcat Connect Changelog: Changes between 1.2.20 and 1.2.21.
- ZDI-07-008: Apache Tomcat JK Web Server Connector Long URL Stack Overflow Vulnerability.
- ASA-2007-094: mod_jk security update (RHSA-2007-0096)
- ASA-2007-416: HP-UX running Apache, Remote Arbitrary Code Execution, Cross Site Scripting (XSS) (HPSBUX02262)
- BID-22791: Apache Tomcat Mod_JK.SO Arbitrary Code Execution Vulnerability
- CVE-2007-0774: Stack-based buffer overflow in the map_uri_to_worker function (native/common/jk_uri_worker_map.c) in mod_jk.so for Apache Tomcat JK Web Server Connector 1.2.19 and 1.2.20, as used in Tomcat 4.1.34 and 5.5.20, allows remote attackers to execute arbitrary code via a long URL that triggers the overflow in a URI worker map routine.
- GLSA-200703-16: Apache JK Tomcat Connector: Remote execution of arbitrary code
- RHSA-2007-0096: Critical: mod_jk security update
- RHSA-2007-0164: Critical: mod_jk security update
- SA24398: Apache Tomcat JK Web Server Connector Long URL Buffer Overflow
- SA28711: Cisco Wireless Control System Apache Tomcat JK Web Server Connector Buffer Overflow
- SECTRACK ID: 1017719: Apache Tomcat JK Web Server Connector Buffer Overflow in map_uri_to_worker() Lets Remote Users Execute Arbitrary Code
- VUPEN/ADV-2007-0809: Apache Tomcat Connector mod_jk Library URL Handling Buffer Overflow Vulnerability
- VUPEN/ADV-2007-3386: HP-UX Apache Code Execution and Cross Site Scripting Vulnerabilities
- VUPEN/ADV-2008-0331: Cisco Wireless Control System Tomcat mod_jk.so Buffer Overflow
Platforms Affected:
- Apache Tomcat 4.1.34
- Apache Tomcat 5.5.20
- Apache Tomcat JK Web Server Connector 1.2.19
- Apache Tomcat JK Web Server Connector 1.2.20
- 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 RHEL Application Server 2
Reported:
Mar 02, 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
* 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.
