Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [NEWS] ClamAV libclamav MEW PE File Integer Overflow Vulnerability |
|---|---|
| Date: | 20 Dec 2007 17:30:07 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - ClamAV libclamav MEW PE File Integer Overflow Vulnerability ------------------------------------------------------------------------ SUMMARY <http://www.clamav.net/> Clam AntiVirus is "a multi-platform anti-virus toolkit released under the GNU Public License. ClamAV is often integrated into e-mail gateways and used to scan e-mail messages for viruses. PE, or portable executable, is the executable file format on Microsoft Windows systems. MEW is one of the many executable packers that is supported by ClamAV". Remote exploitation of an integer overflow vulnerability in Clam AntiVirus' ClamAV, as included in various vendors' operating system distributions, allows attackers to execute arbitrary code with the privileges of the affected process. DETAILS Vulnerable Systems: * ClamAV version 0.91.2 Immune Systems: * ClamAV version 0.92 The vulnerability exists within the code responsible for parsing PE files packed with the MEW packer. During unpacking, two untrusted values are taken directly from the file without being validated. These values are later used in an arithmetic operation to calculate the size used to allocate a heap buffer. This calculation can overflow, resulting in a buffer of insufficient size being allocated. This later leads to arbitrary areas of memory being overwritten with attacker supplied data. Analysis: Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the process using libclamav. In the case of the clamd program, this will result in code execution with the privileges of the clamav user. Unsuccessful exploitation results in the clamd process crashing. Workaround: Disabling the scanning of PE files will prevent exploitation. If using clamscan, this can be done by running clamscan with the '--no-pe' option. If using clamdscan, set the 'ScanPE' option in the clamd.conf file to 'no'. CVE Information: <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5759> CVE-2007-5759 Disclosure timeline: 10/17/2007 - Initial vendor notification 10/18/2007 - Initial vendor response 12/18/2007 - Coordinated public disclosure ADDITIONAL INFORMATION The information has been provided by iDefense Labs. The original article can be found at: <http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=634> http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=634 ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NEWS] Adobe Flash Player ActiveX Control Universal Cross-Site Scripting Vulnerability, SecuriTeam |
|---|---|
| Next by Date: | [UNIX] Apple Mac OS X mount_smbfs Stack Based Buffer Overflow Vulnerability, SecuriTeam |
| Previous by Thread: | [NEWS] Adobe Flash Player ActiveX Control Universal Cross-Site Scripting Vulnerability, SecuriTeam |
| Next by Thread: | [UNIX] Apple Mac OS X mount_smbfs Stack Based Buffer Overflow Vulnerability, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |