Lucene search

K
gentooGentoo FoundationGLSA-200703-16
HistoryMar 16, 2007 - 12:00 a.m.

Apache JK Tomcat Connector: Remote execution of arbitrary code

2007-03-1600:00:00
Gentoo Foundation
security.gentoo.org
18

0.549 Medium

EPSS

Percentile

97.7%

Background

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.

Description

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.

Resolution

All Apache Tomcat users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-apache/mod_jk-1.2.21-r1"
OSVersionArchitecturePackageVersionFilename
Gentooanyallwww-apache/mod_jk< 1.2.21-r1UNKNOWN