|
BugTraq
Re: [Full-disclosure] Linux kernel source archive vulnerable Sep 07 2006 07:22PM Raj Mathur (raju linux-delhi org) (2 replies) Re: [Full-disclosure] Linux kernel source archive vulnerable Sep 07 2006 08:01PM hadmut danisch de (Hadmut Danisch) |
|
Privacy Statement |
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>>>>>> "Hadmut" == Hadmut Danisch <hadmut (at) danisch (dot) de [email concealed]> writes:
>
> Hadmut> [snip]
>
> Hadmut> When unpacking such an archive, tar also sets the uid,
> Hadmut> gid, and file permissions given in the tar
> Hadmut> archive. Unfortunately, plenty of files and directories in
> Hadmut> that archive are world writable. E.g. in the 2.6.17.11
> Hadmut> archive, there are 1201 world writable directories and
> Hadmut> 19554 world writable files.
>
> I wouldn't know if something has changed drastically between 2.6.16
> and 2.6.17.11, but:
>
> raju@mail:~$ find /usr/src/linux-2.6.16/ -perm -666 ! -type l
> raju@mail:~$
>
> Not a single world-writable file or directory. Perhaps pre-release
> kernel tarballs are more lax?
Seems to. I just checked linux-2.6.13 and linux-2.6.17.6. While the
first has no world writeable files or directories at all the latter
has tons of it. Interesting.
Cheers,
Chris Kronberg.
[ reply ]