Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




fulldisclosure logo Full Disclosure mailing list archives

Re: Linux kernel source archive vulnerable
From: coderpunk <coderpunk () gmail com>
Date: Mon, 11 Sep 2006 15:05:32 -0700

On 9/8/06, Gerald (Jerry) Carter <jerry () samba org> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
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.

http://marc.theaimsgroup.com/?l=linux-kernel&m=114635639325551&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=113304241100330&w=2



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-2.6.17.11.tar.bz2 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.

.cp

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]