OSDN Git Service

[PATCH] prevent SIGCONT from waking up a PTRACED process (CVE-2007-4774)
authorWilly Tarreau <w@1wt.eu>
Sun, 9 Dec 2007 22:03:24 +0000 (23:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 16 Dec 2007 23:06:51 +0000 (00:06 +0100)
commitbdcb9a96032e26339dbf4aeb26ac8e81541fc7db
tree2cad0ed6dc63023ed869a776ac604e363f9b1736
parentf76d36ddb1a6da76d46185941f326739cbba5e41
[PATCH] prevent SIGCONT from waking up a PTRACED process (CVE-2007-4774)

Tavis Ormandy discovered that it was possible to bypass systrace policies
by flooding the ptraced process with SIGCONT signals. The same is possible
with SIGKILL, but obviously the attacker has to finely adjust its target
as it can only shoot once.

This issue was assigned identifier CVE-2007-4774.

The following patch fixes the SIGCONT case and adds some documentation for
authors of monitoring programs such as systrace.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Acked-by: Tavis Ormandy <taviso@sdf.lonestar.org>
Documentation/ptrace.txt [new file with mode: 0644]
kernel/signal.c