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

high Nessus Plugin ID 24770

Synopsis

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

Description

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 mod_jk.so 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.

Solution

Update the affected packages.

See Also

http://tomcat.apache.org/security-jk.html

https://www.zerodayinitiative.com/advisories/ZDI-07-008.html

http://www.nessus.org/u?b794f640

Plugin Details

Severity: High

ID: 24770

File Name: freebsd_pkg_cf86c644cb6c11db8e9d000c6ec775d9.nasl

Version: 1.17

Type: local

Published: 3/6/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.8

CVSS v2

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: 3/5/2007

Vulnerability Publication Date: 3/2/2007

Exploitable With

CANVAS (D2ExploitPack)

Core Impact

Metasploit (Apache mod_jk 1.2.20 Buffer Overflow)

Reference Information

CVE: CVE-2007-0774