ClamAV clamav-milter code execution
| clamav-clamavmilter-code-execution (36263) |
Description:
Clam AntiVirus (ClamAV) could allow a remote attacker to execute arbitrary code on the system, caused by improper validation of recipient addresses extracted from email messages when using sendmail. If the clamav-milter is started with the "black hole" mode activated, a remote attacker could send a specially-crafted email with a malicious recipient address in a popen() function call to inject shell commands and execute arbitrary code on the system with root privileges.
*CVSS:
| Base Score: | 9.3 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | Complete |
| Integrity Impact: | Complete |
| Availability Impact: | Complete |
| Temporal Score: | 7.7 |
| Exploitability: | Functional |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of ClamAV (0.91.2 or later), available from SourceForge.net : Files. See References.
For SUSE Linux (clamav-milter):
Refer to SUSE-SR:2007:018 for patch, upgrade, or suggested workaround information. See References.
For Mandriva Linux (clamav):
Refer to MDKSA-2007:172 for patch, upgrade, or suggested workaround information. See References.
For Debian GNU/Linux (clamav):
Refer to DSA-1366-1 for patch, upgrade, or suggested workaround information. See References.
For Mac OS X:
Apply Security Update 2008-002, available from the Apple Web site. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- Apple Web site: About Security Update 2008-002.
- n.runs-SA-2007.025: ClamAV Remote Code Execution Advisory.
- SourceForge.net : Files: Clam AntiVirus - File Release Notes and Changelog - Release Name: 0.91.2.
- BID-25439: ClamAV Popen Function Remote Code Execution Vulnerability
- CVE-2007-4560: clamav-milter in ClamAV before 0.91.2, when run in black hole mode, allows remote attackers to execute arbitrary commands via shell metacharacters that are used in a certain popen call, involving the recipient field of sendmail.
- DSA-1366: clamav -- several vulnerabilities
- GLSA-200709-14: ClamAV: Multiple vulnerabilities
- MDKSA-2007:172: Updated clamav packages vulnerabilities
- OSVDB ID: 36909: ClamAV clamav-milter black-hole-mode Sendmail Recipient Field Arbitrary Command Execution
- SA26530: ClamAV Multiple Vulnerabilities
- SA29420: Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1018610: Clam AntiVirus clamav-milter for sendmail Unsafe popen() Call Lets Remote Users Execute Arbitrary Code
- SUSE-SR:2007:018: SUSE Security Summary Report
- VUPEN/ADV-2008-0924: Apple Mac OS X Command Execution and Security Bypass Issues
Platforms Affected:
- Apple Mac OS X Server 10.4.11
- Apple Mac OS X Server 10.5.2
- ClamAV ClamAV prior to 0.91.2
- Debian Debian Linux 4.0
- Gentoo Linux
- MandrakeSoft Mandrake Linux 2007
- MandrakeSoft Mandrake Linux 2007 X86_64
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- SUSE SuSE Linux
Reported:
Aug 21, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
