ports/128749: [vuxml] VBA parser vulnerability in ClamAV < 0.94.1

Eygene Ryabinkin rea-fbsd at codelabs.ru
Mon Nov 10 11:20:05 UTC 2008

>Number:         128749
>Category:       ports
>Synopsis:       [vuxml] VBA parser vulnerability in ClamAV < 0.94.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 10 11:20:02 UTC 2008
>Originator:     Eygene Ryabinkin
>Release:        FreeBSD 7.1-PRERELEASE i386
Code Labs

System: FreeBSD 7.1-PRERELEASE i386


As was recently reported in the BugTraq list, VBA parser in ClamAV is
contains the off-by-one overflow and can lead to the arbitrary code
execution within the clamd process.

VBA component seem to be unconditionally included to the libclamav
and OLE2 scanning is "on" by-default.




The following VuXML entry describes this issue:
--- vuln.xml begins here ---
  <vuln vid="">
    <topic>clamav -- off-by-one heap overflow in VBA project parser</topic>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>Advisory from Moritz Jodeit, November 8th, 2008:</p>
	<blockquote cite="http://www.securityfocus.com/archive/1/498169/30/0/threaded">
	  <p>ClamAV contains an off-by-one heap overflow vulnerability
	  in the code responsible for parsing VBA project files.
	  Successful exploitation could allow an attacker to execute
	  arbitrary code with the privileges of the `clamd' process by
	  sending an email with a prepared attachment.</p>
	  <p>A VBA project file embedded inside an OLE2 office document
	  send as an attachment can trigger the off-by-one.</p>
	<p>Entry from Thu Oct 30 13:52:42 CET 2008 (acab) in ChangeLog:</p>
	<blockquote cite="http://svn.clamav.net/svn/clamav-devel/trunk/ChangeLog">
	  <p>libclamav/vba_extract.c: get_unicode_name off-by-one,
	  bb#1239 reported by Moritz Jodeit >moritz*jodeit.org<</p>
--- vuln.xml ends here ---

FreeBSD port itself is already at 0.94.1, so it is fully patched.

More information about the freebsd-ports-bugs mailing list