Aircrack-ng: Remote execution of arbitrary code — GLSA 200704-16

Aircrack-ng contains a buffer overflow that could lead to the remote execution of arbitrary code with root privileges.

Affected packages

net-wireless/aircrack-ng on all architectures
Affected versions < 0.7-r2
Unaffected versions >= 0.7-r2

Background

Aircrack-ng is an 802.11 WEP and WPA-PSK keys cracking program that can recover keys once enough data packets have been captured.

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All Aircrack-ng users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-wireless/aircrack-ng-0.7-r2"

References

Release date
April 22, 2007

Latest revision
April 22, 2007: 01

Severity
high

Exploitable
remote

Bugzilla entries