Re: ptrace/kmod local root exploit STILL unresolved in 2.4.21! - MY MISTAKE

From: Bernhard Kaindl (bk@suse.de)
Date: Fri Jun 13 2003 - 17:32:04 EST


On Sat, 14 Jun 2003, Bojan Pogaèar wrote:

> I've tested this exploit in wrong way. I've first logged in as root, then I
> made "su nobody" and then exploit worked.

Maybe "nobody" isn't a "real" user in your case. If there is some problem
with it, you may end up with uid 0 after "su nobody".

check the output of the command "id" after the executiong the su command,
just to be safe in any case!

If su really worked correctly, the exploit may not even work if you
su (successfully) su'ed from root.

Bernd

> If I don't login as root at the beginning, I get operation not permited.. so
> kernel is safe after all :)
>
> Thanks 4 your time
>
>
> Best regards,
>
> Bojan Pogacar
>
>
> > Hello,
> >
> > I've upgraded my linux box to 2.4.21 because of the securety reasons. Now
> I
> > found out that old local expoloit for ptrace is stil working under 2.4.21.
> > Wasn't it fixed in RC1?
> >
> > In attachment I send you exploit, which is still working!
> >
> >
> > Best regards,
> >
> > Bojan Pogacar
> >
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:38 EST