lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <403365AD.4030809@gentoo.org>
From: plasmaroo at gentoo.org (Tim Yamin)
Subject: [ GLSA 200402-07 ] Clamav 0.65 DoS vulnerability

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200402-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~                                            http://security.gentoo.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

~  Severity: Normal
~     Title: Clamav 0.65 DoS vulnerability
~      Date: February 11, 2004
~      Bugs: #41248
~        ID: 200402-07

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Oliver Eikemeier has reported a vulnerability in clamav, which can be
exploited by a malformed uuencoded message causing a denial of service
for programs that rely on the clamav daemon, such as SMTP daemons.

Background
==========

Clam AntiVirus is a GPLed anti-virus toolkit, designed for integration
with mail servers to perform attachment scanning. Clam AV also provides
a command line scanner and a tool for fetching updates of the virus
database.

Description
===========

Oliver Eikemeier of Fillmore Labs discovered the overflow in Clam AV
0.65 when it handled malformed UUEncoded messages, causing the daemon to
shut down.

The problem originated in libclamav which calculates the line length of
an uuencoded message by taking the ASCII value of the first character
minus 64 while doing an assertion if the length is not in the allowed
range, effectively terminating the calling program as clamav would not
be available.

Impact
======

A malformed message such as the one below would cause a denial of
service, and depending on the server configuration this may impact other
daemons relying on Clam AV in a fatal manner.

To exploit the vulnerability, you can add the following [ excluding the
two lines ] to ~/clamtest.mbox:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~From -

begin 644 byebye
byebye
end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Then do "clamscan --mbox -v ~/clamtest.mbox" or "clamdscan -v
~/clamtest.mbox; ps ax | grep clam": the former will cause an assertion
and a segmentation fault, the latter would cause the daemon to shut down.

Workaround
==========

There is no immediate workaround, a software upgrade is required.

Resolution
==========

All users are urged to upgrade their Clam AV installations to Clam AV 0.67:

~    # emerge sync
~    # emerge -pv ">=net-mail/clamav-0.6.7"
~    # emerge ">=net-mail/clamav-0.6.7"

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@...too.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAM2WoMMXbAy2b2EIRAs5AAKCdFwwNjAn9N+/XWItkTlOS+RmFzQCg527H
biZdE9YEL8aD1XsF3VnAesM=
=vvEP
-----END PGP SIGNATURE-----


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ