Users login

Create an account »

JOIN XATRIX

Users login

Home » Security Advisories» OpenPKG » Tar arbitrary command execution

Tar arbitrary command execution

According to a bug report from Jim Meyering, a remote overflow exists in the GNU Tape Archiver. GNU Tar fails to properly handle PAX extended headers resulting in a buffer overflow. With a specially crafted Tar format archive, an attacker can cause arbitrary command execution when the victim lists the Tar contents or extracts the archive.

  • Vendor: OpenPKG
  • Vendor ID: SA-2006.006
  • Date: March 03, 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

________________________________________________________________________

OpenPKG Security Advisory The OpenPKG Project
http://www.openpkg.org/security.html http://www.openpkg.org
[email protected] [email protected]
OpenPKG-SA-2006.006 05-Mar-2006
________________________________________________________________________

Package: tar
Vulnerability: crazy tar vulnerability
OpenPKG Specific: no

Affected Releases: Affected Packages: Corrected Packages:
OpenPKG CURRENT <= tar-1.15.1-20050131 >= tar-1.15.1-20060305
OpenPKG 2.5 <= tar-1.15.1-2.5.0 >= tar-1.15.1-2.5.1
OpenPKG 2.4 <= tar-1.15.1-2.4.0 >= tar-1.15.1-2.4.1
OpenPKG 2.3 <= tar-1.15.1-2.3.0 >= tar-1.15.1-2.3.1

Description:
According to a bug report from Jim Meyering [0], a remote overflow
exists in the GNU Tape Archiver (Tar). GNU Tar fails to properly
handle PAX extended headers resulting in a buffer overflow. With a
specially crafted Tar format archive, an attacker can cause arbitrary
command execution when the victim lists the Tar contents or extracts
the archive. The Common Vulnerabilities and Exposures (CVE) project
assigned the id CVE-2006-0300 [2] to the problem.
________________________________________________________________________

References:
[0] http://lists.gnu.org/archive/html/bug-tar/2005-06/msg00029.html
[1] http://www.gnu.org/software/tar/
[2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0300
________________________________________________________________________

For security reasons, this advisory was digitally signed with the
OpenPGP public key "OpenPKG " (ID 63C4CB9F) of the
OpenPKG project which you can retrieve from http://pgp.openpkg.org and
hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/
for details on how to verify the integrity of this advisory.
________________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Comment: OpenPKG

iD8DBQFECzaVgHWT4GPEy58RAqIPAJ97xcRXBoVoXyoTVPMfsb9J7+CgPgCg8ToY
hrKJzn82bsrojmCfVloN/eM=
=nL44
-----END PGP SIGNATURE-----

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »