[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45008967.7010303@kennedyinfo.com>
Date: Thu, 07 Sep 2006 17:04:39 -0400
From: Troy Cregger <tcregger@...nedyinfo.com>
To: full-disclosure@...ts.grok.org.uk
Subject: Re: Linux kernel source archive vulnerable
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
kernel-2.6.17-gentoo-r7 seems OK.
$ find /usr/src/linux-2.6.17-gentoo-r7/ -perm -666 ! -type l | wc -l
0
$
Hadmut Danisch wrote:
> On Fri, Sep 08, 2006 at 12:52:22AM +0530, Raj Mathur wrote:
>> I wouldn't know if something has changed drastically between 2.6.16
>> and 2.6.17.11, but:
>>
>> raju@...l:~$ find /usr/src/linux-2.6.16/ -perm -666 ! -type l
>> raju@...l:~$
>>
>> Not a single world-writable file or directory. Perhaps pre-release
>> kernel tarballs are more lax?
>
>
> On my machine (I also have a 2.6.16):
>
> # find /usr/src/linux-2.6.16/ -perm -666 ! -type l | wc -l
> 20434
>
>
>
>
> Just to doublecheck I wrote a script which parses the kernel tar:
>
> pax_global_header 52 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/ 0 b mode=777 uid= 0 gid= 0
> linux-2.6.17.11/.gitignore 462 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/COPYING 18693 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/CREDITS 89536 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/ 0 b mode=777 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/00-INDEX 10581 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/BUG-HUNTING 7249 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/Changes 11655 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/CodingStyle 17843 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/DMA-API.txt 21291 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/DMA-ISA-LPC.txt 5332 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/DMA-mapping.txt 32801 b mode=666 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/DocBook/ 0 b mode=777 uid= 0 gid= 0
> linux-2.6.17.11/Documentation/DocBook/.gitignore 35 b mode=666 uid= 0 gid= 0
> ...
>
>
> A friend of mine confirmed to also have world writable dirs and files.
>
> regards
> Hadmut
>
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/
- --
Troy Cregger
Lead Developer, Technical Products.
Kennedy Information, Inc
One Phoenix Mill Ln, Fl 3
Peterborough, NH 03458
(603)924-0900 ext 662
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFAIlnnBEWLrrYRl8RAv6aAJ9A7zDWEpLBsyoXUSL58VD+JB/GNACdHp8i
m2gBFN3sKtntK01fzKoByIQ=
=s/NR
-----END PGP SIGNATURE-----
_______________________________________________
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