GLSA-200703-16 : Apache JK Tomcat Connector: Remote execution of arbitrary code

This script is Copyright (C) 2007-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200703-16
(Apache JK Tomcat Connector: Remote execution of arbitrary code)

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 .

Impact :

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.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200703-16.xml

Solution :

All Apache Tomcat users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=www-apache/mod_jk-1.2.21-r1'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 24841 (gentoo_GLSA-200703-16.nasl)

Bugtraq ID:

CVE ID: CVE-2007-0774