Slashdot Log In
Code Execution Bug In Broadcom Wi-Fi Driver
Posted by
Zonk
on Sun Nov 12, 2006 06:10 AM
from the catch-that-insect dept.
from the catch-that-insect dept.
2U*U2 writes to mention an EWeek article about an entry in the Month of Kernel Bugs. John Ellch has discovered a critical vulnerability in the Broadcom wireless driver: a driver used in machines from HP, Dell, Gateway, and eMachines. From the article: "[The bug] is a stack-based buffer overflow in the Broadcom BCMWL5.SYS wireless device driver that could be exploited by attackers to take complete control of a Wi-Fi-enabled laptop. The vulnerability is caused by improper handling of 802.11 probe responses containing a long SSID field and can lead to arbitrary kernel-mode code execution. The volunteer ZERT (Zero Day Emergency Response Team) warns that the flaw could be exploited wirelessly if a vulnerable machine is within range of the attacker."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Thanks (Score:5, Funny)
Here, I'll help:
Code Execution Bug in Broadcom Wi-Fi Windows Driver
Re:NDISWrapper (Score:3, Informative)
Re: (Score:2, Interesting)
Dont quote me. I dont have a Broadcom wireless.
Anyway the flaw wouldnt affect Linux systems. Why? Different kernel.
Re:NDISWrapper (Score:5, Informative)
Parent
Re: (Score:3, Informative)
They want to , but bcm43xx is still unstable in long term use for some chips. It will work happily for a few hours, or even days and then something bad happens (ranging from dropped connections to panics). A lot of people have blacklisted this driver and gone back to Ndiswrapper [google.co.uk] , (eg new installs of Mandriva 2007, Ubuntu 6.06).
I personally had the bcm43xx drivers cause system instability with two very different machines an
Re: (Score:3, Informative)
currently I think its officially listed as unsupported (11Mbs and 18Dbm)in ubuntu. Using ndiswrapper the driver forces the card from mode0 to mode2 and the card works reliably at 54Mbs and transmits at 25Dbm.
whats mode0 whats mode2 you could ask broadcom but they don't answer. Personally I would boycott Broadcom products and go for a more linux friendly companys chipset such as ralink, unfortunately with
Re: (Score:3, Interesting)
"BCMWL5.SYS" (Score:5, Funny)
Parent
Re: (Score:3, Interesting)
Re: (Score:2)
Well crap. (Score:5, Funny)
Checklist for today:
So... (Score:4, Insightful)
Re: (Score:3, Interesting)
Re:So... (Score:4, Interesting)
"He still hasn't disclosed any information on a bug in apple-supplied wireless drivers for apple-supported wireless devices..."
Nor are they obligated to. Odds are that the presentation had the desired effect and there was no need to proceed further.
"...even though he was offered stuff for actually proving what he'd said (John Gruber, for example, offered to give him two brand-new fresh-out-of-the-box macbooks if he managed to hack them)"
No, here's the link:
http://daringfireball.net/2006/09/open_challenge [daringfireball.net]
Gruber challenged them to hack a macbook (not two) with many stipulations. The challenge was to be videotaped and the conditioned were not under the control of the hackers. If the challenge was not met, the hackers would have to pay for the machine. The results of the videotaping were the property of John Gruber.
There are plenty of reasons for not accepting the challenge. They may have felt that there would be too much risk that they didn't want to accept, they may have not given a shit about John Gruber (likely), they may not have wanted to contributed to his pro-Apple site, or they may have had no interest in the lame reward offered. A macbook may be exciting to you and John Gruber but probably not to them.
Just because additional details were not provided on demand to Apple loyalists does not mean that vulnerabilities didn't exist. IMO the test configuration was chosen because it was the easiest one to demonstrate the flaw. That doesn't mean it's the only one that contains the flaw though Apple apologists have always insisted otherwise.
Parent
Re: (Score:3, Insightful)
In what way am I deluding myself? In every conceivable way, the hackers in question have failed to give me any reason to believe they actually had an exploit against Apple's AirPort drivers.
Sure, it's *possible* they really had an exploit, and they just don't care if anyone believes them. But given they've not given me a reason to believe them, why on earth should I?
Even worse, they've never even made it clear EXACTLY WHAT their claim is. In other words, they've never st
But which OS!? (Score:5, Informative)
Admittedly, the article to which this newspost links also doesn't mention this until the third or fourth paragraph or so.
At first I thought the article was about the Linux kernel, in that case I would have wanted a (global) list of the OS's/versions affected as well, because my laptop might have been vulnerable in that case!
So, I assume it's just Windows XP SP2 (and probably older SP's), or other versions as well?
Re: (Score:2, Funny)
Please never scare me again like this, for a moment i thought Windows was more secure than Linux...
Kind of makes me glad I've got homeplug.. (Score:3, Interesting)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
for home have relied on the meter to handle the cross-over between phases, etc. If you've
got two meters, I suspect you'd need a bridge of some type like the X10 booster bridge for
homes to bridge them all without mixing the power from each feed.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
is a little bit of folly. No, you can't have the article's attack made on you.
But as the parent poster has pointed out, you're not as protected as you think-
someone can snoop in on your traffic if they've got their own home plug and can
tap into either phase of the two-phase 220v circuit comng into your house.
With clever enough hardware they wouldn't even need to do that- it emits enough
RF-like signal...
Fixed wiring Ethernet is pr
What about those phone-home laptops? (Score:2)
The feature is supposed to be impossible to turn off (for obvious reasons).
How long before someone finds a bug ion one of those? Won't that be fun, a vulnerability you cannot turn off
Broadcom neglegance (Score:2, Insightful)
Which is it Broadcom? Either way it is neglegance. Im tired of developers spouting hot air about being Accountable, Responsible and Reliable etc blah blah and especially practicing good engineering and hearing design patterns yawn. I hear it every day, I worked as a dev and left it as its the same old shit every day day in day out, same for test.
We have tools, run them, we have practices, use them.
If those are not good enough, retoo
User space device drivers (Score:5, Insightful)
Will this help? (Score:2)
In some cases it could be that the user would have access to all network cards, which would mean that from a virus/spam sending/worm point of view the computer will be usefull to the hacker, even if it is otherwise secure.
Maybe keyloggers will be prevented, and writing to the disc, i.e. malware surviving the next reboot. But in general it seems to me
Re: (Score:2, Insightful)
Re: (Score:2)
More details at... (Score:5, Informative)
http://isc.sans.org/diary.php?storyid=1845&isc=2e
Or look at the Month of Kernel Bugs site itself:
http://projects.info-pull.com/mokb/MOKB-11-11-200
Separate stack (Score:2)
The added cost in processing time should be quite negligile, as long as simple, fixed-size data, such as integers, are still on the main stack.
Re: (Score:2)
Re: (Score:2)
Depending on various considerations you might define, for example, that integers, floats, chars, booleans and pointers go on the main stack, along with all data types that have been defined to be implemented as these types. Everything else goes on the second stack. Thus, for example, all arrays go on the sec
Re: (Score:2)
There would be a special part of heap space that would grow and shrink as a stack. This special area could be very similar to the ordinary heap, with the difference that allocation and deallocation is very much faster, since it grows and shrinks as a stack.
With this arrangement, dynamically linked modules don't necessarily need to be aware of the second stack.
It's a design decision... (Score:2)
they were originally intended for. In the case of C, the machines in question only had one hardware stack, so they
intermingled the subroutine return state with the parameters, etc. for speed's sake. Implementing a second stack
in software would have been problematic because it would have added extra performance issues and ate into the
register store (you want to probably reserve a register for th
Workaround for non-Linksys devices (Score:5, Informative)
Please stop using C. (Score:2)
(and please I do not want to hear 'but Linux is so safe', because it is not).
Link to previous post:
http://it.slashdot.org/comments.pl?sid=204783&cid
Re:Please stop using C. (Score:5, Insightful)
It's not that simple. C is used in high performance code specifically because it's fast and compact. You get these improvements by avoiding needless length checking. Obviously there are cases where you _do_ need to length check buffers (and exploits are the result of not doing this), but you don't have to length check everything. If you ditch C in favour of a language that does the length checking for you then you will sacrifice speed and compactness since it will be checking _everything_.
What language would you suggest is more suitable for writing high performance kernel code?
Parent
Puh-lease. (Score:5, Informative)
C is, essentially, portable assembly language. I love it -- it's one of the languages I know the best, and I continue to work in it. However, I'd love to see the use of Cyclone or special compile-time checked languages for the essentials. I think most device drivers could be easily rewritten to be bullet-proof (stack overflow) this way, and such languages are easier to do state machine analysis on (since most device drivers are simple pieces of software that control the state of the hardware). Provably correct operating system design is not a theory, but no one seems to be interested.
Parent
Re:Please stop using C. - Duh (Score:2)
Thats like saying guns kill people.
Stupid people are the problem, not the tools.
Re: (Score:2)
Re: (Score:2)
It has to be said... (Score:2, Insightful)
buffer overflows... (Score:2)
Re: (Score:2)
Are they even the biggest remote security problem these days, with cross-site scripting and SQL injection running rampant?
It works because it's free and it can, Re:Linux (Score:2, Interesting)
Does my "reverse engineered" linux driver have this bug?
Probably not. If it does, it will be fixed soon.
Why is it that a bunch of people who don't get paid come up with bug-free solutions?
It gets fixed because it's free and therefore it can be. Non free software writers put up with NDA's and code they can't share even if they wanted to. Their code is owned and so their effort and good will is likewise owned. Free software writers are free to share their tools as well as their improvements, so it'
Re: (Score:2)
Re: (Score:2)
the firmware layer for the device.