ClamAV < 0.94.2 cli_check_jpeg_exploit() Malformed JPEG File DoS

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


Synopsis :

The remote antivirus service is vulnerable to a denial of service
attack.

Description :

According to its version, the clamd antivirus daemon on the remote
host is earlier than 0.94.2. There is a recursive stack overflow
involving the JPEG parsing code in such versions. A remote attacker
may be able to leverage this issue to cause the application to
recursively scan a specially crafted JPEG, which will eventually cause
it to crash.

See also :

https://bugzilla.clamav.net/show_bug.cgi?id=1266
http://www.nessus.org/u?91209430

Solution :

Upgrade to ClamAV 0.94.2 or later.

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P)
CVSS Temporal Score : 4.1
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Gain a shell remotely

Nessus Plugin ID: 35009 (clamav_0_94_2.nasl)

Bugtraq ID: 32555

CVE ID: CVE-2008-5314