CVE-2007-0774

Apache Tomcat JK Web Server Connector <1.2.21 - RCE

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2007-0774. PoCs published by Metasploit, Xpl017Elz, including Metasploit module exploits/windows/http/apache_modjk_overflow.

AI-analyzed exploit summary This is a Metasploit module exploiting a stack buffer overflow in Apache mod_jk 1.2.20 on Win32 systems. It crafts a malicious HTTP GET request to trigger the vulnerability and execute arbitrary shellcode.

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.

Exploits (3)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotewindows
https://www.exploit-db.com/exploits/16798

This is a Metasploit module exploiting a stack buffer overflow in Apache mod_jk 1.2.20 on Win32 systems. It crafts a malicious HTTP GET request to trigger the vulnerability and execute arbitrary shellcode.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache mod_jk 1.2.20
No auth needed
Prerequisites: Target running Apache with mod_jk 1.2.20 on a Win32 system · Network access to the target's HTTP port (default 80)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Xpl017Elz · cremotelinux
https://www.exploit-db.com/exploits/4162

This is a functional exploit for CVE-2007-0774, targeting a buffer overflow in Apache Tomcat Connector (mod_jk) on Fedora Core 5/6. It leverages exec-shield bypass techniques to achieve remote code execution via a crafted HTTP request.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: Apache Tomcat Connector (mod_jk) 1.2.19/1.2.20 on Fedora Core 5/6
No auth needed
Prerequisites: Network access to vulnerable mod_jk instance · Target running Fedora Core 5/6 with specific Apache/Tomcat versions
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC GREAT
rubypocwin
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/apache_modjk_overflow.rb

This is a stack buffer overflow exploit for Apache mod_jk 1.2.20 on Win32 systems. It leverages a SEH overwrite to achieve remote code execution by sending a maliciously crafted HTTP GET request.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache mod_jk 1.2.20 (Apache 1.3.x/2.0.x/2.2.x)
No auth needed
Prerequisites: Target running vulnerable Apache mod_jk 1.2.20 on Win32 · Network access to the target's HTTP port (default 80)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (25)

Core 25
Core References
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5513
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2007-0096.html
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/0809
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/32794
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24558
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1017719
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/461734/100/0/threaded
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24398
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3386
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27037
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28711
Various Sources x_refsource_confirm
http://tomcat.apache.org/security-jk.html
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0331
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/22791
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200703-16.xml

Scores

EPSS 0.8151
EPSS Percentile 99.6%

Details

Status published
Products (2)
apache/tomcat_jk_web_server_connector 1.2.19
apache/tomcat_jk_web_server_connector 1.2.20
Published Mar 04, 2007
Tracked Since Feb 18, 2026