Christos Zoulas file assert function code execution

file-assert-code-execution (34731) The risk level is classified as HighHigh Risk

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.

*CVSS:

Base Score: 8
  Access Vector: Remote
  Access Complexity: High
  Authentication: Not Required
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 5.9
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

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.

References:

  • AMaViS Security Announcement ASA-2007-3: file utility integer underflow / possible DoS.
  • Apple Web site: About Security Update 2008-002.
  • Bugzilla Bug 241022: CVE-2007-2799 file integer overflow.
  • 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
  • GLSA-200705-25: file: Integer overflow
  • GLSA-200710-19: The Sleuth Kit: Integer underflow
  • MDKSA-2007:114: Updated file packages fix vulnerabilities
  • OSVDB ID: 38498: GNU file File Handling Local Overflow
  • 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

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 Application Enablement Services 4.0.1
  • Avaya Communication Manager 3.1
  • Avaya Communication Manager 3.1.1
  • Avaya Communication Manager 4.0
  • Avaya Communication Manager 4.0.1
  • Avaya Communication Manager 4.0.3
  • Avaya Converged Communications Server 3.1.1
  • Avaya Message Networking
  • Avaya Message Storage Server 3.0
  • 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
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • 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
  • MandrakeSoft Mandrake 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 SLE SDK 10
  • Novell SUSE Linux Enterprise Desktop 10 SP1
  • Novell SUSE Linux Enterprise Server 10 SP1
  • Novell SUSE Linux Enterprise Server 10
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4.5.z ES
  • RedHat Enterprise Linux 4.5.z AS
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Server
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5 Client Workstation
  • SuSE SuSE SLES 9

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 (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

Return to the main page

* 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.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.