SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   Tar Vendors:   GNU [multiple authors]
(Red Hat Issues Fix) GNU tar contains_dot_dot() Directory Traversal Bug Lets Remote Users Overwrite Files
SecurityTracker Alert ID:  1018600
SecurityTracker URL:  http://securitytracker.com/id/1018600
CVE Reference:   CVE-2007-4131   (Links to External Site)
Date:  Aug 23 2007
Impact:   Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   A vulnerability was reported in GNU tar. A remote user can cause files to be overwritten on the target user's system.

A remote user can create a specially crafted tar archive that, when extracted by the target user, will overwrite arbitrary files on the target user's system with the privileges of the target user.

The vulnerability resides in the contains_dot_dot() function and occurs in the processing of directory symlinks.

Dmitry V. Levin reported this vulnerability.

Impact:   A remote user can create a file that, when loaded by the target user, will overwrite files on the target user's system with the privileges of the target user.
Solution:   Red Hat has released a fix.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2007-0860.html

Vendor URL:  www.gnu.org/software/tar (Links to External Site)
Cause:   Input validation error
Underlying OS:   Linux (Red Hat Enterprise)

Message History:   This archive entry is a follow-up to the message listed below.
Aug 23 2007 GNU tar contains_dot_dot() Directory Traversal Bug Lets Remote Users Overwrite Files



 Source Message Contents

Date:  Thu, 23 Aug 2007 08:58:22 -0400
Subject:  [RHSA-2007:0860-01] Moderate: tar security update


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

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Moderate: tar security update
Advisory ID:       RHSA-2007:0860-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2007-0860.html
Issue date:        2007-08-23
Updated on:        2007-08-23
Product:           Red Hat Enterprise Linux
Keywords:          symlink path traversal
CVE Names:         CVE-2007-4131 
- ---------------------------------------------------------------------

1. Summary:

Updated tar package that fixes a path traversal flaw is now available.

This update has been rated as having moderate security impact by the Red Hat
Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64

3. Problem description:

The GNU tar program saves many files together in one archive and can
restore individual files (or all of the files) from that archive. 

A path traversal flaw was discovered in the way GNU tar extracted archives.
A malicious user could create a tar archive that could write to arbitrary
files to which the user running GNU tar had write access. (CVE-2007-4131)

Red Hat would like to thank Dmitry V. Levin for reporting this issue.

Users of tar should upgrade to this updated package, which contains a
replacement backported patch to correct this issue.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

5. Bug IDs fixed (http://bugzilla.redhat.com/):

251921 - CVE-2007-4131 tar directory traversal vulnerability

6. RPMs required:

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/tar-1.14-12.5.1.RHEL4.src.rpm
4cfff37413ea6e3705c1c6626e3dc4d2  tar-1.14-12.5.1.RHEL4.src.rpm

i386:
87969426d39204739ccb8d167175f6ff  tar-1.14-12.5.1.RHEL4.i386.rpm
8ace84439fed673b42aeb7de3c7a9373  tar-debuginfo-1.14-12.5.1.RHEL4.i386.rpm

ia64:
7b87e3117a4462f7474c6552e0754950  tar-1.14-12.5.1.RHEL4.ia64.rpm
6bca94f6bb90158cea5e69d512800c01  tar-debuginfo-1.14-12.5.1.RHEL4.ia64.rpm

ppc:
19d17b1237ac535046610b151a89056e  tar-1.14-12.5.1.RHEL4.ppc.rpm
4a09c682416096a96bb1f5d66ef7f0d4  tar-debuginfo-1.14-12.5.1.RHEL4.ppc.rpm

s390:
60663a237022be37edee7aaa4cdeb0a0  tar-1.14-12.5.1.RHEL4.s390.rpm
1d0a3442befd28b96be7904d82bf8c25  tar-debuginfo-1.14-12.5.1.RHEL4.s390.rpm

s390x:
d6256b8644864ff2c04d8c5c68360b4f  tar-1.14-12.5.1.RHEL4.s390x.rpm
1cf61b918294b63110f5fc17ee787d1b  tar-debuginfo-1.14-12.5.1.RHEL4.s390x.rpm

x86_64:
253c53990cc612781107e07fb2f96a56  tar-1.14-12.5.1.RHEL4.x86_64.rpm
cbc599e4dabe030318f4c2eb9a05da53  tar-debuginfo-1.14-12.5.1.RHEL4.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/tar-1.14-12.5.1.RHEL4.src.rpm
4cfff37413ea6e3705c1c6626e3dc4d2  tar-1.14-12.5.1.RHEL4.src.rpm

i386:
87969426d39204739ccb8d167175f6ff  tar-1.14-12.5.1.RHEL4.i386.rpm
8ace84439fed673b42aeb7de3c7a9373  tar-debuginfo-1.14-12.5.1.RHEL4.i386.rpm

x86_64:
253c53990cc612781107e07fb2f96a56  tar-1.14-12.5.1.RHEL4.x86_64.rpm
cbc599e4dabe030318f4c2eb9a05da53  tar-debuginfo-1.14-12.5.1.RHEL4.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/tar-1.14-12.5.1.RHEL4.src.rpm
4cfff37413ea6e3705c1c6626e3dc4d2  tar-1.14-12.5.1.RHEL4.src.rpm

i386:
87969426d39204739ccb8d167175f6ff  tar-1.14-12.5.1.RHEL4.i386.rpm
8ace84439fed673b42aeb7de3c7a9373  tar-debuginfo-1.14-12.5.1.RHEL4.i386.rpm

ia64:
7b87e3117a4462f7474c6552e0754950  tar-1.14-12.5.1.RHEL4.ia64.rpm
6bca94f6bb90158cea5e69d512800c01  tar-debuginfo-1.14-12.5.1.RHEL4.ia64.rpm

x86_64:
253c53990cc612781107e07fb2f96a56  tar-1.14-12.5.1.RHEL4.x86_64.rpm
cbc599e4dabe030318f4c2eb9a05da53  tar-debuginfo-1.14-12.5.1.RHEL4.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/tar-1.14-12.5.1.RHEL4.src.rpm
4cfff37413ea6e3705c1c6626e3dc4d2  tar-1.14-12.5.1.RHEL4.src.rpm

i386:
87969426d39204739ccb8d167175f6ff  tar-1.14-12.5.1.RHEL4.i386.rpm
8ace84439fed673b42aeb7de3c7a9373  tar-debuginfo-1.14-12.5.1.RHEL4.i386.rpm

ia64:
7b87e3117a4462f7474c6552e0754950  tar-1.14-12.5.1.RHEL4.ia64.rpm
6bca94f6bb90158cea5e69d512800c01  tar-debuginfo-1.14-12.5.1.RHEL4.ia64.rpm

x86_64:
253c53990cc612781107e07fb2f96a56  tar-1.14-12.5.1.RHEL4.x86_64.rpm
cbc599e4dabe030318f4c2eb9a05da53  tar-debuginfo-1.14-12.5.1.RHEL4.x86_64.rpm

Red Hat Enterprise Linux Desktop (v. 5 client):

SRPMS:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/tar-1.15.1-23.0.1.el5.src.rpm
71404af2e3ee182ae0ceb49c5022c25a  tar-1.15.1-23.0.1.el5.src.rpm

i386:
bef674d7f4a7c2b8ab199f3b0e4ffbf4  tar-1.15.1-23.0.1.el5.i386.rpm
18bbfd3ebd9d7bdbc5cedd575508e11a  tar-debuginfo-1.15.1-23.0.1.el5.i386.rpm

x86_64:
4e4d8558cf8ee07dcb764b68686754e5  tar-1.15.1-23.0.1.el5.x86_64.rpm
1c398dbd4c6b0f462f41c9a4669e7902  tar-debuginfo-1.15.1-23.0.1.el5.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

SRPMS:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/tar-1.15.1-23.0.1.el5.src.rpm
71404af2e3ee182ae0ceb49c5022c25a  tar-1.15.1-23.0.1.el5.src.rpm

i386:
bef674d7f4a7c2b8ab199f3b0e4ffbf4  tar-1.15.1-23.0.1.el5.i386.rpm
18bbfd3ebd9d7bdbc5cedd575508e11a  tar-debuginfo-1.15.1-23.0.1.el5.i386.rpm

ia64:
e286f927ee594d632a89aed5e84c466d  tar-1.15.1-23.0.1.el5.ia64.rpm
7405e317c14ac36323d4866075be4a7e  tar-debuginfo-1.15.1-23.0.1.el5.ia64.rpm

ppc:
1425da0fe798ccbbd6955fad756a0b3e  tar-1.15.1-23.0.1.el5.ppc.rpm
1f1eb67ab55d912d0c2a86b0206cf688  tar-debuginfo-1.15.1-23.0.1.el5.ppc.rpm

s390x:
2befefb377c312ca3331d20bab123354  tar-1.15.1-23.0.1.el5.s390x.rpm
6b7337fa1f6b9789f1d0eb169b86dea9  tar-debuginfo-1.15.1-23.0.1.el5.s390x.rpm

x86_64:
4e4d8558cf8ee07dcb764b68686754e5  tar-1.15.1-23.0.1.el5.x86_64.rpm
1c398dbd4c6b0f462f41c9a4669e7902  tar-debuginfo-1.15.1-23.0.1.el5.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4131
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2007 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFGzYRVXlSAg2UNWIIRAlVLAKCgv15Y6U8nfbAAkndhvRpASoXKRgCfSCF0
493VWf1WVxv5FNLZTvITS7w=
=aDfC
-----END PGP SIGNATURE-----



-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2013, SecurityGlobal.net LLC