Aircrack-ng contains a buffer overflow that could lead to the remote execution of arbitrary code with root privileges.
|Package||net-wireless/aircrack-ng on all architectures|
|Affected versions||< 0.7-r2|
|Unaffected versions||>= 0.7-r2|
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:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-wireless/aircrack-ng-0.7-r2"
April 22, 2007
April 22, 2007: 01