Samba Hit By 'Highly Critical' Vulnerability
sawky puck writes "Researchers at Secunia have flagged a 'highly critical' vulnerability in Samba, the widely deployed open-source software for networked file sharing and printing. Successful exploitation allows execution of arbitrary code by tricking a user into connecting to a malicious server (e.g. by clicking an 'smb://' link) or by sending specially crafted packets to an 'nmbd' server configured as a local or domain master browser. This issue affects both Samba client and server installations."
Here's the assigned Common Vulnerabilities and Exposures - "Boundary failure when parsing SMB responses can result in a buffer overrun"
Hulk SMASH Celiac Disease
I guess I better take all of my samba servers off the internet!
<snark/>
Salut,
Jacques
Because there's nothing about Samba in 2008-003.
Check the samba lists. It's already been fixed and the Debian team should be sending a patched version of samba to their repos for downstream distros either last night or some time today. It's already been rolled in to 3.0.30, IIRC.
If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.
I sure know I have a highly critical vulnerability to a pretty Brazillian lady doing the Samba, eh gents?
More Twoson than Cupertino
"Boundary failure when parsing SMB responses can result in a buffer overrun"
Does this apply to a particular CPU/MMU compiler combination or is it generic across all systems? Is it technically possible to design a system that is immune to buffer overruns or, by default, fails safe, as in not allowing any old code to walk all over the address space.
davecb5620@gmail.com
Samba isn't Windows, this isn't a Windows vulnerability. Thanks for playing. Try again.
Samba != Windows
FAIL
Every network I've been on and even some of my current company's ISPs have a policy of blocking all traffic to ports 137 and 139.
Those types of filters prevent anyone following a smb:// link outside their network.
I think this is from way back in the day when remote MS Windows SMB/NMB exploits were a dime a dozen and/or network admins wanted to make sure files weren't being shared to the world.
"There is the NX bit, but you'd have to know about how far the buffer can overrun"
.. This work makes the kernel immune to buffer overruns, dangling pointers, and other memory error vulnerabilities"
"we adapted the memory safety techniques from the SAFECode project
davecb5620@gmail.com
I noticed recently that Samba was deprecated in the kernel and that you're supposed to use CIFS. But this is for mounting...what about the servers. Is there a CIFS server for Linux...I know there is one for Solaris.
"Arbitrary" code will see lots of 'permission denied' errors as it tries to do evil.
I'll bet all those people using SAMBA are really happy they didn't use Windows servers instead. Teh FOSS community can obviously do a better job!
Looks like SAMBA might need at least one more set of eyes!
Lunix: got r00t?
... drove me to switch from Redhat 4 to Debian while cleaning up from a remote root compromise. Granted, it was pretty entertaining discovering the rootkit and tracing it back through a few other compromised servers.
Anyway, hoping I won't be driven from Debian to, uh, Gentoo or something.
In my neck of the woods, it is. The linux desktops are configured NOT to have any publicly-shared directories. Want to transfer a file over the lan? Use ftp like __DIETY__ intended!
http://smithii.com/samba.
All I can say is that the Samba team is going to have to roll in more vulnerabilities than this if they want to really mimic Microsoft. C'mon guys, are you even trying?
MOD PARENT UP, it's a post by Jeremy himself
"Yes, it's called managed code (Java/.NET)"
Another software solution, which also begs the question, what protects the 'managed code' bits from getting buffer overruns and wouldn't it be simpler to do it in the hardware? Of course the 'managed code' bits are only good in so far as they manage to detect malware all the time. Wouldn't it be simpler to make the kernel immune to these type of bugs as in the SAFECode project. That way when a process fails on garbage collection hooks, exception handling, type safety, array bounds and index checking, nothing happens.
I remember when there was only two kinds of ones and noughts, code and data and as long as you didn't download and run someone elses code you were totally safe. Another question to raise, and I realize I am crying in the wilderness here, is there any other way of achieving Web 2 type functionality without sacrificing security. Like, the current security debacle was caused by bad design decisions made years ago, something that is going to cost and is still not fixed, if at all fixable given the current state of 'innovation'.
davecb5620@gmail.com