GLSA 200907-08: Multiple Ralink wireless drivers: Execution of arbitrary code

Severity:high
Title:Multiple Ralink wireless drivers: Execution of arbitrary code
Date:07/12/2009
Bugs: #257023
ID:200907-08

Synopsis

An integer overflow in multiple Ralink wireless drivers might lead to the execution of arbitrary code with elevated privileges.

Background

All listed packages are external kernel modules that provide drivers for multiple Ralink devices. ralink-rt61 is released by ralinktech.com, the other packages by the rt2x00.serialmonkey.com project.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-wireless/rt2400 <= 1.2.2_beta3 All supported architectures
net-wireless/rt2500 <= 1.1.0_pre2007071515 All supported architectures
net-wireless/rt2570 <= 20070209 All supported architectures
net-wireless/rt61 <= 1.1.0_beta2 All supported architectures
net-wireless/ralink-rt61 <= 1.1.1.0 All supported architectures

Description

Aviv reported an integer overflow in multiple Ralink wireless card drivers when processing a probe request packet with a long SSID, possibly related to an integer signedness error.

Impact

A physically proximate attacker could send specially crafted packets to a user who has wireless networking enabled, possibly resulting in the execution of arbitrary code with root privileges.

Workaround

Unload the kernel modules.

Resolution

All external kernel modules have been masked and we recommend that users unmerge those drivers. The Linux mainline kernel has equivalent support for these devices and the vulnerability has been resolved in stable versions of sys-kernel/gentoo-sources.

    # emerge --unmerge "net-wireless/rt2400"
    # emerge --unmerge "net-wireless/rt2500"
    # emerge --unmerge "net-wireless/rt2570"
    # emerge --unmerge "net-wireless/rt61"
    # emerge --unmerge "net-wireless/ralink-rt61"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200907-08.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!