Slashdot Mirror


Security Flaws In Linux SMBFS

An anonymous reader points out this SecurityFocus alert, which starts "The Linux kernel is reported susceptible to multiple remote vulnerabilities in the SMBFS network file system. These vulnerabilities may lead to the execution of attacker-supplied machine code, information disclosure of kernel memory, or kernel crashes, denying service to legitimate users. Versions of the kernel in both the 2.4, and the 2.6 series are reported susceptible to various issues."

347 comments

  1. It's a FEATURE by kesuki · · Score: 5, Funny

    you haven't emulated SMB unless you allow remote execution of code ;)

    1. Re:It's a FEATURE by Anonymous Coward · · Score: 2, Funny

      But it will be a while before the Samba team gets Linux to BSOD. Dammable Developers

    2. Re:It's a FEATURE by g_braad · · Score: 1

      how else can you really emulate SMB... it probably means you aslo need to run Wine; how else can a WinPE executable affect linux ;)...

      --
      F/OSS & IT Consultant
    3. Re:It's a FEATURE by Anonymous Coward · · Score: 1, Interesting

      Funny you should say that, as most of my (test) kernel crashes used to occur precisely when using smbfs..

  2. history of linux exploits by wrinkledshirt · · Score: 3, Interesting

    Does anybody know of some website or source that's been tracking these kinds of linux exploits, including the date and nature of both the exploits and the fixes?

    --

    --------
    Bleah! Heh heh heh... BLEAH BLEAH!!! Ha ha ha ha...

    1. Re:history of linux exploits by Short+Circuit · · Score: 5, Informative

      Secunia...they also have a free service where they'll email you about vulnerabilities and fixes. And I've never received spam from them. (But that may be due to my GMail account.)

    2. Re:history of linux exploits by MarsLander · · Score: 4, Informative

      The Linux Weekly News security page would be a good place to start. If you then went back and looked through the security pages of the weekly editions, you'd probably have a pretty complete database.

      http://lwn.net/security

    3. Re:history of linux exploits by Anonymous Coward · · Score: 5, Informative

      Linux advisories
      http://www.linuxsecurity.com/advisorie s/index.html

      Open Source Vunerability Database (not just for Open source software, but the database itself is open source)
      http://www.osvdb.org/

      That is probably the best and it offers vendor contact information, detailed analysis and RSS plugins.

      Secunia Security and Virus information
      http://secunia.com/

      Security Focus:
      http://www.securityfocus.com/

      So on and so forth.

    4. Re:history of linux exploits by Tanktalus · · Score: 1

      I'm sure Microsoft has been keeping track of the exploits. They may be a bit skinny on the fixes, though.

    5. Re:history of linux exploits by hugo_pt · · Score: 0, Troll

      would have to be a long, long list

    6. Re:history of linux exploits by Anonymous Coward · · Score: 1, Informative

      Not a website, no specific tracking but at you can be smarter and more prepared then the average bear if you subscribe to some security mailing lists.

      Bugtraq mailing list. Not much noise and not Linux specific but good reading.

      Full Disclosure mailing list. A lot of noise and higher volume but still has some good information.

    7. Re:history of linux exploits by Aussie · · Score: 0

      Does anybody know of some website or source that's been tracking these kinds of linux exploits, including the date and nature of both the exploits and the fixes?

      www.microsoft.com

    8. Re:history of linux exploits by Anonymous Coward · · Score: 0

      Wow. You're not funny at all.

  3. But... by Sensible+Clod · · Score: 2, Interesting

    does it allow ROOT?

    --

    The difference between spam and poop is that you don't have to dig through septic tanks looking for real food. -- Me
    1. Re:But... by Sensible+Clod · · Score: 1, Interesting

      Come on, I really want to know whether this allows someone to take over my machine. Besides, as an M$ hater, I want to be able to tell people 'hey, the linux kernel exploit *doesn't* allow root'. Unless, of course, it does. Does it?

      --

      The difference between spam and poop is that you don't have to dig through septic tanks looking for real food. -- Me
    2. Re:But... by flossie · · Score: 4, Informative
      Come on, I really want to know whether this allows someone to take over my machine. Besides, as an M$ hater, I want to be able to tell people 'hey, the linux kernel exploit *doesn't* allow root'. Unless, of course, it does. Does it?

      Probably not. Quote:

      While any of these vulnerabilities can be easily used as remote denial of service exploits against Linux systems, it is unclear if it is possible for a skilled local or remote attacker to use any of the possible bufferoverflows for arbitrary code execution in kernel space.

      SecurityFocus have this down as a "Design Error". Is that in the design of the implementation, or the design of the protocol? Can we start blaming Microsoft for bugs in Linux now?

    3. Re:But... by damicatz · · Score: 2, Informative

      Very few vulnerabilities in Unix Operating Systems allow a hacker to gain control of the machine provided the machine is being run by a competent person. This is due to the fact that Unix/Linux/BSD/etc tend to be modular whereas every thing in Windows is integrated. To answer your question, the vulnerability discussed here allows someone to crash the system but does not allow them to take over the computer.

    4. Re:But... by LnxAddct · · Score: 1

      You can tell your friends that if your running SELinux and have it properly set up, then nothing will ever root your box. I am running FC3 which comes with the SELinux patches, and I started mucking around with it, not knowing what I was doing and before I knew it, I was root and couldn't acces /etc/ yet alone add a new user to my box. I wasn't even allowed to run xscreensaver, so please do be careful if you try it, its very powerful and apparently easy to lock yourself out of your own box. I have since reinstalled FC3 with selinux disabled until I finish reading up on it more. Oh and to answer your question, no this exploit doesn't give root access.
      Regards,
      Steve

    5. Re:But... by BlowChunx · · Score: 1

      Great! Just what I need as a desktop user: a powerful, hard to configure interface for superior security!

      Would the BSD concept of privilege separation work better, without configuration, out of the box? </talking out of orifices>

    6. Re:But... by Anonymous Coward · · Score: 1, Funny

      Can we start blaming Microsoft for bugs in Linux now?

      Was fuer ein frage ist dieser?
      You on /. son, where the only thing less connected with reality is a political campaign...

    7. Re:But... by spiny · · Score: 2, Insightful

      a compromised machine is:

      a compromised machine.

      remomove from the LAN/WAN, disect then reinstall. Its the only safe way.

      --

      Fry: heh, Yakov Smirnoff said it
      Leela: No he didn't.
    8. Re:But... by Anonymous Coward · · Score: 0, Insightful

      If it involves a buffer overflow then it's a 100% Pure Linux Fuckup.

    9. Re:But... by Nothinman · · Score: 2, Interesting

      It's a bug in a kernel driver, so if it becomes exploitable it could allow more than root. But from the looks of the report, you would have to mount a share on the attacking machine for there to even be a chance of exploitation.

    10. Re:But... by EvilAlien · · Score: 3, Insightful
      You don't need root, you just need local access so you can exploit all those vulnerabilities that get ignored because they aren't remotely exploitable.

      I don't know how many times I've heard clueless admins tell me that they aren't patching for something because its only exploitable locally...

      --
      perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
    11. Re:But... by Dolda2000 · · Score: 1
      As I understand it, it's still not clear if it at all allows for remote execution of code.

      However, if it does, it's not just root, it's worse. Since it's a kernel-mode program, it allows for running code in kernel mode. Not that root can't do that, but in this case, you're invited right in.

      On the other hand -- really, how many connect to unknown servers using smbfs? It doesn't seem as if this is a great problem.

    12. Re:But... by 0racle · · Score: 1

      Wow very few remote exploits
      Well I feel much better now. Unix might have less high profile automated attacks against it, but don't kid yourself into thinking its any safer on the Internet then anything else.

      Its not like I really had to look hard either, it took longer to write the little HTML in this post. Results 1 - 10 of about 150,000 for remote linux root exploits. (0.30 seconds)

      --
      "I use a Mac because I'm just better than you are."
    13. Re:But... by Q2Serpent · · Score: 3, Funny

      more than root

      ...God?

    14. Re:But... by DarkMantle · · Score: 1

      Can we start blaming Microsoft for bugs in Linux now?

      No, but we will anyway ;)

      --
      DarkMantle I been bored, so I started a blog.
    15. Re:But... by Netsnipe · · Score: 3, Funny
      remove from the LAN/WAN, dissect then reinstall. Its the only safe way.
      No. I say we take off and nuke the entire site from orbit. It's the only way to be sure.
      --
      -- "I can't tell the future, I just work there." -- The Doctor
    16. Re:But... by Xeleema · · Score: 2, Funny

      Funny, I googled for "remote linux root exploits" and I didn't get a single hit. That clearly points to the obvious; Google's Censoring Linux Vulnerabilites!! OMFG!! Now only if it.slashdot didnt have such a shitty color sheme, maybe I'd feel better about my IT-related job and stop posting mindless drivel like this.
      AC is for cowards!

      --
      "When I am king, you will be first against the wall..."
    17. Re:But... by Anonymous Coward · · Score: 1, Informative

      all five exploits you listed are for old versions the exploitable programs. even the most recent one is 11 months old. Also, I've never had to worry about these remote exploits you listed. I simply have never used/installed any of the programs the exploits were for.

      When looking at exploits for Linux systems, a lot of them are ones that you simply don't need to care about because you aren't using the specific software that's vulnerable. Also since it is possible run a Linux system without a single TCP aware service running, you can have a system that is impervious to automated attacks.

      Of course, being impervious to worms doesn't mean impervious to viruses or trojans which, by definition, rely on the human to execute them.

      Even the specific vulnerability in the kernel's smbfs module is rather limited in scope since it can't be used unless the target can be fooled into connecting to a malicious server.

      If you don't look very hard, you won't find much. Even if you think you do.

    18. Re:But... by Anonymous Coward · · Score: 0

      I modded your post "troll" because slashdot lacks a "fucking cretin" option.

      You hate "M$" (LOLOLXORL) but you obviously don't understand dick about either technology. You are what is wrong with the OSS community, son.

    19. Re:But... by freeweed · · Score: 1

      more than root ...God?

      Linus.

      --
      Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.
    20. Re:But... by Anonymous Coward · · Score: 0

      You idiot! Go back to windows or get a fsck'ing clue!

    21. Re:But... by Anonymous Coward · · Score: 0

      That's the dumbest thing I've ever heard... Sound like the MS way of doing things... Re-install, but it'll just happen all over again if it did once.

    22. Re:But... by Donny+Smith · · Score: 1

      >I don't know how many times I've heard clueless admins tell me that they aren't patching for something because its only exploitable locally...

      Yeah, why would they fuck with a perfectly working system that's exploitable only locally if they have no system accounts except root?
      For example, any app that keeps user accounts and passwords in OpenLDAP or mySQL. Could be mail server, or Samba, or pretty much anything these days.

      Clueless people like ... someone (and I have a few customers do that) run rpm -Uvh as soon as they see a new RPM.
      One suffered three hours of downtime on a very important system because RPM upgrade re-applied default conf file for the service.

    23. Re:But... by ultranova · · Score: 1

      You can tell your friends that if your running SELinux and have it properly set up, then nothing will ever root your box.

      Except a buffer overflow bug in the kernel itself. You know, the kind this article is discussing ?-)

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    24. Re:But... by Anonymous Coward · · Score: 0

      Take all of this with a grain of salt. I am neither kernel, nor samba developer... I just know a thing or 3 about code security, and coding.

      IANAKD but actually this would depend on the user the smbd is running as. Any buffer overflow will allow you to insert the code of your choosing onto the stack. If smbd is running as root, then any code pushed onto the stack in a buffer overflow would also execute as root.

      So yes, this would allow root exploits if smbd was running as root. Not everyone runs smbd as a kernel space process, and they are saying it is not known if you can exploit this in kernel space.

      I guess the answer is a definite maybe, for sure if smbd is running as a daemon process, and as root, and the daemon has the same issues as the kernel module.

      >>Is that in the design of the implementation, or the design of the protocol?

      A protocol, in this context, is simply a definition of how packets are formatted, ack/nack transactions occur, and security negotiated. The code that implements this protocol is what does the buffering and defragmentation of packets. You can blame MS for the weak password encryption, but the buffer overflow/underflow is all samba. It puts too much trust into the remote server to provide accurate byte sizes of packet data.

      If you consider that smb should be firewalled from the outside world, and only a buggy or molested remote server can cause a problem on the local box, as long as you know what your servers are running, and they are protected from the outside world, this is not a dangerous condition and probably won't result in an attacker getting root shell. That doesn't mean it shouldn't be fixed as soon as is humanly possible, just that the immediate threat level is pretty low, if your network is otherwise secured.

      However, if someone on the inside knew of this and how to exploit it, they could modify their box, make a connection to smb on your server or lot into your server and make a connection to their box, then exploit the vulnerability, at best DoS by crashing smb processes, at worst, root shell.

      A buggy smb implementation on one end could also cause an unintentional DoS.

      IANASD I think the answer to this issue is for smbd to get or verify it's data sizes from the actual data in the packet, when it's unwrapped, not read it from the smb wrapper header. While this would probably slow things down, it would be more secure. Depending on size information from another box, about buffered stuff going into a stack, is always a bad idea.

      l8,
      AC

  4. this is NOT samba (smbd) by CRC'99 · · Score: 5, Informative

    It should be clarified, that this is NOT to do with the smbd process aka Samba Project - but the kernel module smbfs.o

    --
    Sendmail is like emacs: A nice operating system, but missing an editor and a MTA.
    1. Re:this is NOT samba (smbd) by Anonymous Coward · · Score: 2, Informative
    2. Re:this is NOT samba (smbd) by Anonymous Coward · · Score: 0

      doesn't smbfs.o rely on code from smbclient, which is part of the samba project?

    3. Re:this is NOT samba (smbd) by Curtman · · Score: 2, Informative

      It should be clarified, that this is NOT to do with the smbd process aka Samba Project

      But this is.

    4. Re:this is NOT samba (smbd) by Anonymous Coward · · Score: 0

      so for 99.997% of all samba installs this is a non-issue.

      I ALWAYS run samba withough the kernel extensions. it's stupid to bog down the kernel with things that samba is doing for me.

  5. Everyone makes mistakes by comwiz56 · · Score: 2, Insightful

    Not to sound like a flaimbait, and yes, I use and love linux, but this is some proof that micro$oft isn't the only place in the world that puts out code with security holes in it.

    1. Re:Everyone makes mistakes by Anonymous Coward · · Score: 1, Insightful

      this is some proof that micro$oft isn't the only place in the world that puts out code with security holes in it

      it's the only place that has millions of dollars at it's disposal and highly paid programmers.

    2. Re:Everyone makes mistakes by comwiz56 · · Score: 1

      HAHAH! Did you just say microsoft is "the only place that has millions of dollars"? Even McDonalds has millions of dollars... I understand what you're saying, you just could have used better words (hmmm.. maybe... "billions").

    3. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      Regardless, it is further demonstration that Microsoft is the only place in the world that consistently puts code with serious security holes in it into the default installation.

      Or puts security holes into unnecessary default services that can't be turned off.

    4. Re:Everyone makes mistakes by suckmysav · · Score: 0, Troll

      You are an idiot

      --
      "You can't fight in here, this is the war room!"
    5. Re:Everyone makes mistakes by sl4shd0rk · · Score: 2, Funny

      Well, not to sound like a broken record, but you can bet your sweet ass that the smbfs module code will be fixed quicker than you can say rmmod, or if you prefer, quicker than you can say "make dep clean bzImage modules modules_install".

      The difference is the opportunity to take action through the utilization of an openly available codebase.

      --
      Join the Slashcott! Feb 10 thru Feb 17!
    6. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      Yes. And everybody will immediately get the corrected software via LinuxUpdate.

    7. Re:Everyone makes mistakes by 13Echo · · Score: 4, Insightful

      The difference is that this is a POTENTIAL exploit. Not something that's been known for a long time but ignored to the point of mass-exploitation.

    8. Re:Everyone makes mistakes by citog · · Score: 2, Insightful

      it's the only place that has millions of dollars at it's disposal and highly paid programmers.

      Oh, come on now! Is this going to be used as justification for bugs/issues in Linux all the while berating Microsoft for theirs?

    9. Re:Everyone makes mistakes by Truth_Quark · · Score: 2, Interesting
      "this is some proof that micro$oft isn't the only place in the world that puts out code with security holes"

      This kind of comment disturbs me. I never know how far down the conspiracy theory line I should allow my paranoia to run. The statement is prima facie true, so what requirement is there for such proof except to Microsoft FUDrakers?

      Is microsoft paying people to post their marketing crap like this, or is it merely that trolling is its own reward?

    10. Re:Everyone makes mistakes by Trejkaz · · Score: 1

      I think the difference here is that this exploit is likely to be fixed within a six month time span.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    11. Re:Everyone makes mistakes by SenFo · · Score: 0

      Very enlightening, thank you.

    12. Re:Everyone makes mistakes by SenFo · · Score: 0

      Or just some dim whit trying to sound smart? It's not like we didn't already know this. Linux security holes exist and are annoying --nobody is denying that-- but Windows security holes shut down the internet.

    13. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      "...proof that micro$oft isn't the only place in the world that puts out code with security holes in it."

      Very true. Now picture this...

      Ballmer whacked off three times today after reading this article!

    14. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      Neener, neener, neener! Linux has security holes too!

      Just a couple of orders of magnitude less than what Windows has suffered from!

    15. Re:Everyone makes mistakes by laughingcoyote · · Score: 1

      This is true, and it is true that there are probably some flaws in Linux. I would be amazed if there is one piece of software out there anywhere that cannot be improved by some means or another. However, Linux has one advantage that Micros**t does not: Anyone can look for the problem in Linux and patch it, whereas if a MS security flaw is found, we get to sit around and wait until they decide it's a problem, and then get around to writing a patch.

      --
      To fight the war on terror, stop being afraid.
    16. Re:Everyone makes mistakes by EvilSporkMan · · Score: 1

      You mean like yum or apt or portage?

      --
      -insert a witty something-
    17. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      Er... MagicLinuxUpdate.

    18. Re:Everyone makes mistakes by timbo234 · · Score: 1

      why would I want to use a buggy, inflexible, incompatible ActiveX control to get my updates when I can either:

      *Use the easy and fast GUI based updaters such as MandrakeUpdate, Yast or Up2date etc.
      or
      *cron script it automatically from the command line equivalent of the above and never have to worry about it. eg.
      #!/bin/bash
      urpmi --auto --update
      or
      *rsync the updates from the server to my network server, thereby saving significantly on bandwidth

      --
      Pre-canned Evolution Links for all those Slashdot holy wars.
    19. Re:Everyone makes mistakes by Curtman · · Score: 1

      The other difference is, if you're using smbfs over untrusted networks then you deserve what you get AFAIC.

    20. Re:Everyone makes mistakes by DogDude · · Score: 3, Informative

      it's the only place that has millions of dollars at it's disposal and highly paid programmers.

      But Linux is supposed to better because it has armies and armies of passionate volunteers.

      --
      I don't respond to AC's.
    21. Re:Everyone makes mistakes by Curtman · · Score: 1

      likely to be fixed within a six month time span

      Six months?? Six days would be a long time.

    22. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      So what does Linux do? Have a seperate install process for security hole applications?

      Most problematic services haven't been part of the default installation of Windows for years and most (if not all) can be turned off.

    23. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      Gee, I didn't know my fictional sarcastic program really exists and is implemented as an ActiveX control. I didn't even know ActiveX was supported on Linux.

      The real question is how long from the time a bug is discovered and fixed does it end up corrected on the average Linux user's computer.

    24. Re:Everyone makes mistakes by Technician · · Score: 1

      True,

      but.. Being in the browser allowing anyone anywhere on the planet to exploit your machine isn't the same level of exposure as a SMB exploit that is reachable only by those on your LAN. My vunerability ends at my router.

      I don't have that many skilled hackers in my house to worry about.

      --
      The truth shall set you free!
    25. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      You've never heard of a decompiler, have you? Or people that can just read opcodes like a program listing.

    26. Re:Everyone makes mistakes by Trejkaz · · Score: 1

      Six days would be likely. I was referring to the time span of the recent Windows and Internet Explorer fixes, not the time span of kernel fixes, which is much shorter.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    27. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      And not to sound like a broken record, but not everyone reads /. or subscribes to BugTraq, so there's a lot of people out there that aren't even going to know about the bug, let alone the fix. Getting a fix out quickly is nice, but it doesn't magically cure the problem.

    28. Re:Everyone makes mistakes by Reivec · · Score: 1

      If it were that simple, there would be no reason to close source anything. Not defending the argument because it was totally bogus. Security by obscurity isn't security at all. If you are relying on the fact that you are hidding your faults you are just asking for someone to find them. If on the other hand you can show all your cards and still come out on top, then what is the better system? If someone could EASILY look of some open source and find an exploit, you had better beleive the good guys already found that one first :-P. Everyone over simplifies this "anyone can look at it" crap. Sure Linux Kernel is open source, and I even program. Can I just sit down and look at it and know what is going on? Not a chance.

      I strayed off topic, but look at it this way, if you had to put your money in a vault and one company didn't let you see it but said the bad guys couldn't see it either, so it was safe. And another company let you do whatever you wanted to it, but no one can break it. Where would you keep your money? I bet on the one you can see and can't break. As soon as a "bad guy" finds the other vault, it may not be locked at all :-P You don't know.

    29. Re:Everyone makes mistakes by Anonymous Coward · · Score: 0

      But Linux is supposed to better because it has armies and armies of passionate volunteers.

      Linux is better.

      Noone (of note) claimed it was perfect.

    30. Re:Everyone makes mistakes by Tony+Hoyle · · Score: 1

      Oh please... that is *so* linux 2.0.x

      make clean install modules_install

    31. Re:Everyone makes mistakes by jedidiah · · Score: 1

      No, Linux is better because so-called pirates won't be prevented from getting the lastest and greatest security patches. Whatever other comparisons can be made, Linux still wins because everyone can still get the latest "fixed" version of the product for FREE. Even take that away and Linux still wins since the distributors are releasing payware versions at a faster rate.

      This is a simple packaging issue and one that Microsoft could easily deal with it if it really wanted too.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    32. Re:Everyone makes mistakes by jedidiah · · Score: 1

      Why not? It's FREE.

      You don't even have to engage in software piracy (like a WinDOS user would).

      --
      A Pirate and a Puritan look the same on a balance sheet.
    33. Re:Everyone makes mistakes by Fatchap · · Score: 0

      The internet has been shut down??

      So all these pages that appear in my browser are being generated by my PC! I'm like that guy in electric dreams!!!

      --
      The only reason some people get lost in thought is because it's unfamiliar territory.
    34. Re:Everyone makes mistakes by Fatchap · · Score: 0

      To carry your analogy on, I could look at the vault but would I have a clue if the lock was any good or not? Not unless I was a locksmith and physical security expert.

      I rely on others to tell me how secure the source code for my OS is.

      --
      The only reason some people get lost in thought is because it's unfamiliar territory.
    35. Re:Everyone makes mistakes by Matt_Joyce · · Score: 1


      Hang on, isn't Linux developed for love ?
      Surely love is a better motivator than money.

    36. Re:Everyone makes mistakes by timbo234 · · Score: 1

      probably a lot quicker than to the average windows users computer

      --
      Pre-canned Evolution Links for all those Slashdot holy wars.
  6. yeah ... by nanodude · · Score: 3, Funny

    well ... windows file sharing is just that ... a security flaw

    1. Re:yeah ... by archen · · Score: 1

      well we're not really emulating windows until we share the entire "C:" drive with no password on workgroup "WORKGROUP".

    2. Re:yeah ... by nanodude · · Score: 0

      Windows XP Home does just that by default!!!!! No passwords.

  7. Hmmm..... by Azh+Nazg · · Score: 2, Funny

    Makes me glad that I have an SMB block enforced on my rou32der324f[NO CARRIER]

    --
    Azh nazg durbataluk, azh nazg gimbatul, Azh nazg thrakataluk agh burzum ishi krimpatul! This sig blocked by Slashdot.
    1. Re:Hmmm..... by Anonymous Coward · · Score: 0

      Writing [NO CARRIER] when posting to slashdot looks strangely similar to carving AAAARRGH on the wall.

      --Coder

    2. Re:Hmmm..... by Anonymous Coward · · Score: 0

      Except extremely lame with the [] brackets. Did these people never USE modems or what?

  8. MS Technology by Punboy · · Score: 4, Informative

    I'd like to point out that is a MS originated technology that only got put in Linux for compatibility with MS systems. Most Linux-only users use NFS, which does not have these security holes. Most 'secure' network environments don't even use SMB on windows machines due to security holes in the Windows implementation. My 2 cents, don't use it, its buggy and slow and suchs. On the other hand, many people need to use it in their home networks to share files between windows machines and Linux machines. My suggestion for those users is to set up a firewall which blocks SMB from the outside. And don't make samba shares on your firewall box.

    --
    If you like what I've said here, and want to read more, go to http://www.krillrblog.com
    1. Re:MS Technology by Anonymous Coward · · Score: 1, Insightful

      Most Linux-only users use NFS, which does not have these security holes.

      But does have a bunch of its own, some of them uncorrectable as they are design issues. Sigh.

    2. Re:MS Technology by Anonymous Coward · · Score: 1, Insightful

      I can hardly believe any "secure" network would allow NFS. That shite doesn't even have any authentication and has numerous means of DoSing the server.

      *(Unless you are running v4 which only became available recently.)

    3. Re:MS Technology by kesuki · · Score: 1

      On the other hand, many people need to use it in their home networks to share files between windows machines and Linux machines.
      Freely available Cross platform alternatives for file sharing include FTP, GNUTELLA, and a host of other lesser known protocols. FTP was what I used, a server dameon on my *nix box, and depending on what I was doing either some freeware client on windows, or else the good old ftp.exe. which was BSD license code that windows used because 'It was BSD License, and was one less thing they had to code.'

    4. Re:MS Technology by Anonymous Coward · · Score: 2, Insightful

      So which is worse: implementing a technology that turns out to have security holes or adding a technology you already know has security holes to your system in order to be compatible with a system you claim is inferior?

    5. Re:MS Technology by nacks1 · · Score: 5, Insightful

      "Most Linux-only users use NFS, which does not have these security holes."

      Yeah... it NFS just has plenty of holes of its own. I would be the first to say that I think that SMBFS is crap, but NFS isn't the network filesystem that we should be holding up as a good system to emulate.

    6. Re:MS Technology by Anonymous Coward · · Score: 0

      MS originated NetBeui, not SMB

      Although Samba is not related to this bug (SMB, not smbd or smbclient), there has always been methods in the smb.conf to block requests from places you do not want. See the interfaces = and hosts deny = section. Of course these are no substitute for a firewall but they are there.

    7. Re:MS Technology by mre5565 · · Score: 1

      > But [NFS} does have a bunch of its own, some of them uncorrectable as they are design issues.

      Such as?

    8. Re:MS Technology by mre5565 · · Score: 2, Informative

      > Yeah... it NFS just has plenty of holes of its own.

      NFS uses ONC RPC. ONC RPC supports any security
      flavor the ONC RPC library implementor choses.
      RFC 2203 is an security flavor that supports
      GSS-API, which works over Kerberos and
      Public Key Infrastructure. Solaris, AIX, NetApp,
      EMC, Hummingbird have NFS/Kerberos via RFC 2203.
      The bits are sort of there in Linux 2.6, and
      should be there for when Red Hat and Suse release
      enterprise editions of Linux 2.6.

    9. Re:MS Technology by CAIMLAS · · Score: 3, Interesting

      First off, as someone else said, this doesn't have anything to do with Samba, but smbfs.o, from the kernel. You don't need smbfs.o to use samba, I believe, and I can't recall ever including it in a kernel (or cifsfs), even ones that were to be used as a samba fileserver.

      Second, NFS is just as "full of holes" as SMB/CIFS. I'd even wager that its inherrent security model is worse. From my experience, it's also significantly less stable, and does not scale well at all, let alone dynamically on a large network.

      On a network where everyone is a peer, SMB/CIFS seems like the better option to me.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    10. Re:MS Technology by jrcamp · · Score: 2, Informative

      UID/GID spoofing because there's no real authentication. This is being addressed in NFSv4 but it's not ready for production.

      If you want want authentication and authorization for file sharing under Linux, AFS is probably your only real choice besides Samba.

    11. Re:MS Technology by ArbitraryConstant · · Score: 1

      "Most Linux-only users use NFS, which does not have these security holes."

      RPC (NFS runs over RPC) vulnerabilities have been among the most numerous over the years, and NFS security sucks even apart from that.

      --
      I rarely criticize things I don't care about.
    12. Re:MS Technology by geg81 · · Score: 4, Informative

      Most Linux-only users use NFS, which does not have these security holes.

      Are you kidding? From a security point of view, past versions of NFS have been an absolute disaster, far worse than SMB. You can run NFS only if you have complete trust in your network infrastructure and every single machine on it. Sun's engineers must have been on drugs when designing it.

      NFSv4 may fix some of those problems, but it hasn't been widely deployed yet, and it is far more complex than it has a right to be given its limited functionality. All network file systems for Linux currently have major problems of one kind or another (they are one of incompatible, immature, insecure, etc.).

    13. Re:MS Technology by cynyr · · Score: 1

      there is only on problem as far as i can tell with NFS.. If i don't get a static IP and the DNS records take 5min to 2 days to update themselfs, the laptop does not get correct permissions..... but with smb and the udi/password combo it makes that easier in some ways

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    14. Re:MS Technology by Lost+Race · · Score: 2, Interesting

      I use Samba+SMBFS to share read-only trees with multiple filesystems mounted in them. NFS can't really handle this, at least not reliably. For this purpose SMB works well enough. Is there something better?

    15. Re:MS Technology by schvenk · · Score: 1

      So what's a good alternative for SMB in terms of sharing files among a bunch of machines, potentially running multiple OSes? My understanding is that FTP isn't the most secure protocol either.

      What about WebDAV?

    16. Re:MS Technology by lnjasdpppun · · Score: 1

      For ease of use when sharing files between Linux/Windows boxes SMB can't be beaten. Using FTP to listen to MP3's or watch videos or edit documents from a Linux server is a pain since the file(s) need to be copied to the local machine before they can be used.

      Using SMB all I have to do is setup Samba on the server, map a network drive on the client and everything on the server shows up as if it was all on my Windows box (throw in a gigabit network and it might as well be as far as speed is concerned).

    17. Re:MS Technology by sloth+jr · · Score: 2, Insightful

      No particular beef with your post - as you mention, NFS security isn't good. Put another way, it's as good as your network and host security, but relies on proper configuration of server and client. That said, NFS for being the pile of shit it is has survived through virtue of being widely supported and mostly compatible, robust in the face of server outages (as opposed to SMB's "oh, I guess you'll be losing the latest copy of your work now"), easily clusterable, scalable to several dozen busy clients, easy to manage, very well understood, and free.

      No one in the know would hold the NFS security model up as one to emulate (you're of course absolutely correct about its security only being up to physical control of every machine on your network), but facts are, NFS continues to help people get the work they care about done. One can only hope that better solutions might finally be implemented to drive a worn-out protocol out of business, but it isn't there yet (I'd like it to be AFS, but on Linux, scalability doesn't seem to be on par with NFS).

      NFS was a pragmatic solution designed by smart people in a time where talk, finger, telnet, RIP and rsh were all used freely. Now that networks are chock-a-block with assholes, NFS looks about as good as those other protocols - but people look a lot worse.

      sloth jr

    18. Re:MS Technology by Anonymous Coward · · Score: 0

      NFS was a pragmatic solution designed by smart people in a time where talk, finger, telnet, RIP and rsh were all used freely. Now that networks are chock-a-block with assholes, NFS looks about as good as those other protocols - but people look a lot worse.

      The security problems of rsh and NFS became clear almost immediately.

      And NFS had (and has) lots of other problems. You won't convince me that "NFS was a good design at the time"; I was there at the time, and I know it wasn't.

      I'd like it to be AFS

      AFS doesn't have UNIX semantics and is not usable as a general purpose network file system for UNIX. Like NFS, they let philosophy and the desire to "improve UNIX" get in the way of delivering a usable, compatible product.

    19. Re:MS Technology by rawg · · Score: 1

      I have been looking for a network file system for years. So far, I have found nothing good. I would love to have a secure network filesystem that I have control over permissions.

      IE: A web site directory where Joe, Frank, Chuck can all have read and write to all files in the directory. With NFS if Joe saves a file, Chuck can't modify it. I can do it with Samba by forcing the user and group permissions, but I don't like Samba.

      I guess really, the only way is to run a VPN and Samba, but even at that if the user has a virus on their winblows box, it could infect everything on the network file system. Even with a VPN. (It's happened before)

      --
      The above is not worth reading.
    20. Re:MS Technology by jcrowly · · Score: 1

      Speeking as a large Linux shop we don't use NFS, as with version 3 and below it's securty is more or less none existance, it basicaly trust's you based on your source IP. As many of the other networking systems where beta and not in the standard kernel, or unstable, or some other such problem, smbfs with all it's problems became the main file server protocol. Then UNIX extentions to smb made this alot easier. However with NFSv4 this is being reconsidered once again. I though I would let you know what an operational large Linux only network is using.

    21. Re:MS Technology by Anonymous Coward · · Score: 0

      Your question is very strange. You seem to be describing setting the "sticky" bit in UNIX. This capability is also in all common ACL based systems. So this should be easy to do no matter which file system you use.

      As to what is "secure", it really depends on what you mean. In a big UNIX environment, look at AFS or NFS, depending on how badly you need Kerberos infrastructure. If you really mean to scale to four users from their workstations, I assume FTP or WebDAV would be a better fit. The exact match is of course up to what client software you have, security history, etc.

    22. Re:MS Technology by mrph · · Score: 1
      NFS, which does not have these security holes.

      Oh, of course not. If they were there, you would know, right?
      Even if a solution is generally more secure because of nice authentication, cryptography and such (which i wouldn't say about standard NFS implementations) and even if it has
      far less known security issues, it's just dumb claiming to know that it's free from these kinds of issues.

      Besides, I think private network-traffic should always be firewalld and thus preventet from traversing the Internet if it isn't absolutely necessary.
      I connect different networks with VPN's so at least, my packets won't be that easy to just pick up and read.

    23. Re:MS Technology by EsbenMoseHansen · · Score: 1

      WebDAV is not bad, and well supported by both Linux and Windows. Can run atop of SSL, which makes it secure enough for most purposes.

      The downside is, of course, that the server(s) must run a WebDAV capable web server (read: Apache), and I have not seen a way to map window drives to WebDAV(s)(s).

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    24. Re:MS Technology by mre5565 · · Score: 1

      > UID/GID spoofing because there's no real authentication. This is being addressed in NFSv4 but it's not ready for production.

      It was addressed in NFSv2 and NFSv3. See RFC 2203.
      Ask your NFS client and server implementor about
      it.

    25. Re:MS Technology by sloth+jr · · Score: 1
      And NFS had (and has) lots of other problems. You won't convince me that "NFS was a good design at the time"; I was there at the time, and I know it wasn't.

      I didn't call NFS a good design, I called it a pragmatic solution - implying there are problems. Warts and all, it mostly works and is easy, and has usefulness. NFS succeeded because its usefulness in a wide variety of environments exceed its lack of security (I'm quite aware of those other problems you mention as well, mostly pertaining to locking, file size limitation, and multi-writer semantics [IIRC, last write wins])
    26. Re:MS Technology by 4of12 · · Score: 1

      NFS isn't the network filesystem that we should be holding up as a good system to emulate.

      Historically, yes.

      But NFSv4 has a respectable security model.

      Now if only it were easy to setup and use....

      --
      "Provided by the management for your protection."
  9. OMG It sounds like... by LupidStupy · · Score: 0, Redundant

    A Microsoft exploit notice.... Wow.

  10. And before this goes off the front page... by Short+Circuit · · Score: 4, Interesting

    Major distributions will have patches available. Possibly even the main kernel tree.

    1. Re:And before this goes off the front page... by Alan+Hicks · · Score: 5, Informative
      <spamvertisement>
      This is old news. The 2.4.28 kernel was released with fixes for this though a 2.6.10 kernel hasn't yet been put out. I'm not sure who all has patched, but for Slackware users, you can get a 2.4.28 kernel package from SlackSec.
      </spamvertisement>
      --
      Slackware, what else when it must be secure, stable, and easy?
    2. Re:And before this goes off the front page... by DraconPern · · Score: 2, Interesting

      Red Hat 9 is a 'major distribution' and I haven't had a kernel patch in ages. My box is probably venerable to all sorts of bugs. But now Red Hat wants me to pay for security updates? Grrr. Someone tell me there is a better solution. I want a 'pay once but free update for 5 year' solution that other OS vendors offer.

    3. Re:And before this goes off the front page... by Anonymous Coward · · Score: 1, Informative

      Someone tell me there is a better solution. I want a 'pay once but free update for 5 year' solution that other OS vendors offer.

      I believe that is how Windows Update works. /me ducks

    4. Re:And before this goes off the front page... by Usquebaugh · · Score: 1

      Try Debian and stop yer bitching

    5. Re:And before this goes off the front page... by Kronovohr · · Score: 2, Informative

      Actually, RedHat 9 updates are still available through the Fedora Legacy project (http://www.fedoralegacy.org/). Payment not required (though I'm pretty sure they'd like a donation or two)

    6. Re:And before this goes off the front page... by AstroDrabb · · Score: 1
      Red Hat 9 is not a "major distribution". It is no longer supported. Just as Win 3.1/95 is no longer a "major" version of MS Windows. You can get that 5 year support from Red Hat through there Red Hat Enterprise Desktop. If you think RH is too expensive (like I do), try SuSE or Fedora or Mandrake or Debian or etc.

      Red Hat != Linux

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    7. Re:And before this goes off the front page... by llamaluvr · · Score: 1

      Venerable, adj.
      1. Commanding respect by virtue of age, dignity, character, or position.
      2. Worthy of reverence, especially by religious or historical association: venerable relics.
      3. Venerable Abbr. Ven. or V.
      1. Roman Catholic Church. Used as a form of address for a person who has reached the first stage of canonization.
      2. Used as a form of address for an archdeacon in the Anglican Church or the Episcopal Church.

      Ignoring parts of speech for a moment, that makes for a pretty funny sentence :-).

      --
      Insightful: 76, Off-Topic: 379, Flamebait: 24, Funny: 152, Interesting: 201, Underrated: 55, Troll: 9, Total: 896
    8. Re:And before this goes off the front page... by Anonymous Coward · · Score: 0

      Maybe you missed that RH9 end-of-life memo they sent out...ohh, about nine months ago. Twice.

    9. Re:And before this goes off the front page... by Anonymous Coward · · Score: 0

      white box linux.

    10. Re:And before this goes off the front page... by Spoing · · Score: 1
      1. Red Hat 9 is a 'major distribution' and I haven't had a kernel patch in ages. My box is probably venerable to all sorts of bugs. But now Red Hat wants me to pay for security updates? Grrr. Someone tell me there is a better solution. I want a 'pay once but free update for 5 year' solution that other OS vendors offer.

      Then just update what you want. Nothing is stopping you.

      If you can't figure out how, get apt and Synaptic...run Synaptic, and update.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    11. Re:And before this goes off the front page... by Spoke · · Score: 1

      Better than payment, the Fedora Legacy project would really love to have more people doing QA and testing.

      It's not the most glorious job out there, but someone has to do it! Right now, that is usually the biggest hold up to getting updates out.

    12. Re:And before this goes off the front page... by jweage · · Score: 1

      Try Whitebox Linux or CentOS, both are free clones of RHEL.

  11. Wow, A Flaw by Anonymous Coward · · Score: 0, Funny

    A security flaw in the implementation of a protocol developed by Microsoft? Naw... Couldn't be! Microsoft's stuff is built to last. There's no such thing as a security vulnerability in Windows.

    1. Re:Wow, A Flaw by cbiltcliffe · · Score: 3, Informative

      It wasn't developed by Microsoft. It was originally an IBM protocol, which was....are you ready?....extended by Microsoft to get what we know today as SMB.

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
    2. Re:Wow, A Flaw by smeenz · · Score: 1

      Yup... was known as IBM Lan Manager back then. the LANMAN bit still appears in SMB packets today.

    3. Re:Wow, A Flaw by Anonymous Coward · · Score: 0

      You mean Microsoft extended this?

      Unbelievable! Usually they stick to standards without adding stuff that might be incompatible, right?

  12. bleh by nacks1 · · Score: 1

    It just seems a tad ironic that a part of the kernel that makes linux more compatable with MS Windows is again the root cause of more security problems. All the more reason to ban SMBFS from my home network.

  13. Whoohoo by Anonymous Coward · · Score: 0

    "not vulnerableLinux kernel 2.4.28"

    In your face, 2.4/6.* 2.4.28 Rules!

  14. That seems like it is teh sux, but... by n0tt00elite · · Score: 0

    the website hardly explains it at all, it seems. Am I missing something? Is there some hidden link I need to click?

    --
    "Software is like sex, it's better when it's free." Linus Torvalds
    1. Re:That seems like it is teh sux, but... by comwiz56 · · Score: 1, Offtopic

      Here is the information you are looking for.

  15. The sky is falling! The sky is falling! by Alan · · Score: 0

    Quick, everyone consider switching to windows because this linux thing is obviously flawed and buggy!!

    Seriously, this is bad (haven't RTFA yet of course), but not that bad. You shouldn't have an internet server running SMB anyway, and while it'll probably be on your desktop system (for those who run linux on the desktop), but a good little linux hacker will have a firewall running anyway, right?

    Though I'm sure people like scoble will "mention" this in pointed ways :)

  16. You should just use windows! by seems+so+green · · Score: 0

    NOT!

  17. I'm glad this hit slashdot by Anthony+Liguori · · Score: 5, Informative

    I'll say this once, this is absolutely correct. We've known about this for a long time. SMBFS is deprecated. This is why CifsFS was written. CifsFS is a standard part of 2.6 and is available as patches for 2.4 from samba.org. CifsFS is faster, works with newer versions of Windows better, and is much more secure. More importantly, SMBFS is not being maintained. Critical bug fixes get made but that's only because it's in the kernel. Please don't use it unless you have to. Steve French is the author of CifsFS and has done a fantastic job with it.

    1. Re:I'm glad this hit slashdot by Anonymous Coward · · Score: 4, Funny

      CifsFS

      This message was brought to you by the department of redundancy department.

    2. Re:I'm glad this hit slashdot by waferhead · · Score: 3, Insightful

      This (parent)notice should be added to the headline as a public service.

    3. Re:I'm glad this hit slashdot by Dr.Dubious+DDQ · · Score: 3, Informative

      The only downside that I have seen to using CIFS is that - at least on Slackware - mount.cifs doesn't seem to be included by default.

      It's trivial to obtain, but kind of difficult to mount CIFS filesystems without it...

      Note also that the old SMBFS is subject to the annoying 2GB file size limit, while CIFS is not, if you still need an excuse to switch. As far as I can tell, you can use CIFS for any server where you would previously have been using SMBFS, so you ought to be able to just switch without any hassles.

    4. Re:I'm glad this hit slashdot by C3ntaur · · Score: 3, Informative

      I don't know about other distros, but when I tried to use CIFS to mount in Fedora Core 2 instead of SMBFS, I got a bunch of kernel errors. AFAIK, it's still an open bug: bugzilla.redhat.com.

      --
      Loading...
    5. Re:I'm glad this hit slashdot by Anonymous Coward · · Score: 0
      SMBFS is deprecated

      If it's being used, then that's not an excuse. The Slashdot community should not get away with criticizing Microsoft for dropping support for older products, if the Linux community does the same.

      If it's deprecated then why is it still there? Maybe because it's still being used? That's enough of a reason to keep it patched and secure.

    6. Re:I'm glad this hit slashdot by 13Echo · · Score: 1

      Hmm. Might that be why I have problems connecting to Windows 2003 shares, where I previously had no problems a few years ago (with Samba)? I've run mount smbfs through the ringer a million times, where it used to be pretty simple, and now get all sorts of weird errors from the servers that carry the shares.

    7. Re:I'm glad this hit slashdot by CRC'99 · · Score: 1

      SMBFS is deprecated

      Hmmm - last time I checked it doesn't say anything in the linux kernel docs about it being depreciated - nor in anything accessable doing a 'make menuconfig'...

      Maybe it would help if it stated this....

      --
      Sendmail is like emacs: A nice operating system, but missing an editor and a MTA.
    8. Re:I'm glad this hit slashdot by CAIMLAS · · Score: 1

      So let me get this straight.

      Because linux does not fully support an implimentation any longer - an implimentation spec that was long ago abandoned by the people that made it, and was only being supported in linux to aid those people forced to use it - Linux is just as bad as MS for not supporting Microsoft's product, which Microsoft itself will not support - even though they're the ones that got the money?

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    9. Re:I'm glad this hit slashdot by CAIMLAS · · Score: 2, Interesting

      Well, if you give it a little thought, it makes sense on a purely logical level.

      SMB is the protocol used pre-win2k. CIFS is everything after that. It makes little sense to modify (or expect) a device driver to support something that is outside the scope of it's designed purpose. Thus, along came cifsfs, which does indeed support the higher features (and very well might not work in a 'backward compatible' fashion, for all I know). Thus, you wouldn't need both if you didn't have any newer|older windows systems.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    10. Re:I'm glad this hit slashdot by wolrahnaes · · Score: 1

      The difference is that those customers paid for their older products.

      You don't see an uproar over a lack of support for MSIE 4.0 do you? The upgrade is free and available to all, just like CifsFS is on Linux systems. If someone chooses to not keep their system up to date they are on their own.

      But, if you think otherwise, then maybe I should ask for support for my 486 that has a 2.0.something kernel that hasn't been turned on in years.

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
    11. Re:I'm glad this hit slashdot by Anonymous Coward · · Score: 0

      Steve French is the author of CifsFS...

      A cougar with a craving for weed wrote a file system? Man...that shit really DOES make you smarter...

    12. Re:I'm glad this hit slashdot by dmaxwell · · Score: 1

      It seems to be more stable as well. The share mount with my mp3s would freeze up every few hours of steady use with Beep/XMMS. CIFS Just Works.

    13. Re:I'm glad this hit slashdot by Anonymous Coward · · Score: 0

      Awesome!

      I had to think about that reference for a second... Damn... and I thought I was the TPB trivia king...

    14. Re:I'm glad this hit slashdot by Anthony+Liguori · · Score: 2, Informative

      Yeah, unfortunately, not many folks work on CifsFS. You're best bet is to send it to linux-cifs-client@lists.samba.org.

    15. Re:I'm glad this hit slashdot by Anthony+Liguori · · Score: 1

      Well, smbfs is deprecated for every day use. You'll see it in the kernel for a while as it supports older Win servers than CIFS. Basically, smbfs is if you need to have compatibility to really old servers. It's not suitable for a large-scale production environment though. I mean, it's all kind of silly. smbfs sends plain-text equivalent passwords over the network. It's a giant open security whole. Screw some obsecure exploit. You're already open to the whole world by the very nature of the protocol.

    16. Re:I'm glad this hit slashdot by Anthony+Liguori · · Score: 2, Insightful

      Because linux does not fully support an implimentation any longer - an implimentation spec that was long ago abandoned by the people that made it, No, the Samba community provided smbfs to solve a problem and now, we've done a rewrite and we have cifsfs. It's still a product of the Samba community. The argument is more analogous to someone saying that FireFox 0.1 has does not support SSL and therefore is insecure. Well, hell, that's why there's FireFox 1.0. Upgrade and get over it.

    17. Re:I'm glad this hit slashdot by andersa · · Score: 1

      I just tried replacing smbfs with cifsfs last week on my two Debian/sid systems. It was just a couple of months back that the necessary mount.cifs scripts was even included in unstable. Before that, there was no cifs support in Debian, even if it was in the kernel.

      Getting to the point though, cifsfs was fairly disappointing. It seemed a bit faster than smbfs when the transfer was in progress, however the server frequently and regularly locked up completely for several seconds, resulting in much worse performance than with smbfs. It almost felt as if I had ran into the annoying tcp sendfile bug, though I had previously set sendfile to no in the server configuration, since otherwise smbfs was just unusable because of lockups.

      I'd say cifsfs still has some way to go, before it can replace smbfs.

    18. Re:I'm glad this hit slashdot by Bert64 · · Score: 1

      You had no problems connecting to windows 2003 a few years ago? Did windows 2003 exist a few years ago or were you connecting to a 2000 or nt4 server? And if so.. maybe it's microsoft that intentionally broke compatibility with opensource apps? Wouldn't be the first time they've done that.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    19. Re:I'm glad this hit slashdot by .tom. · · Score: 1

      There are two problems :
      - it has to be said CIFS is not mature yet (that's great seeing active developement there though)
      - how to you connect to legacy SMBFS servers which do not support CIFS ?

      I just tried myself converting my fstab from smbfs to cifs.
      I obviously had to convert back to smbfs for some legacy shares I'm accessing which don't know CIFS, and I also ended up converting the others back to smbfs because of multiple problems (failures to mount, buggy directory listings, dmesg full of complains, etc.).

      I'm using a kernel 2.6.9, cifs 1.22, mount.cifs 1.5.

    20. Re:I'm glad this hit slashdot by Anthony+Liguori · · Score: 2, Insightful

      it has to be said CIFS is not mature yet (that's great seeing active developement there though)

      Yes, CIFS has some bugs in it. However, so does SMBFS. In a lot of ways, SMBFS was never mature to begin with.

      <i>how to you connect to legacy SMBFS servers which do not support CIFS</i>

      The story basically is, SMBFS is there for that, however, if there is sufficient demand for legacy compatibility, I'm sure cifsfs will try to support it. It's not that difficult to do, just a matter of prioritization.

      Open Source software only gets mature if people use it and submit bug reports when they encounter problems. If you want something to work better than smbfs and to not have gaping security holes the answer is to use cifsfs and file bug reports at https://bugzilla.samba.org.

    21. Re:I'm glad this hit slashdot by Anthony+Liguori · · Score: 2, Insightful

      Kind of. This is Microsoft marketing at it's finest. SMB is a protocol for sharing files. When the internet took off, Microsoft rebranded SMB as CIFS (or Common Internet File System). It's totally a marketing different. Both smbfs and cifsfs use SMB for file sharing (it's the only way to do file sharing). The main differences in smbfs and cifsfs are 1) performance 2) unicode support 3) authentication. cifsfs has much better performanced, negotiates unicode over the wire, and more important, uses a much stronger form of authentication (ntlmv2) than smbfs (lanman+ntlmv1). In fact, the authentication that smbfs is pretty much plain-text equivalent. Not to mention that smbfs does not support any sort of signing/sealing mechanism leaving your sessions wide open for hijacking. At the end of the day, keep in mind though, that NFSv3 and below have an even worse design in terms of security. This is why you don't expose things like NFS and Windows file sharing over the internet. They just aren't normally very secure.

  18. The link doesnt actually tell you anything by Laeraun · · Score: 5, Informative

    This page gives a much better overview of what it is.

    More information also here

    1. Re:The link doesnt actually tell you anything by n0tt00elite · · Score: 0

      Thanks for the info that the article didn't provide. Good thing is, I don't use samba or anything, so I'm fine!

      --
      "Software is like sex, it's better when it's free." Linus Torvalds
  19. Good job... by Anonymous Coward · · Score: 0

    ... I'm using Debian!

    All those people around here who whine about it being old and crap for having 2.2 can no wipe those smiles of their faces.

    So there.

  20. dgram, 2.4.28, what about smbfs? by boldi · · Score: 1

    http://www.derkeiler.com/Mailing-Lists/VulnWatch/2 004-11/0007.html

    Any more details about this issue? Any backported patches to 2.4.27? Any idea if 2.4.28 is o.k. for sure or should we wait for 2.4.50?

    Do You have any idea when can I stop upgrading the kernel every month ? This is the 5-9th kernel realease from November 2003 when the first-in-the-row (first of a burst...) kernel security holes began. I do not like to update kernels with all the patches neccessary to do that and all the fuzz with remote updating hosted stuff...

    At last,
    I do not like to reboot every month

    1. Re:dgram, 2.4.28, what about smbfs? by Anonymous Coward · · Score: 0

      If you are worried about that and still wish to use a free *nix, why not install FreeBSD? It's more free, more stable, requires less patching and fewer reboots, and doesn't have this particular problem.

  21. Confused... by Anonymous Coward · · Score: 0

    Pardon my ignorance.... What is the smbfs doing in kernel space? Shouldn't that be the domain of Samba?

    1. Re:Confused... by NeoChaosX · · Score: 1

      Hasn't it already been mentioned that this has nothing to do with Samba?

      --
      One man's selflessness is another man's annoyance.
    2. Re:Confused... by Jimithing+DMB · · Score: 3, Informative
      Pardon my ignorance.... What is the smbfs doing in kernel space? Shouldn't that be the domain of Samba?

      Filesystems by necessity have to be implemented to some extent in the kernel because they have to hook the VFS layer. However, you make a very good point that it does seem to be a big risk to implement the entirety of smbfs in kernel space.

      Recent Linux kernels (I think 2.4 onward) have a mechanism for doing what are called user space filesystems. Basically, the kernel only knows enough to talk to a daemon which implements the filesystem and exposes it to the kernel. In this manner there is a very well defined interface between the kernel and user code which hopefully is bug free.

      In some ways this is sort of a partial microkernel design. With that comes the inherent loss of speed having to do the context switches between kernel and user mode. In the normal filesystem case you have a context switch from user to kernel mode, the file is accessed, and then back to user mode. In the case of a filesystem implemented in user mode you have to switch from user mode to kernel mode, then to user mode in the FS daemon then back to kernel mode then back to user mode in the process trying to access the file. And that is the best case. Throw in a scheduler without the knowledge of which process is waiting for what and messaging between two user space processes through the kernel can be extremely costly!

      In this case, yes, I think I probably would have recoded smbfs to use the user mode filesystem handler. But the code was already written years ago to live entirely in kernel space before there was really any sort of well defined standard for a user space file system. Given that this is as far as I can remember the only major bug in it one might say that it hasn't really been that bad having it in kernel space.

      So the tradeoff becomes do you want to have it in user space (where it would still vulnerable to DoS in this case) and sacrifice some speed or do you want it to run in the kernel at full speed?

    3. Re:Confused... by Anthony+Liguori · · Score: 1

      I have this exact discussion quite often. The argument often boils down to this: putting a network file system in userspace would increase kernel stability and make it easier to write at the cost of performance. It would be very difficult to expose a stable user-level API for the necessary VM tweaks to put a network file system to it's performance limits.

    4. Re:Confused... by runderwo · · Score: 1
      So the tradeoff becomes do you want to have it in user space (where it would still vulnerable to DoS in this case) and sacrifice some speed
      It's not just vulnerable to a DoS in terms of execution speed. The Linux kernel really loves killing inappropriate processes at inappropriate times when the OOM killer goes crazy. In a real micro-kernelish design, these processes would be granted exemption from the OOM killer.
    5. Re:Confused... by Jimithing+DMB · · Score: 1
      So the tradeoff becomes do you want to have it in user space (where it would still vulnerable to DoS in this case) and sacrifice some speed
      It's not just vulnerable to a DoS in terms of execution speed. The Linux kernel really loves killing inappropriate processes at inappropriate times when the OOM killer goes crazy. In a real micro-kernelish design, these processes would be granted exemption from the OOM killer.

      Actually I was thinking DoS in that with the file system running as a process you could still crash that process with this exploit. However, you are right, the Linux OOM killer BLOWS. I use spamass-milter on the mail servers here which tags both inbound and outbound mail. Got a call one night that the mail server was down; came in and found all of the processes had died but had no clue what the hell was going on. Rebooted it and it all seemed normal. Came in the next morning to find it had crashed again in the middle of the night.

      Well it turns out that someone sent a 500 MB attachment out of here which caused spamass-milter and SpamAssassin to eat up all the RAM and swap on the server at which point the Linux kernel killed every process. Since then I now have a 50 or 100 MB limit on e-mails because obviously if someone inside could do it by accident someone outside could do it on purpose and kill the server. Of course, the interfaces would still be up but no ssh. I also took care to run a null modem between it and another server with a getty running. The getty will be refired by init if it gets killed so if for some reason something similar to this happens again I can at least fix it remotely.

      Pissed me off too, the night that it happened I had been drinking quite heavily at the local bar and wound up coming in to work at 11 pm totally plowed. On the bright side some ugly chick had been hitting on me so it gave me a good excuse to get the hell out of there. :-)

    6. Re:Confused... by runderwo · · Score: 1
      However, you are right, the Linux OOM killer BLOWS.
      I have encountered the same problem as you with spamassassin.

      Fortunately, it is possible to disable the OOM killer. The tradeoff is that it is then possible for poorly-written programs (such as spamassassin) to exhaust memory and then not terminate; depending on the programmer's level of ineptness, they will either continue blithely on after a failed malloc producing unpredictable results, or sit there and spin forever waiting for the malloc to succeed.

      I guess the only real solution is to run programs which are well written and nice to your system by design. I had an idea once about taking priority into account when in a OOM situation, but never wrote any code. The idea would be that lower priority processes would be killed in preference to higher priority ones. That way, if you know you have a misbehaving app like spamassassin, you can just nice it to 10 or something - that way it is harder to DoS the system, and it becomes the first choice for the OOM killer.

      Pissed me off too, the night that it happened I had been drinking quite heavily at the local bar and wound up coming in to work at 11 pm totally plowed.
      Yeah, I know that feeling. Fortunately I'm not employed as a sysadmin right now ;)
  22. Re:OMG WTF!!!!!!!! by Anonymous Coward · · Score: 0

    No, no funny for you.

    1) You used only 1 $ which is good but you lack enthusiasm.
    2) Winblows simply doesn't make up for your former mishap.
    3) Uppercase dammit !!!

  23. Don't worry! by Tezkah · · Score: 5, Funny

    SP2 users are unaffected.

    1. Re:Don't worry! by QuietLagoon · · Score: 0
      SP2 users are unaffected.

      Probably because their PCs won't boot after applying SP2. :)

    2. Re:Don't worry! by Anonymous Coward · · Score: 0

      Roland, is that you?

    3. Re:Don't worry! by Quickening · · Score: 1

      actually...

      It is quite easy to CRASH 64-bit win2K3 with samba connections from linux>=2.4.25

      My loser company has to apply ms patches every few days on all their servers, and even with all the latest "official" patches, _any_ directory listing on a samba mounted win2k3 share will instantly crash the windows box.

      --
      tcboo
  24. funny by LiquidMind · · Score: 0, Redundant

    "...denying service to legitimate users..."

    HAHA! that could never happen to me. I feel sorry for the losers that are gonna get hit by th*&$^)### (connection lost)

    --
    This sig contains repetition and redundancy.
    1. Re:funny by Anonymous Coward · · Score: 0

      I think over rated would be a better mod...

  25. Bugs Abound by Anonymous Coward · · Score: 0

    A bug in SMBFS implementation? Are you sure it's not just a really finely crafted Windows RPC emulator?

    Speaking of a Windows emulator...these bugs are purely theoretical, which means until we're even convinced that they're exploitable (oh you mean they are?) um until we're convinced that there's exploit code out in the wild and there's immediate danger (hehe, that should stall 'em for a bit) we'll put the feature enhancement in testing for a week or three.

    Internally, I bet it's easy to fix those bugs -- they just need to do a pattern check for /* this needs more testing but the fsckin deadlines were due */

    or maybe /* who the heck knows why this even works */

    or /* what the hell is a buffer overrun anyway? */

  26. Already fixed? by rewt66 · · Score: 1

    SecurityFocus says, "The vendor has released version 2.4.28 of the Linux kernel to address these issues."

    1. Re:Already fixed? by Stevyn · · Score: 1

      Yeah, but how many people know how to upgrade their kernel. Gentoo users are used to compiling a new kernel and it's no big deal. However, other distros are usually late to offer patches. I could never get a vanilla kernel compile working on Mandrake 10. So some people will be affected for quite some time. This once again highlights the fact that when Linux users are affected by a bug, a simple stop at a website driven updater (think windows update) will not patch them.

  27. Bring forth.. by Anonymous Coward · · Score: 0

    ..the vulnerable code! We'll destroy it in Mt Doom!

  28. Irony isn't something you dewrinkle clothes with by Anonymous Coward · · Score: 1, Funny
    SMB is a Microsoft protocol.

    Heh.

  29. No shiat. by bersl2 · · Score: 2, Insightful

    Not all of us here point and laugh every time Microsoft has an exploit.

    I think that one of the major misunderstandings that many people have is that software will be absolutely perfect. It won't be. We deal with systems with many layers of complexity, and sometimes these things fall through the cracks.

    If you want a perfectly secure system, you'll have to audit the code personally.

    1. Re:No shiat. by comwiz56 · · Score: 1

      Actually... besides the fact that it would take forever, auditing your code personally probably wouldn'y find a whole lot flaws.

    2. Re:No shiat. by jedidiah · · Score: 1

      There's a big difference between the problems that arise because software is an imperfect thing created by imperfect beings and the "broken by design" type engineering that Microsoft engages in. The latter causes remarkably more dangerous conditions and completely negates any attempt to even strive for eliminating the former.

      Bugs happen in remote services. See BIND and Sendmail.

      Although, any network admins that aren't segregating physical networks from each other when it comes to netbios traffic at this point should be shot. That was an obvious problem way back when broadband was just a bleeding edge thing.

      --
      A Pirate and a Puritan look the same on a balance sheet.
  30. Timeline... by AcornWeb · · Score: 3, Interesting

    Now, I'm definitely not a Microsoft fan (see my sig), but does it strike anyone else as a little scary that it took 2 months to get this fixed properly? I mean isn't that one of the main benefits of open source is that it gets fixed faster?

    --
    Your Windows PC is my other computer.
    1. Re:Timeline... by Anonymous Coward · · Score: 1

      According to this the affected product is discontinued.

    2. Re:Timeline... by mnmn · · Score: 2, Informative

      It is very wrong to assume some Linux hobbyist will quickly put aside other things in life, to patch a bug like this, which will make companies like Redhat, novell richer.

      Opensource does not guarantee quick fixes of bugs. Case in point.. many ATM cards remain in the experimental stage and crash on atmsigd 6 years on. Similar bugs with the arcnet driver will probably never be fixed.

      Opensource software is 'generally' better in quality and security, but there are absolutely no guarantees. ..except theres no SCO code in there.

      --
      "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
    3. Re:Timeline... by Anonymous Coward · · Score: 0

      My ATM card only crashes when it falls out of my wallet... er, what does this have to do with Linux?

    4. Re:Timeline... by pclminion · · Score: 2
      My ATM card only crashes when it falls out of my wallet... er, what does this have to do with Linux?

      ATM == asynchronous transfer mode, try plugging things into Google before making silly comments...

    5. Re:Timeline... by Chuck+Chunder · · Score: 1
      It is very wrong to assume some Linux hobbyist will quickly put aside other things in life, to patch a bug like this, which will make companies like Redhat, novell richer.
      True to a degree (though I don't know what "which will make companies like Redhat, novell richer" has got to do with it).

      However it shouldn't take "some Linux hobbyist". Open Source allows many eyes and part of that goes towards removing the responsibility from one single person. Ultimatly it's difficult to see how with this being a security issue and so many people having access to the source (including the companies you mentioned with a commercial interest in getting it fixed) someone didn't produce a fix and get it to the people who can get it into the kernel for so long.

      Perhaps there's more to the story here. Looking at the Securityfocus page it's not immediatly clear to me what the status is with the various recentish vendor kernels.
      --
      Boffoonery - downloadable Comedy Benefit for Bletchley Park
  31. No. by temojen · · Score: 1

    SMBFS is for mounting SMB shares on a Linux machine. Samba is for sharing files on a Linux/Unix/BSD machine with windows machines (or Linux machines with SMBFS, but NFS is better suited to that).

  32. OSS is quick to please by Anonymous Coward · · Score: 1, Informative
    1. Re:OSS is quick to please by g_braad · · Score: 1

      when you can't do it for real, emulate it :P

      --
      F/OSS & IT Consultant
    2. Re:OSS is quick to please by chrish · · Score: 3, Informative

      Jeeze, if you're going to the trouble of posting a link to xscreensaver, you might want to use the right one so you get an up-to-date version (4.18 is current).

      --
      - chrish
  33. Goddamn, hello? by Corellon+Larethian · · Score: 0

    Next they'll find exploits in WineX. And VMware.

    There is a pattern. Don't bother looking for it until you have the motivation to go looking for it.

  34. Does this apply to FreeBSD? by HenryKoren · · Score: 3, Interesting

    Just wondering if the SMBFS kernel option in EreeBSD has the same vulnerability

    $FreeBSD: src/sys/fs/smbfs/smbfs.h,v 1.8 2003/02/08 05:48:04 tjr

    1. Re:Does this apply to FreeBSD? by Anthony+Liguori · · Score: 1

      The FreeBSD smbfs was forked off of the Linux smbfs a long time ago. You'd have to analysis it separately to determine if it was also vunerable.

  35. Now... by bogaboga · · Score: 3, Insightful
    ...Linux zealots are going to run in defense of the [Linux] kernel. Come on guys, anything created by man will always have defects.

    Cb..

    1. Re:Now... by vslashg · · Score: 1
      ...Linux zealots are going to run in defense of the [Linux] kernel. Come on guys, anything created by man will always have defects.
      Now why did you put the word Linux in brackets? Is this because you're quoting yourself, and you wanted to make your quote clearer out of context? Wait, that doesn't make any sense.

      Oh, you're a pompus ass? That makes much more sense. Thanks.
    2. Re:Now... by Chrax · · Score: 1

      "anything created by man will always have defects."

      As opposed to that made by code monkeys?

    3. Re:Now... by IO+ERROR · · Score: 1

      No way. I'm root. Everything I do is perfect. What was your username again?

      --
      How am I supposed to fit a pithy, relevant quote into 120 characters?
    4. Re:Now... by Anonymous Coward · · Score: 0

      English isn't your first language, is it? No wonder you ask. I suggest you go back to school. The use of such brackets is: You will find that even if one ignores/removes the word "Linux" in the sentence, the same sentence still makes sense. Now I hope this will put sense into you.

    5. Re:Now... by pclminion · · Score: 1
      Come on guys, anything created by man will always have defects.

      That which is created by woman, on the other hand...

    6. Re:Now... by Anonymous Coward · · Score: 0

      English doesn't seem to be your first language, either.

      The brackets are used to indicate where a word has been omitted or changed for brevity or clarity in a quote (hence the grandparent poster's attempted rationalization with regard to the original post). There's no need for the original post to have the brackets; either the original post had the word Linux in there, or it didn't. The brackets merely serve to confuse the issue and show that the original poster doesn't really understand the use of brackets from a grammatical standpoint.

    7. Re:Now... by Anonymous Coward · · Score: 0

      Here we go with another RANT. Are you reffering to the [broken] American English? Here, where English started, the guy you belittle is seen as correct.

    8. Re:Now... by the+eric+conspiracy · · Score: 1

      That which is created by woman, on the other hand...

      You guys have it all wrong.

      God creates.
      Woman inspires.
      Man assembles.

    9. Re:Now... by Tough+Love · · Score: 2, Informative

      Linux zealots are going to run in defense of the [Linux] kernel.

      Never let facts get in the way of a good rant:

      To exploit any of these vulnerabilities an attacker needs control
      over the answers of the connected smb server. This could be achieved
      by man in the middle attacks or by taking over the smb server with
      f.e. the recently disclosed vulnerability in Samba 3.x

      While any of these vulnerabilities can be easily used as remote
      denial of service exploits against Linux systems, it is unclear if
      it is possible for a skilled local or remote attacker to use any of
      the possible bufferoverflows for arbitrary code execution in kernel
      space.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    10. Re:Now... by Anonymous Coward · · Score: 0

      Here we go with another RANT. Are you reffering to the [broken] American English? Here, where English started, the guy you belittle is seen as correct.

      Yegads, I'm participating in a /. grammar discussion. Time to click that "post anonymously button"...

      Quibble: The English spoken in England is not more pure then the English spoken in the United States. I've heard theories that some dialects of American English are closer in pronounciation to the English of old, based on linguistic studies (the theory being that the American wilderness "hicks" didn't have enough contact or time to emulate the changes going through UK English -- similar to a person growing up in an isolated town without TV or radio not picking up any new slang.

      Interestingly, the "rules" of proper UK English were inspired by Latin. Why shouldn't you split an infinitive? Because you can't split an infinitive in Latin, although English has been doing it for the past eight hundred years. (Such a foolish rule was imported to the US, where some teachers still warn against it, even though split infinitives can remove ambiguities.)

      PS: The nice thing about posting a spelling/grammar rant anonymously is that I have no fear of grammar or spelling errors in this post. Hell, I'm tempted to scatter a few of them through the post, just to tick others off. ;)

    11. Re:Now... by Anonymous Coward · · Score: 0

      Meanwhile, in Real Life:

      A bunuch of comments about which kernel tree fixed this first and why it therefore is superior.

      A bunch of (mostly misinformed) comments about how NFS really is much worse.

      A handful comments complaining about the (non-existing) posts defending Linux.

      All high moderated, of course...

    12. Re:Now... by Anonymous Coward · · Score: 0

      As opposed to nothing, you dumb fuck.

    13. Re:Now... by Anonymous Coward · · Score: 0

      I think the difference here is that with Linux you have the _option_ of not having that in your kernel at all. That's typically the difference between windows and Linux. Linux you can tune to your needs and probably avoid security problems, windows you often get whatever MS stuffs in and all the security issues with them.

  36. 53 day turnaround, is that good? by JAFSlashdotter · · Score: 2, Interesting

    Based on the info http://www.securityfocus.com/archive/1/381420here, it took 53 days from initial contact to public release of the patch (and public notice of the vulnerability). How does this stack up against other OSes?

    --
    We apologize for the preceding message. All those responsible have been sacked.
    1. Re:53 day turnaround, is that good? by Nothinman · · Score: 2, Interesting

      I wouldn't say it's a good turnaround, but considering that SMB is one of the hairiest protocols around and SMBFS has been deprectated in the hopes of the CIFS driver taking it's place, it's not hard to imagine that it would take a while to find someone knowledgable enough and willing to track down each of those problems.

  37. I love open source... by ulpb · · Score: 0

    Linux developer finds linux bug, fixes bug. End of story.

    Windows developer finds bug, does nothing until said linux developer finds said bug and procedes to exploit at will. Windows developer frantically attempts to realease patch after millions lost to clients from said exploit.

    1. Re:I love open source... by ClosedSource · · Score: 1

      Your story is paradoxical.

      A Linux developer can't exploit a Windows bug because that would make him a Windows developer and you said that a Windows developer does nothing until a Linux developer exploits it but he can't because ...

  38. Here's my take on it by erroneus · · Score: 0, Redundant

    #1 It'll get fixed real soon... probably already is given that I've had two kernel updates within a few days on my FC2 machine.
    #2 Unless you're a complete fool and are using the protocol openly on the internet, the chances are good that you're relatively safe from exploit since you're on a private network. (It would take someone hacking through your router just to exploit something on your internal network. Possible but low on the order of things.)

    In any case, It's an important bug and it must be fixed and I have all the faith that it will be quickly.

    1. Re:Here's my take on it by Anonymous Coward · · Score: 0

      You call 53 days 'soon'? LOL

    2. Re:Here's my take on it by LnxAddct · · Score: 1

      Yes it's been fixed and your machine has been secured from it for a few days. Good ol' up2date took care of me too :).
      Regards,
      Steve

  39. NOT Originally MS Technology by kmb · · Score: 5, Informative

    Microsoft did NOT in fact invent/originate SMB. IBM did.

    1. Re:NOT Originally MS Technology by Punboy · · Score: 0, Troll

      True, but this quote from the wikipedia article you linked says that the current/most common version has been heavily modified by Microsoft. I'm sure the original version by IBM didn't have as many security problems, as IBM is big on doing things right the first time. But then again I can't say for certain as I have no experience with IBM's original.

      --
      If you like what I've said here, and want to read more, go to http://www.krillrblog.com
    2. Re:NOT Originally MS Technology by X · · Score: 1

      I'm sure the original version by IBM didn't have as many security problems, as IBM is big on doing things right the first time.

      ROTFL!

      Man you've got a good sense of humor.

      --
      sigs are a waste of space
    3. Re:NOT Originally MS Technology by kmb · · Score: 2, Interesting

      Oh, yes, Microsoft could take a rock-solid protocol/standard/technology and break it, easily. It's probably equally possible that SMB has become more secure or less secure in Microsoft's hands. However, I was correcting the widespread factual error of "Microsoft invented SMB." Microsoft doesn't even call their implementation SMB anymore. It's CIFS now.

      I don't know much about this specific bug, but c'mon people, there have been linux security bugs concerning technologies and protocols Microsoft hasn't managed to put their grubby little fingers into. There are enough valid complaints against them to keep us from having to start making them the de facto scapegoat.

      Of course, if Microsoft were to be believed, they really do own all the protocols.

    4. Re:NOT Originally MS Technology by Anonymous Coward · · Score: 0

      "as IBM is big on doing things right the first time."

      not sure, but I think they got this part of their buisiness wrong...
      http://news.bbc.co.uk/1/hi/business/3832 141.stm

    5. Re:NOT Originally MS Technology by Anonymous Coward · · Score: 0

      Err.... why was this modded flamebait and troll?

    6. Re:NOT Originally MS Technology by Anonymous Coward · · Score: 0

      IBM invented the protocol, MS added the bugs.

    7. Re:NOT Originally MS Technology by jedidiah · · Score: 1

      That article has about as much useful information as your own post: 0.

      --
      A Pirate and a Puritan look the same on a balance sheet.
  40. Re:Irony isn't something you dewrinkle clothes wit by Anonymous Coward · · Score: 0

    ... And who implemented SMB in the Linux kernel? Microsoft? Get real. Linux developers implemented SMB in the Linux kernel.

    That implementation now has a major security vulnerability in it. MS blame: 0%. Linux developer blame: 100%.

    No use arguing. :)

  41. Re:The sky is falling! The sky is falling! by Short+Circuit · · Score: 1

    I found Linux firewalls to be a real PITA. Getting XFree86 3.3.6 working on my Thinkpad 760XL was a lot easier.

    At least I don't need a firewall any more; I don't even have an Internet connection at home.

    (Though pointers to tools to help out a networking novice would be nice.)

  42. Comment removed by account_deleted · · Score: 2, Informative

    Comment removed based on user account deletion

  43. Re:The sky is falling! The sky is falling! by nagora · · Score: 1
    I found Linux firewalls to be a real PITA.

    In what way? I've never had any trouble with them (at least since iptables came in). What did you need to do which made it complicated?

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  44. Really a two-part turnaround by Cerlyn · · Score: 3, Informative

    Looking at their schedule, it is unclear what actually happened. Note that on 25 September 2004 they made their initial contact, but on 22 October 2004 they say they sent a second round of vulnerabilities in, followed by a set of patches on 27 October. The developers would then have to take all these patches, compare it to anything they may have come up with in the meantime, and make sure they didn't break anything else.

    The public disclosure occured 17 November 2004, about 20 days later, after about a week's worth of testing time as 2.4.28-rc3. Personally, I would not have liked them to have announced on the first set of vulnerabilities if there was some knowledge between October and November that more issues were being found. Otherwise everyone and their kin would be combing the code looking for any issues missed in smbfs.

  45. Re:Irony isn't something you dewrinkle clothes wit by Tanktalus · · Score: 1

    Absolutely correct. Well, probably. You see, if there are unseen holes in the protocol itself which make a secure implementation difficult, it's sorta like being parked on a busy freeway - yes, the guy who drove into your car is 100% at fault legally, but we all know that the technical/legal answer is far from the moral answer.

    I'm not saying that MS is even morally at fault here. Just pointing out that, until we know the details (and we'll likely never know the details sufficiently), there is that possibility that we can still take out our flamethrowers and point in the Redmondly direction.

    Who am I fooling - /. doesn't need the moral right to flame MS for /. to flame MS anyway...

  46. Re:The sky is falling! The sky is falling! by Anonymous Coward · · Score: 0
    Try Coyote Linux

    Simple to set up and will run on any old machine you have lying around.

  47. that'd be fine if new kernels didn't break you... by Anonymous Coward · · Score: 2, Informative

    Your drivers I mean.

    Normally, I wouldn't bother to mention about this. But slashdot somehow thought someone mentioning that SP2 was worthless because it had compatibility problems was worth a major mod-up.

    So I figure pointing out how Linux also bundles incompatibilities with security fixes should be very well received, right?

  48. Isn't smbfs a client module by space_man51 · · Score: 1

    Isn't smbfs supposed to be the module used to _access_ a smb mount. How can an attacker use a module that is designed to connect _to another_ computer. It's not like smbfs opens a port or anything?? Or is there a counterpart vulnerability in the SAMBA server (contrary to above comments)? I always thought the server is what gets attacked.

    I would appreciate it if someone who actually knows the code can clerify this.

    --
    Anton Markov
    *** Linux - May the source be with you! ***
    1. Re:Isn't smbfs a client module by talib333 · · Score: 1

      Hay dos vias: 1. The foreign host could be compromised (it's hard to replace the SMB service on Windows, but SAMBA could probably be patched to randomly crash a client that hadn't patched these vulnerabilities) 2. Man-in-the-middle attack; IIRC, SMB prefers to run over UDP, so the attacker could flood the network with forged packets to target an SMBFS client

    2. Re:Isn't smbfs a client module by Anonymous Coward · · Score: 0

      The client code (kernel module) still has to talk to other machines. It initiates the connection, but it still has to send and receive data. And because the module operates in kernel space, and does VFS changes (mounting filesystems, etc), that makes it very vulnerable. Malformed code can be injected into the TCP stream, or UDP packets can be spoofed, allowing arbritrary data to be sent back to the client, which could possibly exploit potential bugs in the implementation. Whew.

    3. Re:Isn't smbfs a client module by Anonymous Coward · · Score: 0

      Scratch that. s/very vulnerable/very bad if there is a vulnerability.

    4. Re:Isn't smbfs a client module by SmallFurryCreature · · Score: 1
      The answer you seek is here

      So yes you are right. If you include this in your kernel you can use it to mount samba/windows file shares. This will then instruct your linux machine to contact the server you specified and do it thing. It will not connect on its own nor accept connections. (Unless it is bugged :P)

      Unless the server you connected to has been taken over OR someone can intercept your communication with the server can your linux client be hijacked.

      Now samba has had several exploits and windows has its share so an infected file server is not that unlikely. Remember it doesn't matter how much they own a file server on your network. If you don't connect to it your in the clear. (not counting other security holes).

      An other attack is if someone can intercept your communication. This is not impossible. I connect to 192.168.1.4 wich is my windows machine. Someone could sneak in, unplug that windows machine and replace it with their laptop with a hacked fileserver. My machine will be none the wiser and happily connect and get exploited.

      Possible but unlikely in a home enviroment, lets face it if someone can touch your hardware they hardly need to bother with software exploits. In a business enviroment this is a higher risk. If I have control over a router it would be trivial to direct traffic temporarily to an infect fileserver long enough to get control.

      Wich is why it is so goddamn important to stay current with all patches. If your file servers are patched up then you are in the clear. (not counting unknown exploits of course) Of course you better apply the patch for this when it comes out or else you will be vulnarable when the next fileserver exploit hits. Computer security is fun eh?

      --

      MMO Quests are like orgasms:

      You may solo them, I prefer them in a group.

  49. One reason for microkernel OSs by EmbeddedJanitor · · Score: 1

    This is one reason a microkernel OS can be more secure and robust. When shit breaks loose the kernel is still isolated.

    --
    Engineering is the art of compromise.
    1. Re:One reason for microkernel OSs by Anonymous Coward · · Score: 0

      I dont get it, Linux isnt a microkernel, Windows uses a microkernel.

      Linux has a module loader that acts in a micro kernel kind of way, but its still not a microkernel (HURD is the attempt at a free microkernel)

      are you you talking about linux or windows here ?

    2. Re:One reason for microkernel OSs by Anonymous Coward · · Score: 0

      microkernel wouldn't help, poster is wrong.
      Think about it, unless you're limiting that portion of code that handles smb, it's still compromised, w/ basically no restrictions.

      Regarding linux being microkernel like, it's not. still is monolithic- it's just loading code, not treating each subsystem as a seperate daemon (for lack of a better description).

    3. Re:One reason for microkernel OSs by Anonymous Coward · · Score: 1, Insightful

      Ok, but who cares if the kernel is secure when all of your critical userspace utilities are fried anyway?

    4. Re:One reason for microkernel OSs by Anonymous Coward · · Score: 0

      Windows might have used a microkernel back when it was known as NT 3.5, but from 4.0 they started stuffing everything and the kitchen sink into the kernel, making it one bloated monolithic piece of crap.

  50. this isn't news and it doesn't matter by Sai+Babu · · Score: 0, Troll

    mod article down

  51. Re:The sky is falling! The sky is falling! by fatphil · · Score: 1

    "You shouldn't have an internet server running SMB anyway"

    But note that it's SMBFS that's flawed, _not_ the smbd daemon itself.

    FP.

    --
    Also FatPhil on SoylentNews, id 863
  52. Re:The sky is falling! The sky is falling! by Short+Circuit · · Score: 1

    The problem is, I don't really understand firewall implementations. (Though I think I understand some firewalls themselves just fine.)

  53. I'm not suprised about this. by xtremee · · Score: 0, Redundant

    SecurityFocus have this down as a "Design Error". Is that in the design of the implementation, or the design of the protocol? Can we start blaming Microsoft for bugs in Linux now?

    As we all know, Windows is a closed-source operating system, which offers documentation for all their apps and apis. The SMB Filesystem had to be developed without seeing the source code of the original fs. Remember, this is an emulation which means that it's normal to have this kinds of flaws.

    1. Re:I'm not suprised about this. by pclminion · · Score: 1
      Remember, this is an emulation which means that it's normal to have this kinds of flaws.

      Total non-sequitur.

    2. Re:I'm not suprised about this. by Mike+Lococo · · Score: 1
      > > Remember, this is an emulation which means
      > > that it's normal to have this kinds of flaws.

      > Total non-sequitur.

      I think he means reverse engineered, or at least that's what he should have meant. The smbfs module is a reimplementation of the SMB protocol client, which has nothing to do with emulation. There's no simulation of another hardware architecture, and there's no api translation. Parts of the protocol are poorly documented, though. I don't know if that's only an issue for the server team or if the client documenation is incomplete as well. If the the protocol documentation is poor for the client, then it might excuse poor or incomplete interoperability with MS products, but it's still not clear to me that it would make it difficult or impossible to write a secure implementation.

      Mike

  54. Slackware by datadriven · · Score: 0

    Does anybody know if Pat is well enough to work on a ptch for this?

  55. You guys are nuts. by Anonymous Coward · · Score: 0

    It is amazing how many posts in this article have comments and have no fucking ideas what the the hell smbfs is even for or what it does. As noted by the comparisions to smbd which is the samba daemon.

  56. Great, linux is insecure by kyliaar · · Score: 0, Flamebait

    Guess I should migrate to Windows.

  57. that's a shame by Anonymous Coward · · Score: 0

    Good thing I use OS X and NetBSD. Hahahahaha.

  58. Re:Finally... by infowar · · Score: 0

    You got served.

  59. Re:Everyone makes mistakes, by suckmysav · · Score: 1

    Everyone may make mistakes from time to time, but it takes a /. mod to really shine in the stupidity stakes. hehe Some dickwad fails to parse "and hundreds of programmers"; said dickwad subsequently laughs derisively at the GP; I accurately call the dickwad an idiot; *I* get modded Troll for pointing out the hard truth. You just gotta love the babbling-monkey-moderators at Slashdot, eh?

    --
    "You can't fight in here, this is the war room!"
  60. That does it! by El · · Score: 1

    I'm switching back to Windows XP! Heck, Windows won't even allow users the choice of using all these insecure file systems! Now that is security!

    --

    "Freedom means freedom for everybody" -- Dick Cheney

  61. or-would-you-rather-wait-for-service-pack-n dept. by Anonymous Coward · · Score: 0
  62. smbfs -> cifs is easy by xant · · Score: 4, Informative
    I had one Linux server mounting smbfs shares from fstab on my network, running Ubuntu. The default kernel is 2.6.x and mount.cifs is included, so I found it extremely easy to convert.

    1. I was using the credentials option (-o credentials=/some/sekrit/file) and I discovered that cifs does not like spaces in this file, so I took out the spaces.
    2. I was also using the badly-named fmask and dmask options (they are not masks). Cifs has renamed these to dir_mode and file_mode, and deprecated the old usage. I renamed dmask to dir_mode and fmask to file_mode.
    3. file_mode and dir_mode expect to see a leading 0 to be interpeted as octal. I made this change.
    4. Finally I changed smbfs to cifs.

    After these minor changes that took me all of 3 minutes to make, I no longer have smbfs anywhere on this network.
    --
    It's rare that you're presented with a knob whose only two positions are Make History and Flee Your Glorious Destiny.
  63. ERROR! by DAldredge · · Score: 2, Funny

    ERROR DETECTED

    REASON - NFS used with in 10 words of the word secure.

    RESULT - AHHHH!!!!

    1. Re:ERROR! by Sonic+McTails · · Score: 1

      REASON - NFS used with in 10 words of the word secure.

      But you just used NFS within 10 words of the word secure.

      --
      This signature was left intentionally blank.
  64. Re:that'd be fine if new kernels didn't break you. by DoctorMO · · Score: 1

    Someone should say 'there are lots of ways to comit suiside on slashdot, one of these it to suport Microsnot' face it, if you want impartial news goto TheRegister or BBC, slashdot is for FUDing it's self, I happen to enjoy it, but some people don't.

  65. Correction by gatkinso · · Score: 1

    Linux developer finds linux bug, fixes bug 53 DAYS LATER. End of story.

    --
    I am very small, utmostly microscopic.
  66. Re:that'd be fine if new kernels didn't break you. by cortana · · Score: 1

    Only if you're fool enough to upgrade your entire kernel just to fix a security problem! Wait for your vendor to provide patches, then apt-get upgrade (or use whatever tool your system provides).

  67. Big problems without solutions for a single PC! by Anonymous Coward · · Score: 0
    • any opened port is VULNERABLE (by example, port 80 is used to escape confidential information). Every closed ports ARE NOT the solution (you can't navigate, you can't use X-window, ..).
    • Using Remote Procedure Call (RPC) too is VULNERABLE (by example, calling to a illegal procedure 0xC6565650) (it's used by NFS and possibly SMBFS)
    • Big source code of SMBFS in the linux's kernel grows the probabilities of vulnerabilities in the kernel.
    • Any suspictiuous code of any aplication can flaw the security of the kernel using any vulnerable system call of a lot of system calls (1000 or more)!!!
    • ...

    From now, the GREAT SOLUTION is to use a microkernel OS as Mach, Hurd and Darwin.

    open4free ©

    1. Re:Big problems without solutions for a single PC! by Anonymous Coward · · Score: 0
      and Minix. (Tanembaum had reason of a well designed & secured OS!)

      open4free © : i need a trusted microkernel.

    2. Re:Big problems without solutions for a single PC! by Theatetus · · Score: 1
      of a lot of system calls (1000 or more)

      Ummm... first off, that whole post wasn't comprehensible.

      Secondly, there aren't "1000 or more" system calls. I quote /usr/src/linux/arch/i386/entry.S:

      .long sys_restart_syscall /* 0 */
      .long sys_exit /* 1 */
      .long sys_fork /* 2 */
      .long sys_read /* 3 */
      .long sys_write /* 4 */
      .long sys_open /* 5 */

      [snip of a few hundred syscalls]

      .long sys_mq_timedreceive /* 280 */
      .long sys_mq_notify /* 281 */
      .long sys_mq_getsetattr /* 282 */
      .long sys_ni_syscall /* 283 */
      So, there are 284 syscalls. Hardly "1000 or more".
      --
      All's true that is mistrusted
    3. Re:Big problems without solutions for a single PC! by Anonymous Coward · · Score: 0
      Using my configured compiled kernel:
      # wc -l /boot/System.map-2.4.26
      10104 /boot/System.map-2.4.26 # aprox. 10'000 system calls & system variables!!!

      c0100000 A _text # 1
      c0100000 t startup_32 # 2
      c01000a5 t checkCPUtype # 3
      c0100133 t is486 # 4
      c0100142 t is386 # 5
      ...
      c0342e00 b static_dtree # 10099
      c0342e80 b dist_code # 10100
      c0343080 b length_code # 10101
      c0343180 b base_length # 10102
      c0343200 b base_dist # 10103
      c0343278 A _end # 10104

      There aren't 284 syscalls, there are MORE!!!

      open4free ©

    4. Re:Big problems without solutions for a single PC! by Theatetus · · Score: 1

      Ummm... no. entry.S defines every system call in the kernel. system.map defines every symbol exported by the kernel. Your kernel exports 10104 symbols (which makes me think you compiled it with debugging turned on). Of those 10104 symbols, 190 (I think that's the magic number for 2.4) are system calls. The rest are just exported symbols.

      They're just names for parts of memory that make linkers a little easier to write -- in your example, anything you could do with the symbol length_code you could do with the number c0343080.

      --
      All's true that is mistrusted
    5. Re:Big problems without solutions for a single PC! by Anonymous Coward · · Score: 0

      Those arn't syscalls, they are symbols. Stop playing with the real tools and trying to sound like you know what you're on about, you're just making yourself sound really, really stupid.

    6. Re:Big problems without solutions for a single PC! by Anonymous Coward · · Score: 0
      There are exactly sys_ni_syscalls syscalls or less. sys_ni_syscall is the total number of syscall slots assigned, and in theory some of those syscalls may no longer be used and so now contain a stub syscall E.g
      .long sys_lchown16
      .long sys_ni_syscall /* old break syscall holder */
      .long sys_stat
      So the total number of current syscalls is sys_ni_syscall - (Total number of sys_ni_syscall occurances - 1)

      Thats 253 in the version I'm looking at (2.6.5 i385)
  68. This is Slashdot by Anonymous Coward · · Score: 0

    This is Slashdot, where all that is OSS is good and all that is Microsoft is bad. To rationalize through your statement properly, you need to place yourself in the shoes of a Slashbot, which means thinking that way. You have to adopt the attitude that major, embarrassing flaws like this in the OSS world are just kind of glossed over while minor, user-run executable attachment worms are a "new M$ hole!"

  69. The blame on MS is hilarious by Anonymous Coward · · Score: 0

    I love it. It's a kernel driver written by OSS guys that has a security flaw (smbfs.o) in the Linux kernel, but now suddenly it's Microsoft's fault because they extended the protocol once, despite that not having anything to do with the security flaws of the OSS driver.

    What has happened to Slashdot?

    1. Re:The blame on MS is hilarious by Anonymous Coward · · Score: 0

      What has happened to Slashdot?

      What, you used to visit some other Slashdot?

    2. Re:The blame on MS is hilarious by smeenz · · Score: 1

      That sounds like the slashdot I've been reading for years.

    3. Re:The blame on MS is hilarious by cbiltcliffe · · Score: 1

      When did I say that the security flaw was Microsoft's fault? I don't believe I even inferred that.

      All I was doing was correcting the person who said it was a Microsoft-designed protocol.
      It's not.
      It was extended by Microsoft, which has absolutely jack shit to do with the security flaw in the Linux kernel.

      Don't be so damned touchy....

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
  70. Re:Irony isn't something you dewrinkle clothes wit by ClosedSource · · Score: 3, Insightful

    You seem to be reaching here. If implementing the protocol safely is beyond the ability of Linux developers, then they shouldn't do it.

    More likely the truth is that smart developers for Linux and smart developers for MS make mistakes and will continue to do so. My only complaint is that there shouldn't be a double-standard.

  71. Why MICROKERNEL? NEO's ANSWER!!! by Anonymous Coward · · Score: 0
    Like Matrix's Neo did listen: "You always are inside of the system".
    (you always are inside of the TCP/IP system).
    (your peer always is inside of the Internet system).

    The microkernel too is to move the HUGE TCP/IP source code from the kernel space to user space and the hackers of the evil system can't penetrate to your peer
    (they can remotely execute inside of the vulnerable complex TCP/IP clients but they can't execute code from your trusted microkernel & other clients processes)

    open4free © : design OS expert

    1. Re:Why MICROKERNEL? NEO's ANSWER!!! by A+beautiful+mind · · Score: 1

      i think there are serious bugs in the /. lameness filter aswell.

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
  72. Pay once for 5 years of updates... by CustomDesigned · · Score: 1

    That's what RedHat Enterprise gives you. Unfortunately, the price point is designed for ... the enterprise. If you want a $70 pay once for x years updates, it looks like Suse is your best best. Or, go with Fedora Core for free, but be prepared to upgrade every year. There was also a company that sold RH7.x and RH9 updates for a few dollars a month - I can't remember the name. It was an example of a key business advantage of opensource. When the primary vendor abandons the product, another company can step up to the plate if there is a demand. A sibling post has a link to a volunteer update service for RH9.

    1. Re:Pay once for 5 years of updates... by Anonymous Coward · · Score: 0

      Bzzt, the correct answer is OEM Windows XP. When did Redhat 9 come out, by the way? How long was it supported? And XP?

  73. Re:The sky is falling! The sky is falling! by Anonymous Coward · · Score: 0

    Sure, I run Linux. I only used SMB when connecting to a local machine that the company I was working for at the time had me take home. It was mostly useless, running the latest M$ OS (yippee). Everything ran behind a firewall with (among other things) ports 137, 138 and 139 blocked. There was *very* much more worry (for good reason) for keeping lots and lots of virus software on the Microsoft box. Once every couple of years I run a root-kit checker on the Linux box. I haven't ever gotten anything, and don't expect anything, but I've gotten emails about the manual virus for Linux: 1. create a shell script with: cd /;rm -Rf ./*; change permissions to executable, and change ownership to root, then run it, and call it 'manual virus'.

  74. Colour Flaws In It.Slashdot.Org by Anonymous Coward · · Score: 0
  75. No, a different Redmond, WA company made SMB! by Anonymous Coward · · Score: 0

    Duh. Nintendo made Super Mario Bros. in 1985. Kids these days....

  76. Shows to go you by Anonymous Coward · · Score: 0

    Windows is crap no matter what platform you implement it on.

  77. Re:The sky is falling! The sky is falling! by fanatic · · Score: 1
    I found Linux firewalls to be a real PITA. Getting XFree86 3.3.6 working on my Thinkpad 760XL was a lot easier.

    The reference to XFree86 3.3.6 makes me wonder if you were using the older ipchains instead of iptables. iptables, being stateful with good connection tracking for various protocols, is much easier.

    --
    "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
  78. It's 2004, and there's no excuse by billstewart · · Score: 2, Interesting
    I took Computer Science 101 back in 1974, and the first couple of lessons we learned were
    • Never trust your input data - always check it!
    • Always check for array-bounds and function return codes.
    • Document everything with comments and design documents.
    • If you forget a semicolon or close-parentheses, the compiler will try to fix it, but it'll probably do it wrong.
    • Always number your punch-cards so that you can resort them if you drop them.
    One and a half of those things are no longer true, and most of the security holes seem to come from people ignoring the first two of these principles. I really really like the C Language, but people shouldn't use it for anything sensitive unless they're willing to be really careful, but there's too much badly written code out there.
    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  79. That means be Extra Careful when implementing it by billstewart · · Score: 1

    Sure, it's a Microsoft protocol, and an old funky one they mostly inherited. That means that if you implement it, you need to not only be careful in all the ways you're always supposed to be careful, like checking array bounds and checking for malicious input, but you need to think about assumptions that the protocol makes about problems that the MS file system or other OS parts would fix that you're going to have to handle for yourself (or that you can trust Unix to take care of for you), and threats that wouldn't have bothered Windows that might bother Linux, and features that Windows wants that you really shouldn't fix simply by running as root, etc.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  80. Re:The sky is falling! The sky is falling! by Alan · · Score: 1

    Yes, but there's still no reason to run smbd on a net server :)

  81. Re:Everyone makes mistakes, by Anonymous Coward · · Score: 0

    It's still wrong. Plenty of companies have millions of dollars and hundreds of programmers.

  82. thank god! by sup4hleet · · Score: 1

    I'm still on kernel 2.2.16C37_III ! :) No seriously, I am.

  83. Why not use webdavs or sftp? by Ambassador+Kosh · · Score: 2, Informative

    Most modern systems can mount webdav to share just fine, you can server it from all kinds of systems and can work with it from just about any kind of system. With ssl you can make it secure enough. So you end up with something nice and fast and where you are free to change implementations at any time on client or server without breaking stuff.

    Another option is sftp. I am not sure how easy that is to do under windows and osx but I expect someone has a vfs layer for it under those. Under kde and gnome sftp is transparent to work with and it should be very secure, that is the way I usually share files is with sftp.

    The advantage of both of these is that they are entirely user space. Worrying about speed with these file sharing seems seems pretty silly in most cases. You have such vastly more cpu power available then the system needs for file sharing that trading security for speed which is what many of these systems is doing is ridiculous. We should be designing stuff for security first and speed second since who cares how fast a machine can be compromised is. As long as it is fast enough that is fine.

    Another thing really needed is more use of safer libraries. Code is not an asset it is a LIABILITY the more of it you have the worse off you are. You need to offload as much stuff to common libraries, using higher level languages which have more safety features built in etc. In the end you will end up with safer and more reliable programs and strangely enough most of them will tend to be faster for many reasons.

    --
    Computer modeling for biotech drug manufacturing is HARD! :)
  84. NT4 by Craig+Ringer · · Score: 1

    Unfortunately, CifsFS doesn't seem to support NT4. As NT4 is _still_ a significant part of the Windows user base, this appears to me to be a problem.

    I'd be glad to be proved wrong, however.

  85. Re:Irony isn't something you dewrinkle clothes wit by neitzsche · · Score: 1

    FROM SECURITYFOCUS:

    During an audit of the smb filesystem implementation within Linux
    several vulnerabilities were discovered ranging from out of bounds
    read accesses to kernel level buffer overflows.

    To exploit any of these vulnerabilities an attacker needs control
    over the answers of the connected smb server. This could be achieved
    by man in the middle attacks or by taking over the smb server with
    f.e. the recently disclosed vulnerability in Samba 3.x

    While any of these vulnerabilities can be easily used as remote
    denial of service exploits against Linux systems, it is unclear if
    it is possible for a skilled local or remote attacker to use any of
    the possible bufferoverflows for arbitrary code execution in kernel
    space.

    Gee, how often does Microsoft have unknown persons audit their code (besides the occasional code theft, of course.) I think that this exemplifies the power of open source. Some subtle exploits were turned up during an audit. As of now, securityfocus is reporting that there are no exploits developed for these errors. But vendors are already providing patches!

    MS with it's Billions of dollars simply can't be as responsive. Er, well they could be, but they choose not to be.

    The problems discovered require an a remotely mapped SAMBA share to be mounted (remotely! The lunacy!) and be subverted by a man-in-the-middle attack DURING a DOS.

    Now, maybe www.sco.com could worry about this, but I just can't imaging too many linux admins leaving samba shares mapped remotely (especially DURING a DOS.) Joe-six-pack cannot set up a samba share without help. This is not something that is able to be exploited on just any-old default installation. You have to start SMB and have a mapped samba share! Is it any wonder that treating this code to a serious security review was a low priority?

    I don't see how this is applying a double standard.

    --
    "God is dead." - Frederik Nietzsche
  86. Re:smbfs - cifs is easy by Internet_Communist · · Score: 1

    thanks for the info. After reading the parent and your post I decided to switch, and I've successfully done so.

    I had no idea this even existed, but indeed the switch was quite simple. The only problem I ran into was when mounting shares as a user but this was an easy fix (had to properly chown the mount dir, oops)

    --

    If you don't want someone to copy something, don't give it to anyone.
  87. The difference being by warrax_666 · · Score: 1

    that you can always just get the security patches of the kernel mailing list (or simply find the BK changesets) and apply them to your chosen kernel yourself -- sure you may have to fiddle a bit with the patches to get them to apply cleanly, but at least it's possible. This is not the case with closed source software.

    --
    HAND.
  88. Well, then... by warrax_666 · · Score: 1

    I can recommend shorewall. Very easy to set up and "secure by default" (ie. has built-in rules to prevent various forms of spoofing, denies incoming traffic by default, etc).

    --
    HAND.
  89. I like how... by Anonymous Coward · · Score: 0

    For many of you, this is still Microsoft's fault. Jeez, you poor bastards will blame the Apocalypse on MS when it happens.

  90. Re:Irony isn't something you dewrinkle clothes wit by Mycroft_VIII · · Score: 1

    Not during DOS attack. It has the potential to used as one, it doesn't need one to work.
    Also it doesn't require a man-in-the-middle, that's just one way to do it. The other is if the other machine is malicious or compromised itself.

    Mycroft

    --
    https://signup.leagueoflegends.com/?ref=4c3ed6600b6ea
  91. Re:Irony isn't something you dewrinkle clothes wit by neitzsche · · Score: 1

    True. I dismissed that initially as ridiculous, but I guess it is possible. Not likely, but yes, possible that someone would remotely mount a share from an untrusted host.

    --
    "God is dead." - Frederik Nietzsche
  92. Good god... Its utterly untrustworthy/ or not? by Anonymous Coward · · Score: 0

    Look at these , this makes Linux as a network system not to be trusted. Im shocked to see this, especially the unpatched items, which are quite servere.

    http://secunia.com/product/2719/

    Anyone know if the ac-patches addres these things.

    How do Suse and Fedora handle this, or don't they?

    It raises some serious questions with i gues.

    Im going on a patch hunt ;)

  93. stupid place for the thing to run by DrSkwid · · Score: 1


    Having things run in the kernel space is just plain stupid.
    Keep things out of the kernel and you are on to a winner.
    The kernel is NOT the place to be handling remote file systems, it's just plain silly.

    Unix (likes) are dead. Not only that they are beginning to really smell.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  94. I call bullshit by Anonymous Coward · · Score: 0

    Everyone here knows you don't get security holes in teh linux.

  95. I think I'm immune by ajs318 · · Score: 2, Interesting

    I have no SMB shares -- I even compiled my kernel without SMBFS support. Honestly, I really don't see the point with SMBFS. All the machines on my LAN have NFS support compiled in, and the ones with printers attached are running CUPS. That seems to work fine.

    If I actually wanted to run a Windows box for some reason, I'd probably just run open-source NFS and CUPS clients on that. A non-secret, non-proprietary protocol is always going to be inherently more secure than a secret, proprietary one; because there is a proper distinction between what really needs to be kept secret for security reasons, and what can't be kept secret because the source code is available to all.

    --
    Je fume. Tu fumes. Nous fûmes!
  96. Re:that'd be fine if new kernels didn't break you. by Anonymous Coward · · Score: 0

    You're talking nonsense. Any decent Linux vendor (Redhat, Suse, etc) will supply kernels that are compatible with previous versions. That's their whole reason for existence; to make things like that smoother.

  97. Re:that'd be fine if new kernels didn't break you. by SQLz · · Score: 1

    There is always `rm smbfs.o` That might help.

  98. Re:The sky is falling! The sky is falling! by Short+Circuit · · Score: 1

    No, I was using iptables.

  99. Cifsfs is not ready for public consumption yet by andersa · · Score: 1

    As I wrote in a comment just above this one, I had similar difficulties with cifsfs. I agree it isn't mature yet.

  100. Firewall box ... by foobsr · · Score: 1

    don't make samba shares on your firewall box

    Don't put a harddisk in your firewall box.

    CC.

    --
    TaijiQuan (Huang, 5 loosenings)
  101. Scape goat by Anonymous Coward · · Score: 1, Funny

    OMG! How can we find a way to blame Microsoft?!!?

    1. Re:Scape goat by Zoolander · · Score: 1

      They made the protocol, the bastards!

      --
      Meep.
  102. Re:Irony isn't something you dewrinkle clothes wit by ClosedSource · · Score: 1

    "Gee, how often does Microsoft have unknown persons audit their code (besides the occasional code theft, of course.)"

    I'm not sure what you mean by "unknown" here. I'm sure in the last few years individuals within MS who didn't write the code are auditing it for security.

    "MS with it's Billions of dollars simply can't be as responsive. Er, well they could be, but they choose not to be."

    Well, the number of different programs running on Windows is probably an order of magnitude greater than on Linux so more care is required to make sure a patch will not mess things up. The Linux community can always fall back on the excuse that "it's free so you shouldn't complain". Obviously MS can't.

    "I don't see how this is applying a double standard"

    I don't see much interest on Slashdot on breaking down a Windows security bug to see how difficult it would be to exploit, but there's always someone who will provide excuses for Linux here.

  103. Microsoft and SMB by flu1d · · Score: 1

    Can we start blaming Microsoft for bugs in Linux now?

    Not that I'm a fan of M$ but you can probably blame IBM too as they are the ones who wrote the first version of SMB

  104. Re:Everyone makes mistakes, by ultranova · · Score: 1

    Plenty of companies have millions of dollars and hundreds of programmers.

    The problem is that the dollars go to marketing, not betatesting, and the programmers work on adding features, not fixing bugs.

    Fixing bugs allows you to release a new minor version; it brings not a single cent in. Adding features allows you to release a new major version and hype it with marketing, for a nice profit. Therefore, it makes sense for companies to ignore bugs (or combine bugfixes with features into the new release, to provide added incentive for buying the same product again) than to have their programmers hunt for bugs or fix known ones.

    Obviously, there's expections; if, for example, your business strategy is to sell added content for the core package, it makes sense to make that core program as bugless as possible, to keep the customers from escaping to competing products.

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  105. Debian's got you covered. by twitter · · Score: 1
    Does anybody know of some website or source that's been tracking these kinds of linux exploits, including the date and nature...

    Try http://www.debian.org/security/. It's more than just a line in your sources.list.

    and the fixes?

    Yep, that's there too. For example, this page about an xpdf problem has date reported, links to the bug track which document the problem, the CVE page, itself what you are looking for, and packages to fix the problem. XPDF? Bummer, I had no idea, but I'm glad it got fixed in the upgrade last week.

    Practically, you drop the appropriate line into your /etc/apt/sources.list file:

    deb http://security.debian.org stable/updates main contrib non-free
    deb http://security.debian.org testing/updates main contrib non-free

    and security update will happen at every apt-get update, apt-get upgrade you do. Asking to add this line has been part of the installation for a long time. It may be the only thing you need for your sources.list file.

    The Sarge net install CD gets all of it's packages straight off the web and does so before starting services that might be exploited. This makes every install as current as it can be and the whole process relatively secure. That's the bottom line, right?

    Compare that to the typical Windoze wipe and reload with the "orignial" years old CD that came with the computer and M$'s aging codebase and you start to see how the free software development and distribution methods are vastly superior to closed source.

    --

    Friends don't help friends install M$ junk.

    1. Re:Debian's got you covered. by INAN · · Score: 1

      ... yeah, but Debian also doesn't have a DSA on this bug that I can find, no recent release of 2.4.27 (ie: no backported fixes) and no release of 2.4.28.

      Love Debian, but still trying to find the best way to patch my Debian machines.

      (please let me know if I'm missing something)

  106. Re:Irony isn't something you dewrinkle clothes wit by neitzsche · · Score: 1

    I'm not sure what you mean by "unknown" here. I'm sure in the last few years individuals within MS who didn't write the code are auditing it for security.

    Fair enough. What I meant by "unknown" was partly as you point out, some parties not directly involved in code development. But the beauty of this particular Linux SMB audit is that it apparently did not originate from the same organization that developed it. A truly independent audit, with no financial incentive for pulling punches. Internal Microsoft audit results never get publicized (with interim work-arounds) until a patch is ready.

    "MS with it's Billions of dollars simply can't be as responsive. Er, well they could be, but they choose not to be."

    Well, the number of different programs running on Windows is probably an order of magnitude greater than on Linux so more care is required to make sure a patch will not mess things up. The Linux community can always fall back on the excuse that "it's free so you shouldn't complain". Obviously MS can't.


    I disagree with your assessment on orders of magnitude. The variety that exists in the open source world is much more complicated than the Microsoft world. You imply that Linux patches are 100% untested - that is absurd. Also, not all Linux is free (as in beer.) Microsoft delays patch roll outs inexplicably.

    I don't see much interest on Slashdot on breaking down a Windows security bug to see how difficult it would be to exploit,

    WHOA! Are we reading the same /.? :-)

    but there's always someone who will provide excuses for Linux here.

    Now that is a loaded statement! Was I providing excuses? Are you now going to turn your statement on its head and say you mean "someone" but not me? {Sigh.}

    No no, it's not excuses for Linux; it's more of an opportunity to bash Microsoft for having poor disclosure (even though that seems to be finally changing) and poor patch timeliness.

    --
    "God is dead." - Frederik Nietzsche
  107. Re:Irony isn't something you dewrinkle clothes wit by ClosedSource · · Score: 1

    "I disagree with your assessment on orders of magnitude. The variety that exists in the open source world is much more complicated than the Microsoft world."

    I'm not sure what you mean by the variety being more complicated. Given that MS has about 90% of the desktop market it makes perfect sense that there are many more programs written for Windows than Linux.

    "You imply that Linux patches are 100% untested - that is absurd."

    I implied nothing of the sort. I do doubt however, that any significant testing effort is performed to insure a patch won't affect other programs (which is quite different from tesing whether the patch successfully handles the bug). As far as my comment on "it's free so you shouldn't complain" its something I learned from the open/free source community. You're not seriously going to suggest that it's not a common attitude are you?

    "Now that is a loaded statement! Was I providing excuses? Are you now going to turn your statement on its head and say you mean "someone" but not me? {Sigh.}"

    I'm sure you're a fast typist but I wouldn't claim that all Linux excuse posting on Slashdot was done by you. Thus using the word "someone" seemed quite appropriate.

  108. Re:Irony isn't something you dewrinkle clothes wit by Mycroft_VIII · · Score: 1

    A lot of otherwise smart, and sometimes tech savy, people do things that seem rather stupid from a security standpoint. It's usually a matter of social engineering.
    Though in this case the odds do seem a bit lower because anyone going to all the trouble to figure out and setup a Linux box for mounting remote windows shares is having to do more work than a few simple click in most cases, the thought and effort one must go through should create a greater inertia to impulse thinking that social engineering often relies on.

    Mycroft

    --
    https://signup.leagueoflegends.com/?ref=4c3ed6600b6ea
  109. Re:Irony isn't something you dewrinkle clothes wit by neitzsche · · Score: 1
    Bill, this is getting tiresome.
    I'm not sure what you mean by the variety being more complicated. Given that MS has about 90% of the desktop market it makes perfect sense that there are many more programs written for Windows than Linux.

    There are about 200 Linux distributions (last time I checked.) You don't understand that 200 separate vendors is inherently more complicated than a single vendor? So you change the subject to an irrelevant questionable factoid?

    I implied nothing of the sort...

    You certainly did, in your earlier post. Go back and read it again.


    I'm sure you're a fast typist but I wouldn't claim that all Linux excuse posting on Slashdot was done by you...


    Cute. But I wasn't excusing Linux for anything. Perhaps all the other "excuses" you see posted are merely accurate respresentation of facts, and you are twisting them with your skewed perspective?

    To your original post, I still don't see how there is any double standard here. The open source model allowed a preemptive approach to be taken here. That fact alone is a tremendous acheivement of the open source model.

    If Microsoft could be as responsive, perhaps attitudes would be different. But I don't see how they ever can be, with their current closed source approach.

    --
    "God is dead." - Frederik Nietzsche
  110. Re:Irony isn't something you dewrinkle clothes wit by ClosedSource · · Score: 1

    "There are about 200 Linux distributions (last time I checked.) You don't understand that 200 separate vendors is inherently more complicated than a single vendor?"

    Well, if you're claiming that these 200 Linux distrubtions are so incompatible that they make the complexity of dealing with 10-100 times more applications on Windows trivial by comparison, then you're making a really good argument against adopting Linux.

    I don't think the Linux world is really that grim. I suspect that Linus and the core Linux developers don't give a rat's ass about the 195 Linux distributions that probably make up less than 1% of the Linux "market" and make no special effort whatsoever to make sure a patch doesn't mess them up.

    "You certainly did, in your earlier post. Go back and read it again."

    I have read it. The fact that you don't quote the part of my post that you claim implies "that Linux patches are 100% untested" is pretty clear evidence that you can't find one. Why not just admit you were wrong and move on.

  111. Re:Irony isn't something you dewrinkle clothes wit by neitzsche · · Score: 1

    Thanks for changing the subject AGAIN. Thanks for partial quoting again.

    Something you imply isn't something to be directly quoted. What you imply is the gestalt of your post(s), and that certainly was your implication.

    IHBT. Ouch.

    --
    "God is dead." - Frederik Nietzsche
  112. Re:Irony isn't something you dewrinkle clothes wit by ClosedSource · · Score: 1

    "Thanks for changing the subject AGAIN."
    Care to be more specific about what you mean?

    "Thanks for partial quoting again."

    "Something you imply isn't something to be directly quoted. What you imply is the gestalt of your post(s), and that certainly was your implication."

    Let me get this straight. I'm being critized for partial quoting (whatever that means) but it's OK for you to derive my intent from my "gestalt" without quoting me at all. You don't find your critera a bit inconsistent?

    "IHBT"

    So I'm a troll now. OK, calling troll is always the last argument of the incompetent on Slashdot.