FreeBSD : clamav -- possible heap overflow in the UPX code (612a34ec-81dc-11da-a043-0002a5c3d308)

high Nessus Plugin ID 21439

Synopsis

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

Description

The Zero Day Initiative reports :

This vulnerability allows remote attackers to execute arbitrary code on vulnerable Clam AntiVirus installations. Authentication is not required to exploit this vulnerability.

This specific flaw exists within libclamav/upx.c during the unpacking of executable files compressed with UPX. Due to an invalid size calculation during a data copy from the user-controlled file to heap allocated memory, an exploitable memory corruption condition is created.

Solution

Update the affected packages.

See Also

http://lurker.clamav.net/message/20060109.213247.a16ae8db.en.html

https://www.zerodayinitiative.com/advisories/ZDI-06-001.html

http://www.nessus.org/u?9dcd38ff

Plugin Details

Severity: High

ID: 21439

File Name: freebsd_pkg_612a34ec81dc11daa0430002a5c3d308.nasl

Version: 1.17

Type: local

Published: 5/13/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:clamav, p-cpe:/a:freebsd:freebsd:clamav-devel, cpe:/o:freebsd:freebsd

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/10/2006

Vulnerability Publication Date: 1/9/2006

Reference Information

CVE: CVE-2006-0162

BID: 16191

Secunia: 18379