Skip Navigation

  • Home
  • Contact us
  • FAQ
  • Glossary
  • Public key
  • Sitemap
  • Cymraeg
  • What's new
CPNI - Centre for the Protection of National Infastructure

Advanced search

  • About CPNI
  • The threats
  • Security planning
  • Methods of attack
  • Protecting your assets
  • Products and services
    • CSIRTUK advisories
      • Advisories archive
    • General protective security publications
    • InfoSec briefings
    • InfoSec technical notes
    • InfoSec vulnerability disclosures
    • Good practice guidelines
    • Viewpoints
    • Information exchanges
  • Research
Home > Products and services > CSIRTUK advisories > Advisories archive > March 2008 > 3579 - CERT-FI and CPNI Joint Vulnerability Advisory on Archive Formats

March 2008

3579 - CERT-FI and CPNI Joint Vulnerability Advisory on Archive Formats

ID: 3579
Date: 17/03/2008

Title: 3579 - CERT-FI and CPNI Joint Vulnerability Advisory on Archive Formats
Platform level affected:Operating System
Hardware components affected:Other
Specific operating systems components affected: Other
Net-enabled software: Other
Security software:Other
Other software: Other
Remediation Summary:Other
Vendors affected:N/A
Applications affected:programs that handle the archive formats ACE, ARJ, BZ2, CAB, GZ, LHA, RAR, TAR, ZIP and ZOO
Adversity source: Unknown
Attack Vector: Vulnerability exploitation
Virulence: Unknown
Warning Status: Active
Potential Damage: Network DOS
Possible Duration: Open Ended
Availability of fix: Available
Type of fix: Patch
Source: CERT-FI and CPNI
Reliability of source: Trusted
Source URL: www.cert.fi
Abstract: The vulnerabilities described in this advisory can potentially affect programs that handle the archive formats ACE, ARJ, BZ2, CAB, GZ, LHA, RAR, TAR, ZIP and ZOO.

Vulnerability Research in Archive Formats

Version Information

-------------------

Advisory Reference CERT-FI: 20469

CPNI: 072928

CERT/CC: VU#813451

Release Date 17 March 2008 12:00 UTC

Last Revision 3 March 2008

Version Number 0.5

Acknowledgement

---------------

The Test Suite was provided by the Oulu University Secure Programming Group (OUSPG) at the University of Oulu in Finland.

What is Affected?

-----------------

The vulnerabilities described in this advisory can potentially affect programs that handle the archive formats ACE, ARJ, BZ2, CAB, GZ, LHA, RAR, TAR, ZIP and ZOO.

The Test Suite contains a set of fuzzed archive files in different formats, some of which may cause and some that are known to cause problems in common tools processing archived content. These include:

* Content inspection products such as anti-virus and stateful firewalls

* Encryption products (VPN, PGP)

* Backup software

* Office programs

* Operating systems and libraries

Impact

------

The impact of this research varies by vendor. Please see the 'Vendor Information'

section below for further information. Alternatively, contact your vendor for product specific information.

The impact from vulnerabilities identified as part of this research, can potentially expose Denial-of-Service (DoS) and/or buffer overflow conditions. In some cases, it may even be possible for an attacker to execute code on the affected system.

Severity

--------

The severity of this research varies by vendor. Please see the 'Vendor Information'

section below for further information. Alternatively, contact your vendor for product specific information.

Summary

-------

The University of Oulu Security Programming Group (OUSPG) has been working on a piece of research, known as the PROTOS Genome Project (GENOME), since January 2005. The objective of GENOME was an attempt to test the implementations of arbitrary, possibly unknown, protocols by using model assisted fuzzing to generate test materials.

As part of GENOME, OUSPG began looking at archive formats. These formats are typically used to archive files and directories and compress them into smaller, compact packages that can then be stored or transmitted via various media in a convenient and economical manner.

During the initial research on archive formats, OUSPG identified that most implementations evaluated failed to perform in a robust manner. Some failures had security implications and hence should be identified as vulnerabilities.

In order to ensure products that support these formats are robust to any vulnerabilities that may be discovered as part of this research, the Test Suite was made available to multiple vendors so that they could use it to test their implementations.

Details

--------

Archive formats are typically used to perform one of the following functions:

(1) To hold one or more archived files. Most archive formats are also capable of storing folders in order to reconstruct the file/folder relationship when extracted.

(2) To compress one or more files and folders into a single file for backup or transport.

These formats, which includes extensions such as ACE, ARJ, BZ2, CAB, GZ, LHA, RAR, TAR, ZIP and ZOO, are usually platform-independent and are supported by a variety of implementations, including many anti-virus products.

It is for this reason that archive formats were chosen as the subject of further investigation as part of PROTOS GENOME. In this approach, a set of valid files is first collected, then a program is used to analyse the structure of these files, yielding a rough model of the underlying file format. This model is then used to generate similar files, which often have modifications that would be extremely unlikely to appear in a valid file.

Usually programs should simply report that the files are invalid and resume operation in a controlled manner. However behaviour such as program termination, altered behaviour and infinite loops can indicate unintentional, and in many cases, exploitable errors.

Mitigation

----------

Please refer to the 'Vendor Information' section of this advisory for platform specific mitigation.

Solution

--------

Please refer to the 'Vendor Information' section of this advisory for platform specific remediation.

References

----------

TBA

Vendor Information

------------------

Vendor Vulnerable?
Fixed version or URL
7-zip Yes
4.5.7

Aladdin

Not Vulnerable


AOL
Unknown
Apple
Not Vulnerable
Astaro Unknown
BeCubed Unknown
bzip2 Yes
1.0.5
Checkpoint Unknown
Cisco Unknown
Citrix Not Vulnerable
ConeXware Unknown
Crossbeam Systems Unknown
Debian Yes

http://www.debian.org/security/2008/dsa-1455

Entrust Unknown
Ericsson Unknown
ESTsoft Unknown
Eazel Unknown
F-Secure Yes

http://www.f-secure.com/security/fsc-2008-2.shtml

FreeBSD Yes

http://security.freebsd.org/advisories/FreeBSD-SA-07:05.libarchive.asc

Gentoo Yes

http://security.gentoo.org/glsa/glsa-200708-03.xml

Gfi Not Vulnerable
Google Unknown
Grisoft Unknown
HP Unknown
IBM Unknown
Inner Media Unknown
Insta Unknown
Isode Unknown
Kaspersky Unknown
Microsoft Not Vulnerable
Mozilla Unknown
Nixu Oy Unknown
Nokia Unknown
Nortel Unknown
Oracle Not Vulnerable
Python Unknown
RARLAB Yes
3.71
Rising Antivirus Unknown
S60Zip Not Vulnerable
Secgo Not Vulnerable
Siemens Unknown
SonicWALL Unknown
Sophos Unknown
Sourcefire Unknown
SUSE Yes

http://www.novell.com/linux/security/advisories/2007_15_sr.html

Stonesoft Unknown
Sun Microsystems Unknown
Symantec Not Vulnerable
TeamF1 Unknown
TightVNC Unknown
VeriSign Unknown
WinGate Unknown
WinZip Unknown
Wind River
Unknown

Vendor Statements

-----------------

Aladdin

No statement at this time

Apple

Our tests did not indicate any problems in Apple software running the test cases provided.

bzip2

One test case has been found to cause problems with bzip2. It has been fixed in version 1.0.5.

Citrix

No statement at this time

F-Secure

No statement at this time

Gfi

No statement at this time

Microsoft

No statement at this time

Oracle

No statement at this time

RARLAB

Potential problems were found in WinRAR 3.70 code for almost all formats included in the test suite except ZOO, which is not supported by WinRAR.

RARLAB did not investigate exploitability and severity of found problems.

All potential problems were fixed regardless of their severity. All these fixes were included in WinRAR 3.71.

S60Zip

S60Zip uses the API provided by the platform to decompress .zip files.

Secgo

No statement at this time

Symantec

We have done extensive testing against your test suite. We have verified that none of our products are vulnerable.

Credits

-------

CERT-FI and the CPNI Vulnerability Team would like to thank OUSPG for making the Test Suite available to vendors.

CERT-FI and the CPNI Vulnerability Team would also like to thank the vendors for their co-operation and to JPCERT/CC for co-ordinating this issue in Japan.

Contact Information

-------------------

CERT-FI Vulnerability Coordination can be contacted as follows:

Email vulncoord@ficora.fi

Please quote the advisory reference in the subject line

Telephone +358 9 6966 510

Monday - Friday 08:00 - 16:15 (EET: UTC+2)

Fax +358 9 6966 515

Post Vulnerability Coordination

FICORA/CERT-FI

P.O. Box 313

FI-00181 Helsinki

FINLAND

CERT-FI encourages those who wish to communicate via email to make use of our PGP key.

The key is available at https://www.cert.fi/en/activities/contact/pgp-keys.html

The CPNI Vulnerability Management Team can be contacted as follows:

Email VulTeam@cpni.gsi.gov.uk

Please quote the advisory reference in the subject line

Telephone +44 (0)870 487 0748 Ext 4511

Monday - Friday 08:30 - 17:00

Fax +44 (0)870 487 0749

Post Vulnerability Management Team

CPNI

PO Box 60628

London

SW1P 1HA

We encourage those who wish to communicate via email to make use of our PGP key. The key is available at http://www.cpni.gov.uk/key.aspx.

Please note that UK government protectively marked material should not be sent to the email address above.

If you wish to be added to our email distribution list please email your request to infosec@cpni.gov.uk.

What are CPNI and CERT-FI?

--------------------------

For further information regarding the Finnish National CERT Team, CERT-FI, please visit http://www.cert.fi/en/index.html

For further information regarding the Centre for the Protection of National Infrastructure, please visit http://www.cpni.gov.uk.

This advisory contains information released by the original author. Some of the information may have changed since it was released. If the issue affects you, it may be prudent to retrieve the advisory from the site of the original source to ensure that you receive the most current information concerning that problem. Reference to any specific commercial product, process, or service by trade name, trademark manufacturer, or otherwise, does not constitute or imply its endorsement, recommendation, or favouring by CPNI.

The views and opinions of authors expressed within this notice shall not be used for advertising or product endorsement purposes. CPNI shall not accept responsibility for any errors or omissions contained within this advisory. In particular, they shall not be liable for any loss or damage whatsoever, arising from or in connection with the usage of information contained within this advisory.

CSIRTUK is a member of the Forum of Incident Response and Security Teams (FIRST) and has contacts with other international Incident Response Teams (IRTs) in order to foster cooperation and coordination in incident prevention, to prompt rapid reaction to incidents, and to promote information sharing amongst its members and the community at large.

Mon, 17 Mar 2008 12:00:00 GMT
Domain affected: Technical
  • Accessibility |
  • Terms and conditions |
  • Privacy statement |
  • Data protection act |
  • Freedom of information |