Joined: 12 May 2004
|Posted: Sat Mar 17, 2007 1:26 am Post subject: [ GLSA 200703-16 ] Apache JK Tomcat Connector: Remote execut
|Gentoo Linux Security Advisory
Title: Apache JK Tomcat Connector: Remote execution of arbitrary code (GLSA 200703-16)
Date: March 16, 2007
The Apache Tomcat Connector (mod_jk) contains a buffer overflow vulnerability that could result in the remote execution of arbitrary code.
The Apache HTTP server is a very widely used web server. mod_jk provides the JK module for connecting Tomcat and Apache using the ajp13 protocol.
Vulnerable: < 1.2.21-r1
Unaffected: >= 1.2.21-r1
Architectures: All supported architectures
ZDI reported an unsafe memory copy in mod_jk that was discovered by an anonymous researcher in the map_uri_to_worker function of native/common/jk_uri_worker_map.c .
A remote attacker can send a long URL request to an Apache server using Tomcat. That can trigger the vulnerability and lead to a stack-based buffer overflow, which could result in the execution of arbitrary code with the permissions of the Apache user.
There is no known workaround at this time.
All Apache Tomcat users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apache/mod_jk-1.2.21-r1"