28 Sep 15:52
Fwd: GNU tar (Re: Allot Netenforcer problems, GNU TAR flaw)
From: Solar Designer <solar@...>
Subject: Fwd: GNU tar (Re: Allot Netenforcer problems, GNU TAR flaw)
Newsgroups: gmane.comp.misc.xvendor
Date: 2002-09-28 13:52:05 GMT
Subject: Fwd: GNU tar (Re: Allot Netenforcer problems, GNU TAR flaw)
Newsgroups: gmane.comp.misc.xvendor
Date: 2002-09-28 13:52:05 GMT
JFYI (and to avoid list lag), I've just sent this to Bugtraq. As all of this is public for 1 to 4 years, I think this and GNU tar in general may be discussed on xvendor rather than vendor-sec. Paul, -- is there anything more current than tar-1.13.25 (released over a year ago)? Perhaps a CVS repository? ----- Forwarded message from Solar Designer <solar@...> ----- Date: Sat, 28 Sep 2002 17:39:33 +0400 From: Solar Designer <solar@...> To: Bencsath Boldizsar <bencsath.boldizsar@...> Cc: bugtraq@... Subject: GNU tar (Re: Allot Netenforcer problems, GNU TAR flaw) In-Reply-To: <Pine.LNX.4.44.0209270208190.21585-100000@...> User-Agent: Mutt/1.4i On Fri, Sep 27, 2002 at 02:11:07AM +0200, Bencsath Boldizsar wrote: > 2. Description of the "tar" problem > > Creating a tar file with -P option one can put any file names in the tar > file. While unpacking such tar files, tar is designed to remove leading > slash. Other security feature of the tar package is to deny deployment of > any files whose name contains "dotdot" (".."). A bug in the tar package > leads to a security flaw: > "../something" is denied by tar > "/something" leading slash is removed > "/../something" leading slash removed but ".." is NOT denied > "./../something" ".." is NOT denied. >(Continue reading)
RSS Feed