Thread (2 messages) 2 messages, 2 authors, 2011-03-15

Re: [PATCH] ipv6: netfilter: ip6_tables: fix infoleak to userspace

flat view

From: Patrick McHardy <hidden>
Date: 2011-03-15 12:37:47
Also in: lkml, netfilter-devel

On 10.03.2011 19:13, Vasiliy Kulikov wrote:
Structures ip6t_replace, compat_ip6t_replace, and xt_get_revision are
copied from userspace.  Fields of these structs that are
zero-terminated strings are not checked.  When they are used as argument
to a format string containing "%s" in request_module(), some sensitive
information is leaked to userspace via argument of spawned modprobe
process.

The first bug was introduced before the git epoch;  the second was
introduced in 3bc3fe5e (v2.6.25-rc1);  the third is introduced by
6b7d31fc (v2.6.15-rc1).  To trigger the bug one should have
CAP_NET_ADMIN.
Also applied, thanks Vasiliy.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help