From: "Manfred Spraul" <manfred@colorfullife.com>
To: "\"Kitwor\"" <kitwor@kki.net.pl>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: PROBLEM: old exploit works!!!
Date: Tue, 9 Oct 2001 22:59:40 +0200 [thread overview]
Message-ID: <001401c15105$544ea0d0$010411ac@local> (raw)
> Old exploit which works on kernels up to 2.2.18 (itr doesn't work on 2.2.19)
> works on 2.4.9!!
> I attach that exploit.
> [snip]
> if (check_execve(victim, filename))
> goto exit;
>
> (void)waitpid(victim, NULL, WUNTRACED);
> if (ptrace(PTRACE_CONT, victim, 0, 0)) {
It doesn't work, only the behaviour changed:
Linux now ignores the setuid bit if you try to ptrace a setuid app (idea from FreeBSD).
Up to 2.2.18 [and 2.4.0-pre?], it tried to return an error message if you try to ptrace a setuid app, and there was a race window
between the test (must be early, since it tries to return an error code) and the actual uid change. I haven't checked how it was
fixed in 2.2.19.
--
Manfred
next reply other threads:[~2001-10-09 20:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-09 20:59 Manfred Spraul [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-09 19:48 PROBLEM: old exploit works!!! Kitwor
2001-10-09 20:16 ` Richard B. Johnson
2001-10-09 20:32 ` Fabbione
2001-10-09 20:52 ` Richard B. Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001401c15105$544ea0d0$010411ac@local' \
--to=manfred@colorfullife.com \
--cc=kitwor@kki.net.pl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox