lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45643007.6040906@iki.fi>
Date: Wed, 22 Nov 2006 13:09:59 +0200
From: Teemu Salmela <teemu.salmela@....fi>
To: full-disclosure@...ts.grok.org.uk
Subject: Re: GNU tar directory traversal

Siim Põder wrote:
> And is tar supposed to overwrite arbitrary files on the filesystem when
> untaring an archieve?
>
> If I understand Teemu right, then he's found a way to create a tar file
> that would create a symlink when untared; and create further files to
> wherever the symlink points to (If this is not the case, then
> LOLOLOLOLOLOL might be in order).
>
> So, for example, I make a tar archieve that contains a symlink to
> 'bla'->'/etc' and 'bla/passwd', that - if opened by root - would
> overwrite the passwd file.
>   
Yes, this is how it works.

-- 
fscanf(socket,"%s",buf); printf(buf);
sprintf(query, "SELECT %s FROM table", buf);
sprintf(cmd, "echo %s | sqlquery", query); system(cmd);
Teemu Salmela 


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ