Security vulnerability in sudo's netmask function patched (The H)
[Posted May 17, 2012 by jake]
The H
reports on a
vulnerability in sudo when it is configured for IP-based restrictions on users (typically only for centrally managed
sudoers files). "
When the developers added IPv6 support, they inadvertently made the matching routine used for IPv4 networks call the IPv6 matching routines when no IPv4 match was found. Because the IPv6 fields would be uninitialised, it was possible for the system to think it had found a match where there wasn't one. Finding a match would, in turn, mean permission would be granted for whatever command the rule was controlling, even when the system was on a different network."
(
Log in to post comments)