FreeBSD : mod_jk -- long URL stack overflow vulnerability (cf86c644-cb6c-11db-8e9d-000c6ec775d9)

High Nessus Plugin ID 24770


The remote FreeBSD host is missing one or more security-related updates.


TippingPoint and The Zero Day Initiative reports :

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apache Tomcat JK Web Server Connector.
Authentication is not required to exploit this vulnerability.

The specific flaw exists in the URI handler for the library, map_uri_to_worker(), defined in native/common/jk_uri_worker_map.c.
When parsing a long URL request, the URI worker map routine performs an unsafe memory copy. This results in a stack overflow condition which can be leveraged to execute arbitrary code.


Update the affected packages.

See Also

Plugin Details

Severity: High

ID: 24770

File Name: freebsd_pkg_cf86c644cb6c11db8e9d000c6ec775d9.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2007/03/06

Modified: 2013/06/22

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:mod_jk, p-cpe:/a:freebsd:freebsd:mod_jk-ap2, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2007/03/05

Vulnerability Publication Date: 2007/03/02

Exploitable With

CANVAS (D2ExploitPack)

Core Impact

Metasploit (Apache mod_jk 1.2.20 Buffer Overflow)

Reference Information

CVE: CVE-2007-0774