what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

iDEFENSE Security Advisory 2005-07-14.t

iDEFENSE Security Advisory 2005-07-14.t
Posted Jul 15, 2005
Authored by iDefense Labs | Site idefense.com

iDEFENSE Security Advisory 07.14.05 - Remote exploitation of a denial of service vulnerability in Sophos Plc.'s Sophos Anti-Virus engine allows attackers to exhaust CPU resources on the target system and prevent further scans.

tags | advisory, remote, denial of service, virus
advisories | CVE-2005-1530
SHA-256 | 2a8946c3b9df51b01bc6e379804825998e4fd961626a87001b54c92113fcf935

iDEFENSE Security Advisory 2005-07-14.t

Change Mirror Download
Sophos Anti-Virus Zip File Handling DoS Vulnerability

iDEFENSE Security Advisory 07.14.05
www.idefense.com/application/poi/display?id=283&type=vulnerabilities
July 14, 2005

I. BACKGROUND

Sophos Small Business Suite includes the Sophos PureMessage Small
Business Edition, combining virus and spam protection for the email
gateway, and Sophos Anti-Virus Small Business Edition, which offers
desktop and server defense against the virus threat. More information
is available at:

https://www.sophos.com

II. DESCRIPTION

Remote exploitation of a denial of service vulnerability in
Sophos Plc.'s Sophos Anti-Virus engine allows attackers to exhaust CPU
resources on the target system and prevent further scans.

The problem specifically exists in the handling of Zip files compressed
using the BZIP2 algorithm. When scanning within a BZIP2 archive the
Sophos engine will not perform any sanity checks on the 'Extra field
length' value. By specifying an abnormally large value for this field
the analysis routine is forced into an infinite loop leading to CPU
exhaustion. The following is a hex dump of an example file that will
trigger the issue:

00 50 4b 03 04 0a 00 00 00 0c 00 5c 84 67 32 5b 26 |PK........\.g2[&|
10 b9 09 01 00 00 00 01 00 00 00 03 00 ff ff 66 6f |..............fo|
20 6f 55 54 09 00 03 a0 74 2c 42 a1 74 2c 42 55 78 |oUT....t,B.t,BUx|
30 04 00 e8 03 e8 03 2a 50 4b 01 02 17 03 0a 00 00 |......*PK.......|
40 00 00 00 5c 84 67 32 5b 26 b9 09 01 00 00 00 01 |...\.g2[&.......|
50 00 00 00 03 00 0d 00 00 00 00 00 01 00 00 00 a4 |................|
60 81 00 00 00 00 66 6f 6f 55 54 05 00 03 a0 74 2c |.....fooUT....t,|
70 42 55 78 00 00 50 4b 05 06 00 00 00 00 01 00 01 |BUx..PK.........|
80 00 3e 00 00 00 37 00 00 00 00 00 |.>...7.....|

Bytes 08-09: Compression method - 0x000c == BZIP2 algorithm
Bytes 28-29: Extra field length - 0xffff

The function BZ2_decompress(), among others, is called within the
infinite loop.

III. ANALYSIS

Successful exploitation allows remote attackers to trigger a denial of
service condition on the target system. Remote exploitation can be
achieved by sending a malicious file in an e-mail message or during an
HTTP session. Exploitation is only possible if the 'Scan inside archive
files' option is enabled. This is not a default option but is a common
setting. Both Unix and Windows systems running a vulnerable version of
Sophos Anti-Virus are affected.

IV. DETECTION

iDEFENSE has confirmed the existence of this vulnerability against
Sophos Anti-Virus version 5.0.1. Exploitation is reliant on the
non-default option "Scan inside archive files" found under the
"On-access scanning" configuration panel. It has been reported that
Sophos Anti-Virus versions 3.91 and 3.90 are also vulnerable. It is
suspected that earlier versions are also susceptible to exploitation.
The vulnerability exists across both the Unix and Microsoft Windows
platforms.

V. WORKAROUND

Disable the "Scan inside archive files" option until a vendor fix is
made available.

VI. VENDOR RESPONSE

"We have now included protection against this vulnerability into the
latest versions of Sophos Anti-Virus on Windows, UNIX, Linux, Netware,
OpenVMS and Mac OSX (version 3.95.0 on all those platforms as well as
version 5.0.4 on Windows 2000/XP/2003 and versions 4.5.3 on Windows NT
and Windows 95/98/Me) as well as into the latest updated versions of
PureMessage for UNIX, PureMessage for Windows/Exchange and MailMonitor
(any version running anti-virus engine 2.30.4 or above)

All of these versions would be updated automatically to customers using
our automatic updating through EM Library or direct from Sophos.

They are also available to customers to download at
https://www.sophos.com/support/updates"

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2005-1530 to this issue. This is a candidate for inclusion in
the CVE list (https://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

05/12/2005 Initial vendor notification
05/16/2005 Initial vendor response
07/14/2005 Public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
https://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
https://labs.idefense.com

X. LEGAL NOTICES

Copyright (c) 2005 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close