Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200405-03 ] ClamAV VirusEvent parameter vulnerability
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Tue May 11, 2004 8:28 pm    Post subject: [ GLSA 200405-03 ] ClamAV VirusEvent parameter vulnerability Reply with quote

Gentoo Linux Security Advisory

Title: ClamAV VirusEvent parameter vulnerability (GLSA 200405-03)
Severity: high
Exploitable: remote
Date: May 11, 2004
Updated: May 22, 2006
Bug(s): #46264
ID: 200405-03

Synopsis

With a specific configuration (using %f in the VirusEvent parameter), Clam AntiVirus is vulnerable to an attack allowing execution of arbitrary commands.

Background

From http://www.clamav.net/ : "Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of this software is the integration with mail servers (attachment scanning). The package provides a flexible and scalable multi-threaded daemon, a command line scanner, and a tool for automatic updating via Internet. The programs are based on a shared library distributed with the Clam AntiVirus package, which you can use with your own software. Most importantly, the virus database is kept up to date."

Affected Packages

Package: app-antivirus/clamav
Vulnerable: < 0.70
Unaffected: >= 0.70
Architectures: All supported architectures


Description

The VirusEvent parameter in the clamav.conf configuration file allows to specify a system command to run whenever a virus is found. This system command can make use of the "%f" parameter which is replaced by the name of the file infected. The name of the file scanned is under control of the attacker and is not sufficiently checked. Version 0.70 of clamav disables the use of the "%f" parameter.

Impact

Sending a virus with a malicious file name can result in execution of arbirary system commands with the rights of the antivirus process. Since clamav is often associated to mail servers for email scanning, this attack can be used remotely.

Workaround

You should not use the "%f" parameter in your VirusEvent configuration.

Resolution

All users of Clam AntiVirus should upgrade to the latest stable version:
Code:
# emerge sync
# emerge -pv ">=app-antivirus/clamav-0.70"
# emerge ">=app-antivirus/clamav-0.70"


References

CVE-2004-1876


Last edited by GLSA on Sat Aug 23, 2008 4:16 am; edited 4 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum