Christos Zoulas" file assert function code execution
| file-assert-code-execution (34731) |
Description:
Christos Zoulas' file and applications implementing the program, such as AMaViS, could allow a remote attacker to execute arbitrary code on the system, caused by an integer overflow when handling overly large files. A remote attacker could exploit this vulnerability by creating a specially-crafted file to bypass the assert function and execute arbitrary code on the system with the victim's privileges, once the malicious file is opened.
Platforms Affected:
- amavis.org, AMaViS prior to 4.21
- Apple, Mac OS X 10.4.11
- Apple, Mac OS X Server 10.4.11
- Avaya, AES 4.0.1
- Avaya, CCS/SES 3.1.1
- Avaya, Communication Manager 3.1
- Avaya, Communication Manager 4.x
- Avaya, Message Networking
- Avaya, Messaging Storage Server 3.x
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Canonical, Ubuntu 7.04
- Christos Zoulas, Christos Zoulas' file 4.20
- Debian, Debian Linux 3.1
- Debian, Debian Linux 4.0
- Gentoo, Linux
- Mandriva, Corporate Server 3.0 X86_64
- Mandriva, Corporate Server 3.0
- Mandriva, Corporate Server 4.0
- Mandriva, Corporate Server 4.0 X86_64
- Mandriva, Linux 2007
- Mandriva, Linux 2007 X86_64
- Mandriva, Linux 2007.1 X86_64
- Mandriva, Linux 2007.1
- Mandriva, Linux 2008.0 X86_64
- Mandriva, Multi Network Firewall 2.0
- Novell, Linux Desktop 9
- Novell, Linux POS 9
- Novell, Open Enterprise Server
- Novell, Open Enterprise Server
- Novell, OpenSUSE 10.2
- Novell, SLE SDK 10 SP1
- Novell, SUSE Linux Enterprise Desktop 10 SP1
- Novell, SUSE Linux Enterprise Server 10 SP1
- Novell, SUSE Linux Enterprise Server 10
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 5 Client Workstation
- RedHat, Enterprise Linux 5 Client
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Server
- SuSE, OpenSuSE 10.2
- SuSE, SLE SDK 10
- SuSE, SuSE SLES 9
Remedy:
For Gentoo Linux:
Refer to GLSA 200705-25 for patch, upgrade, or suggested workaround information. See References.
For AMaViS:
Refer to AMaViS Security Announcement ASA-2007-3 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux:
Refer to RHSA-2007:0391 for patch, upgrade, or suggested workaround information. See References.
For Ubuntu Linux (file):
Refer to USN-439-2 for patch, upgrade, or suggested workaround information. See References.
For Mandriva Linux (file):
Refer to MDKSA-2007:114 for patch, upgrade, or suggested workaround information. See References.
For Avaya systems installed on RHEL versions 4 and 5:
Refer to ASA-2007-290 for patch, upgrade, or suggested workaround information. See References.
For Debian Linux (file):
Refer to DSA-1343-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:
Apply the appropriate upgrade for your system. See References.
Consequences:
Gain Access
References:
- AMaViS Security Announcement ASA-2007-3, file utility integer underflow / possible DoS at http://www.amavis.org/security/asa-2007-3.txt.
- Apple Web site, About Security Update 2008-002 at http://docs.info.apple.com/article.html?artnum=307562.
- Bugzilla Bug 241022, CVE-2007-2799 file integer overflow at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=241022.
- ASA-2007-290: file security update (RHSA-2007-0391)
- BID-24146: File Multiple Denial of Service Vulnerabilities
- CVE-2007-2799: Integer overflow in the file program 4.20, when running on 32-bit systems, as used in products including The Sleuth Kit, might allow user-assisted attackers to execute arbitrary code via a large file that triggers an overflow that bypasses an assert() statement. NOTE: this issue is due to an incorrect patch for CVE-2007-1536.
- DSA-1343: file -- integer overflow
- FrSIRT/ADV-2007-2071: AMaViS Security Update Fixes File Code Execution and Denial of Service Issues
- FrSIRT/ADV-2008-0924: Apple Mac OS X Command Execution and Security Bypass Issues
- GLSA-200705-25: file: Integer overflow
- GLSA-200710-19: The Sleuth Kit: Integer underflow
- MDKSA-2007:114: Updated file packages fix vulnerabilities
- RHSA-2007-0391: Moderate: file security update
- SA25578: Amavis file Integer Underflow and Denial of Service
- SA26203: Avaya Products file "file_printf()" Integer Underflow Vulnerability
- SA29179: NetBSD file "file_printf()" Integer Underflow Vulnerability
- SA29420: Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1018140: file Integer Overflow in file_printf() May Let Local Users Execute Arbitrary Code
- SUSE-SA:2007:040: file integer overflow
- USN-439-2: file vulnerability
Reported:
May 22, 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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
