[Full-disclosure] Re: Linux kernel source archive vulnerable

On 9/8/06, Gerald (Jerry) Carter <jerry@xxxxxxxxx> wrote:
Hash: SHA1

Hadmut Danisch wrote:
> Hi,
> there's a severe vulnerability in the Linux kernel
> source code archives:

It is my understanding that the permissions are
intentionally set that way.

This hash been discussed several times over the
past year.


I skimmed them and it doesn't look like anyone has come up with a
reasonable explanation.

> The Linux kernel is distributed as tar archives
> in the form of linux- from kernel.org.
> It is usually unpacked, configured and compiled
> under /usr/src. Since installing a new kernel
> requires root privileges, this is usually done as root.

The standard recommendation is to never compile
the kernel as root.

Which obviously doesn't help you when a non-root user edits the
kernel, you compile it as 'jerry' but still have to install it as
'root'. You're still hosed.

Is this an artifact of using git? There certainly is NO reason for any
kernel files to be world writable.


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