linux
Report a problem

Wi-Fi Bug Found in Linux

Slimy   on 14 April 2007 - 18:04 · 21 comments & 11161 views

Advertisement (Why?)
Laurent Butti, a researcher from France Telecom Orange, found a flaw in a major Linux Wi-Fi driver that can allow an attacker to take control of a laptop – even when it is not on a Wi-Fi network. At last month's Black Hat conference in Amsterdam, he detailed the flaw saying it affects the widely used MadWi-Fi Linux kernel device driver for Atheros-based Wi-Fi chipsets. "You may be vulnerable if you do not manually patch your MadWi-Fi driver," said Butti. Before making it public, he shared the flaw with the MadWi-Fi development team, who have released a patch. However, not all Linux distributions have yet built the patch into their code, said Butti.

There have not been many Linux Wi-Fi device drivers, and this is apparently the first remotely executable Wi-Fi bug. The kernel stack-overflow bug lets an attacker run malicious code, and can be used even if the machine is not actively on a Wi-Fi network, according to Butti, who used "fuzzing" techniques which had been shown by David Maynor and "Johnny Cache" Jon Ellch, at last year's Black Hat USA conference, and previously exploited on Windows and Macintosh systems.

News source: PC World

Post a comment · Send to friend Comments · There are 21 additional comments
(2 replies) #1 Ricardo Clérigo on 14 Apr 2007 - 18:31
<SARCASM>Mmm I thought Linux didn't have bugs....</SARCASM>

Now some people know how it feels when OS security issues get mistaken by driver security issues.

Quick, run windows update and get the latest patch.... oh wait.
#1.1 zivan56 on 15 Apr 2007 - 03:29
Yeah...oh wait...it's not a bug in the kernel, but rather a 3rd party partially closed source driver.
#1.2 Symphony on 15 Apr 2007 - 18:17
Correct Ricardo

Nothing is better than using an OS which is full of 0.2.8 alfa components. But at least it is open-source so a 12 year old script kiddie can make a fine "update" for your system, and don't forget: it is free, you can "freely" spend weeks inside slovak/german/spanish/korean forums to make your hardware work as it should. Hurray for the penguin.
#2 macrosslover on 14 Apr 2007 - 18:41
OMG say it ain't so
(5 replies) #3 kyro on 14 Apr 2007 - 19:16
nice:- its not linux kernel bug but third party one
good:- they released patch too.
best:- dont use madwifi driver at all intel wifi chip da best.
#3.1 zivan56 on 15 Apr 2007 - 03:32
You are joking, right? The Atheros chips are among the best, and have been used for years for very long distance communication (50+km). In fact, almost all industry wifi networks use their chips. The Linux drivers, although partially closed source, are the best wireless drivers out there. The Intel drivers and chips on the other hand are crap. For starters, they don't support anything but ad-hoc and managed mode.
I guess if you look at it from a basic wireless users point of view, I can see why you would think they are good. But in reality, the Intel wireless stuff is very basic and doesn't even provice full 802.11 functionality.
#3.2 kyro on 15 Apr 2007 - 12:49
Quote - (zivan56 said @ #3.1)
You are joking, right? The Atheros chips are among the best, and have been used for years for very long distance communication (50+km). In fact, almost all industry wifi networks use their chips. The Linux drivers, although partially closed source, are the best wireless drivers out there. The Intel drivers and chips on the other hand are crap. For starters, they don't support anything but ad-hoc and managed mode.
I guess if you look at it from a basic wireless users point of view, I can see why you would think they are good. But in reality, the Intel wireless stuff is very basic and doesn't even provice full 802.11 functionality.


===============================

suse@susebox:~> dmesg | grep atheros
suse@susebox:~> dmesg | grep intel
intel_rng: FWH not detected
ieee80211: Copyright © 2004-2005 Intel Corporation <jketreno@linux.intel.com>
suse@susebox:~>

==============================

This tells me i got no prob.
#3.3 zivan56 on 15 Apr 2007 - 19:00
And how is that a reply to my post?
#3.4 S7un7 on 16 Apr 2007 - 15:04
First off, Intel chips are not that great. Computer manufacturers just use them because they are cheap and they work. Google Atheros, and see how many people switched from Intel to Atheros and noticed a HUGE improvement and that they are never using Intel again. Atheros chips have so many configurations. Check out stealth mode. With the right card and access point, and a little work, it is possible to create an access point that is undetectable. I'm not talking about hiding the SSID, with this NO ONE but you can see it.
#3.5 kyro on 16 Apr 2007 - 21:13
Quote - (S7un7 said @ #3.4)
First off, Intel chips are not that great. Computer manufacturers just use them because they are cheap and they work. Google Atheros, and see how many people switched from Intel to Atheros and noticed a HUGE improvement and that they are never using Intel again. Atheros chips have so many configurations. Check out stealth mode. With the right card and access point, and a little work, it is possible to create an access point that is undetectable. I'm not talking about hiding the SSID, with this NO ONE but you can see it.


intaresting
(2 replies) #4 MR_Candyman on 14 Apr 2007 - 19:30
I use the madwifi drivers, and honestly, I'm not the lest bit concerned with patching this. It'll get utomatically included in an update and I'll never have to worry about it. Nobody in any sort of proximity has any clue what linux actually is, let alone how to exploit this bug.
#4.1 NightmarE D on 14 Apr 2007 - 19:40
Not to sound like a jerk - I use Linux, but not as my main OS - this is one of the things about Linux users that bug me. You're soo sure that your systems will never get hacked or anything. You're too sure of Linux. Now this flaw has been made public. It now puts you at risk. Not saying you'll get hacked by someone, it's actually a rare thing for most users of any OS who know what they're doing. I'm just saying, you shouldn't be soo confident simply because you're using Limux.
#4.2 MR_Candyman on 14 Apr 2007 - 20:27
I'm confident because I live in Red Deer, Alberta, Canada

Land of rednecks, hicks, and cowboys. Most people here don't even know how to run windows, let alone know how to do anything destructive, especially to a small remote flaw in linux. Even if there were quite a few linux users and more savvy people around I wouldn't be TOO worried (though I'd probably patch anyways), just because it's one specific driver and not everyone uses it. It'd be kind of a complete waste of time (not to mention usually obvious) to hunt those specific people who use this chipset and haven't patched.
(1 reply) #5 +d4v1d05 on 14 Apr 2007 - 21:58
Hmm, I don't use MadWifi, but uhh, isn't this a bug in MADWIFI, not a bug in Linux, that'd be like you posting a flaw in say intel wifi drivers as "Wi-Fi Bug Found in Windows" ?

Surely also this bug will only affect the current user, so you'd have to be an idiot and logged in as root for it to do any serious damage?
#5.1 The_Decryptor on 15 Apr 2007 - 03:03
Considering the driver would be running in kernel space (i assume), they would most likely have root user type access.
#6 TenebraruM on 14 Apr 2007 - 23:11
Wait a minute, MadWi-Fi? Where's that?

cd /usr/src/linux/lin*r5*
#make menuconfig

Nope, nothing there.

I can write a malicious driver for Windows. Does that in itself mean there's a security bug in Windows?
#7 N1CK on 15 Apr 2007 - 02:35
Pathetic. This type of reporting really, really irks me as it is pure FUD.

This is just a headline, and therefore hits and revenue grabbing exercise!

First off, this vulnerability is more than four months old, being publicly known from the 6th December 2006 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6332 .

And, more importantly, as others have said, it is not a bug in Linux (the kernel) rather one in a third party driver.

Similar flaws have been found in Intel, Broadcom and Atheros drivers under the Windows platform, but reporters didn't go around claiming "Wi-Fi Bug Found in Windows"

Not impressed...
(3 replies) #8 +tunafish on 15 Apr 2007 - 17:31
oh noes the linux os got a bug, go cry elsewere as thats whats irking me
#8.1 zivan56 on 15 Apr 2007 - 19:01
Quote - (tunafish said @ #
oh noes the linux os got a bug, go cry elsewere as thats whats irking me

Wow, your lack of knowledge is sad...it's not a linux problem, but a 3rd party driver problem. Would you blame Microsoft if your usb scanner driver had a security hole?
#8.2 +tunafish on 16 Apr 2007 - 12:06
Quote - (zivan56 said @ #8.1)
Quote - (tunafish said @ #
oh noes the linux os got a bug, go cry elsewere as thats whats irking me

Wow, your lack of knowledge is sad...it's not a linux problem, but a 3rd party driver problem. Would you blame Microsoft if your usb scanner driver had a security hole?


well your lack of sarcasm is sad
so right away you just presume i use windows? all i can say to you is go to hell
#8.3 zivan56 on 16 Apr 2007 - 18:01
Quote - (tunafish said @ #8.2)
Quote - (zivan56 said @ #8.1)
Quote - (tunafish said @ #
oh noes the linux os got a bug, go cry elsewere as thats whats irking me

Wow, your lack of knowledge is sad...it's not a linux problem, but a 3rd party driver problem. Would you blame Microsoft if your usb scanner driver had a security hole?


well your lack of sarcasm is sad
so right away you just presume i use windows? all i can say to you is go to hell


I don't see any sarcasm there, rather, you trying to cover up FUD that you posted. Think before you post. And telling me to go to hell just proves that you know nothing about the subject and are trying to avoid a fact based argument in order to avoid showing your lack of knowledge.

Commenting has either been disabled on this article or you are not logged in. Click here to login or register, its free!

Note: Anonymous commenting is disabled in order to keep the quality of responses to a high standard.

Advertisement (Why?)