Bug 427285 (CVE-2007-6595) - CVE-2007-6595 clamav insecure /tmp file use
Summary: CVE-2007-6595 clamav insecure /tmp file use
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CVE-2007-6595
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://nvd.nist.gov/nvd.cfm?cvename=C...
Whiteboard:
Depends On: 427287 427288 427289
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-02 19:44 UTC by Lubomir Kundrak
Modified: 2008-04-25 08:50 UTC (History)
2 users (show)

Fixed In Version: clamav-0.92.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-25 08:50:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Lubomir Kundrak 2008-01-02 19:44:18 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2007-6595 to the following vulnerability:

ClamAV 0.92 allows local users to overwrite arbitrary files via a symlink attack on (1) temporary files in the cli_gentempfd function in libclamav/others.c or on (2) .ascii files in sigtool, when utf16-decode is enabled.

References:

http://www.securityfocus.com/archive/1/archive/1/485631/100/0/threaded
http://www.securityfocus.com/bid/27064

Comment 2 Lubomir Kundrak 2008-01-08 18:44:50 UTC
Ping on this -- Any chance this will get addressed soon?

Comment 3 Lubomir Kundrak 2008-01-08 18:45:26 UTC
http://bugs.gentoo.org/show_bug.cgi?id=204340

Comment 5 Tomas Hoger 2008-03-17 18:21:23 UTC
(2) remains unfixed upstream

Comment 6 Tomas Hoger 2008-04-24 18:29:52 UTC
Upstream bug report for this issue:

https://wwws.clamav.net/bugzilla/show_bug.cgi?id=752

Moreover, upstream does not consider vector (2) as security issue:

http://lurker.clamav.net/message/20080102.195717.b4bbdef2.en.html

  Sigtool is primarily a tool for signature database developers and by no
  means it was designed to be run with SUID/SGID bits set. There is no
  practical exploitation of this "vulnerability" and it should not be
  considered a security issue.


Comment 7 Tomas Hoger 2008-04-25 08:50:30 UTC
Issue (1) - more important of the two - was fixed in upstream version 0.92.1.

Isuse (2) is not considered as security issue by upstream, as documented in
comment #6.  It can only be exploited if signature author uses sigtool in world
/ group writable directory.  Moreover, there are probably one or two other
similar issues in sigtool - at least race during *.info file creation seems
possible.

Given the upstream statement, I'm closing this as currentrelease - clamav-0.92.1.


Note You need to log in before you can comment on or make changes to this bug.