Skip to content
OpenAdvisories
Unscored Public exploit CVE-2007-0774 EUVD-2007-0771GHSA-5cwp-c46g-8v55

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 Ser…

Published Mar 4, 2007 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libapache-mod-jk 1:1.2.21-1 —
Debian 13 libapache-mod-jk 1:1.2.21-1 —
Debian 12 libapache-mod-jk 1:1.2.21-1 —
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Stack 1 mod_jk +2 1.2.20-1.el4s1.2 RHSA-2007:0096
Red Hat Rhel Application Server 2 mod_jk +2 1.2.20-1jpp_1rh RHSA-2007:0164
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2-mod_jk 1.2.48-2.9 openSUSE-SU-2024:10625-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References