|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: local root on linux 2.2.15
From: Peter van Dijk (petervd
VUURWERK.NL)Date: Wed Jun 07 2000 - 17:38:14 CDT
- Next message: Codex: "SessionWall-3 Paper + (links to) code"
- Previous message: Sergio Bruder: "Conectiva Linux Security Announcement - cdrecord"
- Next in thread: Wojciech Purczynski: "Re: local root on linux 2.2.15"
- Reply: Wojciech Purczynski: "Re: local root on linux 2.2.15"
- Reply: Rogier Wolff: "Re: local root on linux 2.2.15"
- Reply: der Mouse: "Re: local root on linux 2.2.15"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I do not have complete info right now, but here's the scoop:
Local users can gain root thru a _kernel_ bug in linux 2.2.15 and some
earlier versions. This is fixed in 2.2.16pre6. Linux 2.0.x is not
vulnerable, I do not know of any other vulnerable OSes.
The bug is that is it somehow possible to exec sendmail without the
CAP_SETUID priv, which makes the setuid() call that sendmail eventually
does to drop privs, fail. Big chunks of code that were never meant to run
as root then do run as root, which is ofcourse easily exploitable then.
This is just about all the info I have, I do not have the exploit but I
know that some black hats do have it. A couple of boxes already got
completely trashed after being rooted through this hole, which is why I am
making this public right now.
I did not discover this bug, I only extrapolated from the small info I had:
'it has to do with capsuid' 'sendmail is vulnerable, crond is not'. Some
reading of the kernel source then suggested the above to me, which has been
confirmed by a more knowledgeable source.
Greetz, Peter.
-- petervdvuurwerk.nl - Peter van Dijk [student:developer:madly in love]
- application/pgp-signature attachment: stored
- Next message: Codex: "SessionWall-3 Paper + (links to) code"
- Previous message: Sergio Bruder: "Conectiva Linux Security Announcement - cdrecord"
- Next in thread: Wojciech Purczynski: "Re: local root on linux 2.2.15"
- Reply: Wojciech Purczynski: "Re: local root on linux 2.2.15"
- Reply: Rogier Wolff: "Re: local root on linux 2.2.15"
- Reply: der Mouse: "Re: local root on linux 2.2.15"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]