Aircrack-ng: Remote execution of arbitrary code
Gentoo Linux Security Advisory
||GLSA 200704-16 / aircrack-ng
||April 22, 2007
||April 22, 2007: 01
All supported architectures
Aircrack-ng contains a buffer overflow that could lead to the remote
execution of arbitrary code with root privileges.
Aircrack-ng is an 802.11 WEP and WPA-PSK keys cracking program that can
recover keys once enough data packets have been captured.
Jonathan So reported that the airodump-ng module does not correctly
check the size of 802.11 authentication packets before copying them
into a buffer.
A remote attacker could trigger a stack-based buffer overflow by
sending a specially crafted 802.11 authentication packet to a user
running airodump-ng with the -w (--write) option. This could lead to
the remote execution of arbitrary code with the permissions of the user
running airodump-ng, which is typically the root user.
There is no known workaround at this time.
All Aircrack-ng users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-wireless/aircrack-ng-0.7-r2"