LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Security Week: June 29th, 2009
Linux Advisory Watch: June 26th, 2009
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Gentoo: clamav Denial of service vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
Gentoo Exploit by a malformed uuencoded message would cause a denial of service for programs that rely on the clamav daemon, such as SMTP.

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@gentoo.org or alternatively, you may file a bug at 
http://bugs.gentoo.org.

 
< Prev   Next >
    
Partner:

 

Latest Features
Review: Googling Security: How Much Does Google Know About You
A Secure Nagios Server
Never Installed a Firewall on Ubuntu? Try Firestarter
Review: Hacking Exposed Linux, Third Edition
Security Features of Firefox 3.0
Review: The Book of Wireless
April 2008 Open Source Tool of the Month: sudo
Yesterday's Edition

QuickLinks: Comunity , HOWTOs , Blogs , Features , Book Reviews , Networking ,
  Security Projects ,   Latest News ,  Newsletters ,  SELinux ,  Privacy ,  Home,
 Hardening ,   About Us,   Advertise,   Legal Notice,   RSS,   Guardian Digital
  Home Security Systems, Surveillance Cameras

(c)Copyright 2009 Guardian Digital, Inc. All rights reserved.