Slashdot Mirror


Buffer Overflow in Sendmail

ChiefArcher writes "On the footsteps of openssh, Sendmail 8.12.10 has just been released due to a buffer overflow in address parsing. Sendmail states this is potentially remotely exploitable. No updates on the Sendmail site yet, but the FTP site has the release notes."

478 comments

  1. Use qmail by DigitalNinja7 · · Score: 5, Informative

    That's why you should be using qmail, ya' code monkeys! Seems like this happens every couple months.

    --
    Show your love for the Hacker community
    HackerLogo.com
    1. Re:Use qmail by Anonymous Coward · · Score: 0

      wow, 3 out of the first 4 posts mention qmail. interesting.

    2. Re:Use qmail by grasshoppa · · Score: 1

      wow, 3 out of the first 4 posts mention qmail. interesting.

      That should tell you something

      --
      Mod me down with all of your hatred and your journey towards the dark side will be complete!
    3. Re:Use qmail by Anonymous Coward · · Score: 0

      Care to give an example of a remote hole in qmail? Didn't think so, otherwise you would habe picked up the cash the author is offering for anyone who can find such a hole..

    4. Re:Use qmail by Chupa · · Score: 1

      Really? Could you point to an example of a vulnerability? Someone must be missing out on some money, because no one has yet to claim the cash reward.

      P.S. I've been running qmail on many hosts for several years with nary a problem of any kind. Just because an update isn't released every 2 weeks doesn't mean it's insecure or "bitrotted." If it isn't broken, dont' fix it.

    5. Re:Use qmail by Anonymous Coward · · Score: 0

      timtyler says "This guy is a doofus" at DigitalNinja7:

      http://www.gamerrep.com/gamerReps/viewtopic.php? t= 3

    6. Re:Use qmail by Dysan2k · · Score: 4, Informative

      Bah! And I'll say it again, Bah!

      Use Postfix! Ok, use either really, just stop using Sendmail. I run Qmail at work (due to legacy and converting Qmail's Maildir to Cyrus' Maildir just seems neigh impossible) and Postfix at home. Postfix is really straight-foward on setup and has TONS of documentation in the conf files.

      Qmail, on the other hand has tons of docs on the site and lists a number of different ways to perform various tasks.

      It's really a crap-shoot as to which you prefer. Just STOP USING SENDMAIL!

      --
      -What have you contributed lately?
    7. Re:Use qmail by bongoras · · Score: 5, Informative

      PLEASE PLEASE PLEASE read the fucking article...

      from the release notes:

      "Fix a potential buffer overflow in ruleset parsing. This problem
      is not exploitable in the default sendmail configuration;
      only if non-standard rulesets recipient (2), final (4), or
      mailer-specific envelope recipients rulesets are used then
      a problem may occur. "

      http://www.sendmail.org/8.12.10.html

      While I agree it's necessary to patch systems, this is hardly like the Blaster worm. I'm going to go way out on a limb here and say that 99.99% of all sendmail installations in the world don't use these rulesets. And anyone who IS using them is likely to be a sendmail weenie anyhow and they'll just take a break from writing their AI Chess program in sendmail.cf and patch it themselves.

    8. Re:Use qmail by Anonymous Coward · · Score: 3, Funny

      bernstein managed to suck out the brain of many people?

    9. Re:Use qmail by Anonymous Coward · · Score: 0

      I'm not sure that I'm allowed to use qmail. Can I see the license for it?

    10. Re:Use qmail by Anonymous Coward · · Score: 0

      I prefer to use Free software.

    11. Re:Use qmail by ChaosDiscord · · Score: 3, Informative
      That's why you should be using qmail, ya' code monkeys!

      Great idea! I'll just download a package from my favorite distribution that's tuned qmail to mesh nicely with how my system is configured.

      Hmm, they don't supply packages for qmail. Why not? They're not allowed to. If I take the time to make up such a package, I'm not allowed to give it to my friend.

      Quoth Bernstein:

      But that's a decision for the Apache maintainers, not the UNIX integrators!

      Darn those pesky integrators, attempting to make their system internally consistent and trying to please their users!

      I've heard great things about qmail, it's great that is available with source for no cost. But it's proprietary software, putting me at the mercy of Bernstein. If you want someone else to maintain a fork with features you desire, you're out of luck. It's fine if you're willing to accept that, but it's not acceptable to everyone. Fortunately there are other options available.

    12. Re:Use qmail by brion · · Score: 1

      But right above that it says:




      SECURITY: Fix a buffer overflow in address parsing.
      Problem detected by Michal Zalewski, patch from Todd C. Miller of Courtesan Consulting.


      These look like two different bugs (among the many things listed as fixed). They have separate indent levels, and are credited to different discoverers.

      --

      Chu vi parolas Vikipedion?

    13. Re:Use qmail by Anonymous Coward · · Score: 0

      Mod parent DOWN!

      That's not the parsing bug the patch is for - it's this one (also in those same release notes; just above it)

      SECURITY: Fix a buffer overflow in address parsing. Problem detected by Michal Zalewski, patch from Todd C. Miller of Courtesan Consulting.

      From my understanding this buffer overflow is exploitable in default installs... so patch those systems!

      (Or use postfix which is, IMO, the best engineered of the common MTAs)

    14. Re:Use qmail by geniusj · · Score: 1

      I've converted qmail maildir into cyrus maildir.. The only problem is that you lose your flags like read/unread, etc. Now if I only remembered what I used to do it :). Just remember that it's possible.

    15. Re:Use qmail by blakestah · · Score: 0, Flamebait

      You are wrong, qmail is not in the same class as proprietary software.

      Qmail comes free, with source, with the ability to modify the source and re-distribute the original package as source, and any patches you might have as separate patches.

      Debian packaging distributes qmail with a patch and a build script.

      Very nearly all the Free Software guidelines are met by the distribution of qmail. The one lacking is not a true freedom, but something that makes life easier, the ability to package binaries any way you like and re-distribute them.

      Besides, doncha just like to install something that works and not need to worry about it, like djbdns or qmail?

    16. Re:Use qmail by Anonymous Coward · · Score: 0

      Considering there is another hole announced today for OpenSSH (note that this is different from the one announced yesterday) - you should also say this:

      Just STOP USING OPENSSH!

    17. Re:Use qmail by Pointer80 · · Score: 2, Informative

      I used perl with Mail::IMAPClient to convert from Maildir (Sendmail/Procmail w/modified qmail-pop3d) to Cyrus.

      Here is the most relevant part of the perl module I wrote to handle the migration.

      Please not that there are several system dependent settings in this function. Our spool was hashed to depth two. I will probably end up rewriting this module to proxy for the user, authenticating as cyrus, which would be much cleaner.

      We've been using Postfix/Cyrus in production for a while now and we're really happy with it.

      /pointer

      --
      [%- PROCESS life -%]
    18. Re:Use qmail by Pointer80 · · Score: 1

      I forgot to mention that this code preserves the \Seen state of the messages.

      If you're just migrating from one IMAP server to another, check out the migrate() method of Mail::IMAPClient. You won't regret it. If you decide to use it, make sure that you grab the latest version from CPAN.

      There are plenty of code/method usage here

      /pointer

      --
      [%- PROCESS life -%]
    19. Re:Use qmail by Assembler · · Score: 1

      Would you like to offer an alternative?

    20. Re:Use qmail by H*(BZ_2)-Module · · Score: 1

      Here are a few. I've used lsh myself, and found it quite nice.

    21. Re:Use qmail by thogard · · Score: 1

      Remember most of the sendmail patches over the last two decades are to workaround bugs in the OS or external delivery agents or the interfaces. Those classes of bugs are excluded from the reward.

    22. Re:Use qmail by eatdave13 · · Score: 1

      Wrong. Gentoo has a very nice package for qmail.

      --
      "Verbing weirds language." -- Calvin
    23. Re:Use qmail by fr0dicus · · Score: 1
      Despite my favourite vendors' (Sun and Apple) use of sendmail, I am considering switching.

      However I'll never use qmail. It's the work of pure evil! If the onion said it was written by aliens I'd believe them!

      No no. Exim for me.

    24. Re:Use qmail by The+Grassy+Knoll · · Score: 1

      converting Qmail's Maildir to Cyrus' Maildir just seems neigh impossible

      I've screamed about this til I'm horse, too!

      --
      They will never know the simple pleasure of a monkey knife fight
    25. Re:Use qmail by Grab · · Score: 1

      "Courtesan Consulting"??? I've heard ppl described as corporate whores before, but it's the first time I've seen it as an actual job description...

      Grab.

    26. Re:Use qmail by Eunuchswear · · Score: 1

      No.

      Next question?

      --
      Watch this Heartland Institute video
  2. Can you say... by grasshoppa · · Score: 0, Troll

    qmail?

    Look, someone had to say it, it might as well have been me.

    --
    Mod me down with all of your hatred and your journey towards the dark side will be complete!
  3. Sendmail, huh? by inertia187 · · Score: 0, Troll

    Should say: from the what-else-is-new dept. Umkay?

    --
    A programmer is a machine for converting coffee into code.
    1. Re:Sendmail, huh? by Anonymous Coward · · Score: 2, Informative

      Christ, the mods must really have a hard-on for sendmail. Every post critical of it in this thread was instantly downmodded, regardless of the fact that they were TRUE. Sendmail DOES have a long history of serious security flaws, and both Postfix and Qmail (I prefer Qmail) are valid responses to this trend, as neither one of them have exhibited the same problems.

    2. Re:Sendmail, huh? by Mothra+the+III · · Score: 1

      Mod Parent Down!!!

      --
      Worst. Sig. Ever.
  4. "Email Different" by Anonymous Coward · · Score: 5, Funny


    That's why you should entrust all your email services to Hotmail.

    1. Re:"Email Different" by CausticWindow · · Score: 4, Funny

      You've got a point there.

      While not as flexible as mutt on a *nix server, at least Hotmail is basicly secure.

      --
      How small a thought it takes to fill a whole life
    2. Re:"Email Different" by buffer-overflowed · · Score: 4, Funny

      No, you should entrust all your email to me... I'm a nice guy really. I'm *never* responsible for remotely exploitable holes.

      --
      The key to the enjoyment of pop music is to replace any instance of "love" with "C.H.U.D."
    3. Re:"Email Different" by blchrist · · Score: 3, Informative

      not all that secure http://www.securitytracker.com/alerts/2003/May/100 6728.html http://www.wired.com/news/business/0,1367,21490,00 .html

    4. Re:"Email Different" by blchrist · · Score: 1

      yeah, i have no sense of humor *blush*

    5. Re:"Email Different" by Anonymous Coward · · Score: 0

      I hope you never deliver email to me because you will get shot entering my property. Thats a remotely exploitable hole, right?

    6. Re:"Email Different" by rworne · · Score: 4, Insightful

      Actually it is secure, depending on your needs.

      I need a mail server for non-sensitive e-mails. If someone roots Hotmail's server, I couldn't care less about it. If someone roots my server, then it's a whole different matter. I also use it to prevent handing out my real email address to the myriad of sites that require e-mail registration and for usenet postings.

      So yes, in my case Hotmail is a very secure solution.

      --
      I tried every decent and legal way I could think of to resolve the issue w/the business before I rented the chicken suit
    7. Re:"Email Different" by buffer-overflowed · · Score: 1

      No, that's remotely putting a hole in me AC. I don't really want to think about how you'd "exploit" that hole... but hey, to each his own, eh?

      --
      The key to the enjoyment of pop music is to replace any instance of "love" with "C.H.U.D."
    8. Re:"Email Different" by Anonymous Coward · · Score: 0

      You are a remotely exploitable hole.

    9. Re:"Email Different" by Anonymous Coward · · Score: 0

      Hotmail is not secure. Have you ever heard of WebDav exploit? People *are* using this on Hotmail

    10. Re:"Email Different" by blchrist · · Score: 1

      but if someone can change your password, the account is no longer very useful. you can't even reply to confirmation emails then.

    11. Re:"Email Different" by Stevedust · · Score: 3, Interesting

      For disposable email accounts (for site registrations etc), take a look at Mailinator. It offers automatically generated mailboxen, which are deleted after a few hours.

    12. Re:"Email Different" by Frank+T.+Lofaro+Jr. · · Score: 1

      Yeah right, Mr. Gates.

      --
      Just because it CAN be done, doesn't mean it should!
    13. Re:"Email Different" by rworne · · Score: 1

      I was looking at this a few weeks ago. You make up an address at their domain and jump on the web site to get the confirmation email. You don't even need a password.

      The only drawback is that the mailboxes were all on that one domain - too easy to blacklist.

      Great suggestion though.

      --
      I tried every decent and legal way I could think of to resolve the issue w/the business before I rented the chicken suit
    14. Re:"Email Different" by stock · · Score: 1
      "So yes, in my case Hotmail is a very secure solution."

      On my last a job a junior admin was running around along all kinds of windows servers. The bumpersticker on his car read :

      "I read your e-mail"

      I guess he was right :))

  5. OpenSSH as well by ChiefArcher · · Score: 1, Informative

    Openssh is also exploitable today. (AGAIN!)
    They missed a few from yesterday.

    http://www.flyingbuttmonkeys.com/ssh/
    has a few RPMS (9/8/7.3) i just compiled to patch the problem.. (backported).. THe SRPM is also available for those unwilling to trust my patching efforts.

    Or you can wait a few hours for official redhat releases.

    1. Re:OpenSSH as well by CausticWindow · · Score: 4, Insightful

      It's a paradox that people who are so paranoid when it comes to security (there are no proof of concept remote exploits for either of these holes), would download patches from where ever and who ever.

      Posts like the parent ("get latest patch from me!") always get moderated up, so there must be somebody downloading and installing them. Maybe I shouldn't give people ideas.

      --
      How small a thought it takes to fill a whole life
    2. Re:OpenSSH as well by (startx) · · Score: 3, Informative

      and it's allready been updated in slackware as well. Go Pat!

    3. Re:OpenSSH as well by G+Money · · Score: 1

      If I'm not mistaken, there are exploits in the wild for at least the first vulnerability. The full discloser list makes reference to it at http://lists.netsys.com/pipermail/full-disclosure/ 2003-September/010116.html
      and someone claims that "The systems in question are FreeBSD, RedHat, Gentoo, and Debian all
      running the latest versions of OpenSSH."

    4. Re:OpenSSH as well by Anonymous Coward · · Score: 1, Informative

      So don't download the latest patch from them, instead use a trusted source, like this. Check the latest commits by nectar.

    5. Re:OpenSSH as well by lone_marauder · · Score: 5, Funny

      What?? You don't trust software compiled by flying butt monkeys?

      --
      who are those slashdot people? they swept over like Mongol-Tartars.
    6. Re:OpenSSH as well by Tuffnut · · Score: 1

      its called 0-day, come on dude, get with the program and start rooting those gibsons! :)

    7. Re:OpenSSH as well by ComputerSlicer23 · · Score: 1
      Uhhh, MD5SUM's posted in a public place, and checking the signature on the MD5SUM file, or I can check the signature of the downloaded file. If you are paranoid those are the things I'd start with.

      Kirby

    8. Re:OpenSSH as well by RevMike · · Score: 3, Insightful
      It's a paradox that people who are so paranoid when it comes to security (there are no proof of concept remote exploits for either of these holes), would download patches from where ever and who ever.

      One of the pluses of open source is that you have the ability to look at the code and determine exactly what the patch changes. For a small patch most sysadmins, even though they might not be an "elite" programmer, can determine that the code does some extra boundary checking or the like.

      I would hope that sysadmins do this before installing code from an unknown source.

    9. Re:OpenSSH as well by Politburo · · Score: 2, Insightful

      Posts like the parent ("get latest patch from me!") always get moderated up, so there must be somebody downloading and installing them.

      Considering that a lot of mods don't even seem to READ the posts they mod, I doubt they checked out the link.

    10. Re:OpenSSH as well by banzai51 · · Score: 1

      Jesus. That's it. I'm deploying Windows now. Damn OSS projects constantly in need of security patching! Brought to you by the Pot and Kettle company.

    11. Re:OpenSSH as well by Anonymous Coward · · Score: 0

      DAMMIT all those ppl d/loading and patching will prevent this hole from making prime time news. How WILL our favorite OS ever make it big?

      BTW, Marge I was being sarcastic

    12. Re:OpenSSH as well by Anonymous Coward · · Score: 1, Funny

      > What?? You don't trust software compiled by flying butt monkeys?

      Yes, I use Microsoft products all the time.

    13. Re:OpenSSH as well by Enrico+Pulatzo · · Score: 1

      I'm sorry, but only Netscape 4 deserves the designation of being compiled by flying butt monkeys.

      That and pretty much anything I've written. Sad but true.

    14. Re:OpenSSH as well by lcde · · Score: 1

      It's a paradox that people who are so paranoid when it comes to security (there are no proof of concept remote exploits for either of these holes), would download patches from where ever and who ever.

      proof of concept or not, its good practice to make sure no one could root your system.

      The lack of paranoia in most users is the reason we get screwed when MSBlaster like viruses come out

      --
      :%s/teh/the/g
  6. It's on the site now by Phaid · · Score: 4, Informative

    The official announcement is here.

    I've already downloaded and installed it. Thank goodness for Slackbuild scripts :)

    1. Re:It's on the site now by buffer-overflowed · · Score: 2, Funny

      Lies, all lies, I'm not in sendmail, I don't even run sendmail. I run qmail.

      --
      The key to the enjoyment of pop music is to replace any instance of "love" with "C.H.U.D."
    2. Re:It's on the site now by rkz · · Score: 1

      lol

  7. Patch delivery mechanism by Brahmastra · · Score: 1

    Does Linux have an Auto-update mechanism similar to windows that indicates when new patches are available for download? That would be a very useful feature. The number of patches on all OSes are getting ridiculous these days.

    1. Re:Patch delivery mechanism by Moth7 · · Score: 1, Informative

      Does Linux have an Auto-update mechanism similar to windows that indicates when new patches are available for download?

      No, it just has intelligent users and a trace level of OS level bugs :p

    2. Re:Patch delivery mechanism by Vaginal+Discharge · · Score: 1, Flamebait

      With all the bad things said about Windows, one thing you must give Microsoft credit. When an exploit is made public, they already have the patch ready. This is unlike what Linux/Open source has, and I think it needs to be changed soon. Microsoft has a policy of encouraging private disclosure and has a top notch response team. But the problem for them is that since so many people use their system and not everyone uses the auto update feature, having a patch out and getting that patch installed are two very different things.

      --
      "Glory is fleeting but obscurity is forever" - Napoleon Bonapart.
    3. Re:Patch delivery mechanism by OrenWolf · · Score: 2, Informative
      There sure is!

      RHN Update Agent

    4. Re:Patch delivery mechanism by Jhon · · Score: 2, Informative

      Depends on your distro. up2date for RH is a good example.

    5. Re:Patch delivery mechanism by FileNotFound · · Score: 1

      Well nothing built in, but I'm fairly sure that PatchLink can update linux. But then it's for corporations etc.
      Unless you're ok with having a seperate server to do your patching for you...

      --
      In Soviet Russia, the television watches YOU!
    6. Re:Patch delivery mechanism by Anonymous Coward · · Score: 0

      Yes, there is, and it is not know to give false positives like Microsoft's.

    7. Re:Patch delivery mechanism by Anonymous Coward · · Score: 5, Funny

      > Does Linux have an Auto-update mechanism similar to
      > windows that indicates when new patches are available
      > for download?

      Yup. it's called "slashdot"

    8. Re:Patch delivery mechanism by blate · · Score: 1

      Redhat has their up2date service... however, you have to pay for it. It definitely notifies you about updates for each of your systems. Supposedly, you can schedule maintenence via their website for all of your machines. I used it for a while on a trial basis, and it seemed to work OK.

      However, I object to having to pay for free software :)

      Anyone want to get together and work on an open-source auto-update package?

    9. Re:Patch delivery mechanism by deuce868 · · Score: 1

      apt-get update
      apt-get upgrade

      -done-

      I hear RH has a form of apt as well. Then again, most of the majors seem to have the little icons and such that alert you to a waiting update.

    10. Re:Patch delivery mechanism by FileNotFound · · Score: 1

      Bah...typo in URL, PatchLink

      --
      In Soviet Russia, the television watches YOU!
    11. Re:Patch delivery mechanism by brighton · · Score: 1

      My Redhat 9 does : "up2date -uv" (Provided you registered your computer with the redhat network) And if your running debian there's always apt-get .

    12. Re:Patch delivery mechanism by sg_oneill · · Score: 2, Informative

      apt-get update
      apt-get upgrade

      Stick it in a cronjob.

      Solved :)

      --
      Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
    13. Re:Patch delivery mechanism by Anonymous Coward · · Score: 0

      > Anyone want to get together and work on an open-source auto-update package?
      No.

    14. Re:Patch delivery mechanism by mahdi13 · · Score: 1

      But in the Open Source/Linux world, they don't pretend it doesn't exist and not write a patch for 3 months...then get slammed by a major virus/worm.

      --
      "Some things have to be believed to be seen." - Ralph Hodgson
    15. Re:Patch delivery mechanism by danigiri · · Score: 1

      On MacOSX, Apple has a free patching mechanism that can be (and is) put to good use.

      There is a GUI and a nifty CLI app called 'softwareupdate' for remote updating.

    16. Re:Patch delivery mechanism by UberChuckie · · Score: 1

      Even though Debian (STABLE) uses old versions of packages, they release patches when security problems arise.

    17. Re:Patch delivery mechanism by Frymaster · · Score: 1
      The sure is!

      apt-get upgrade

    18. Re:Patch delivery mechanism by Aadain2001 · · Score: 1

      I disagree with you. MS has, lately, been decent about releasing information about an exploit and a patch at the same time. BUT, there have been several instances of exploits that they are informed of YEARS ago and that they still haven't patched! I prefer the Linux/OSS method better. Instead of releasing a patch and acknowledging there is an exploit, possibily months since it was discovered by some nice white hat hacker and who knows how many black hats, they give system owners a heads up so they have a chance to protect themselves until the patch is released. People who use these systems are usually a LOT more diligent about protecting there systems than the average MCSE, as MSBlaster showed us since they had a month to fix it and most places still got hit badly. Also, the turn around time seems to be a LOT faster on the Linux/OSS side than on the MS side. An SSH exploit is found and the next day there is a patch. Another has been found today because others got a chance to see what that type of exploit looks like and took advantage of the open nature of OSS to locate other places that need to be fixed.

      OSS only appears to have more holes than MS because we aren't scared to be open and honest about our mistakes and to fix them ASAP, while MS counts on hiding their problems hoping it will buy them time to fix it, if they deem it is worth the cost in man time and loss of adding yet another new feature to their latest-n-greatest program.

      --
      Space for rent, inquire within
    19. Re:Patch delivery mechanism by Anonymous Coward · · Score: 0

      Are you on crack?
      Everything you said in that entire post is just plain false or even opposite.

      1: exploit made public: Only if THEY announced it, what about all the other ones that has taken them months and years to patch. That also assumes that all exploits are published, and people do not "sit on" on a exploit.

      2: Unlike linux/open source: When an exploit is published in oss a patch is usually provide by the same people who announce the exploit. They also send a proof of concept to the various interested parties and wait period of time to patch before announcing. Only same day exploits/discovery do they EVER announce before patch.

      3: problem for ms: There are a number of reasons people dont patch their systems, and ignorance or laziness is one of them. all linux distros have this mechanism already (apt etc) The reason people do not turn on auto update in corporations is because of the bandwidth problems, user knowledge, patch screwing up something else or unavailablility of patches. update doesnt deal with office exploits... and there are alot of those. The reason at home is because people usually turn on their computer to use it, and turn it off after, since windows cant seem to install much of anything without rebooting people dont want to do that while they are trying to work.

      the fault lies firmly with microsoft, even with a reasonable tolerance for bugs by the user.

    20. Re:Patch delivery mechanism by mopslik · · Score: 5, Insightful

      ...you must give Microsoft credit. When an exploit is made public, they already have the patch ready.

      You mean when Microsoft publicly discloses the exploit, usually weeks after it was first reported across the Internet?

    21. Re:Patch delivery mechanism by Jenolen · · Score: 0

      cron jobs....

      emerge sync
      emerge -u world

      --
      Karma is like sex. I can't remember the last time I had either of them.
    22. Re:Patch delivery mechanism by gmuslera · · Score: 1

      Linux is the kernel, an application like the one you describe are or generic, or very associated with the actual distribution you have installed, like redhat up2date, debian apt-get, and suse you. I'm using the later one, and for desktop users is nice to have an icon in the tray saying that there are updates availables (it could apply patches automatically, but i prefer to take that responsability).

    23. Re:Patch delivery mechanism by Chupa · · Score: 2, Informative

      You obviously have no first-hand experience with Debian systems. Security updates for the current stable branch are always released within a day or two of any sort of advisory (usually on the same day). The security patches are often backported to older versions rather than just using the newest version of the software. This makes life easy many admins, as new versions of software can be non-backwards compatible or behave differently than older versions.

      And if you don't mind this, you can always use the "testing" or "unstable" branches for cutting-edge software.

      Besides the fact that Debian is extremely easy to update:

      apt-get update
      apt-get upgrade

      Know what you are talking about before you speak.

    24. Re:Patch delivery mechanism by metamatic · · Score: 2, Informative

      Yes.

      Debian: apt-get update
      Gentoo: emerge sync
      RedHat: up2date, or autorpm, or apt-get update
      SuSE: you, or autorpm
      Mandrake: urpmi update

      You can get autorpm to e-mail you a daily summary too.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    25. Re:Patch delivery mechanism by spacey · · Score: 1

      Searching around the corrected link you posted seems to show that they only support windows and netware.

      -Peter

      --
      == Just my opinion(s)
    26. Re:Patch delivery mechanism by Stonent1 · · Score: 1

      Yes actually if you have redhat you can do that. Completely auto updates are a paid service but you can get a demo account that e-mails you and you run up2date -u and it gets the updates. There's also apt-get update && apt-get upgrade or emerge sync && emerge -u system... Take your pick it depends on your distro. Set up a cron job if you don't mind it loading things on it's own.

    27. Re:Patch delivery mechanism by Nos. · · Score: 1

      The RH up2date service is free for personal use, though there is a bandwidth and connection limit unless you pay.

    28. Re:Patch delivery mechanism by Stonent1 · · Score: 1

      My Redhat 9 does : "up2date -uv" (Provided you registered your computer with the redhat network) And if your running debian there's always apt-get .

      I don't know about 8.x series but RH9 also has a windows-like popup that appears on the gnome desktop that says if there are updates.

    29. Re:Patch delivery mechanism by mobets · · Score: 0, Flamebait

      emerge sync && emerge -Up world

      look for anything that might be a problem

      emerge -U world

      wait a little while...
      long live gentoo

      --

      It was me, I did it, I moved your cheese
    30. Re:Patch delivery mechanism by pyros · · Score: 1
      When an exploit is made public, they already have the patch ready. This is unlike what Linux/Open source has


      Surely you're joking, Ms. Discharge. Yesterday's exploit of SSH was made by examining the fix included in the newly realesed version of OpenSSH. Microsoft vulnerabilities are identified by third parties and exploits are created, before Microsoft announces/acknowledges the flaw exists. Debian, RedHat, and Gentoo all had patched builds available within hours of the release.


      Microsoft does provide a nice update service, and it's good they are trying to set sensible defaults moving forward. But they need to acknowledge flaws quicker. It does no good for them to keep it quiet until they have a fix ready. That just means crackers are armed with tools while users aren't even armed with information!

    31. Re:Patch delivery mechanism by Troed · · Score: 1

      You don't need to pay for it, you can have a demo account for one machine for as long as you like. You only have to answer a questionary every 60 days.

    32. Re:Patch delivery mechanism by Anonymous Coward · · Score: 0

      unless the updated certificate for it is released after it expires ;)

    33. Re:Patch delivery mechanism by kasperd · · Score: 1

      apt-get upgrade

      A command line interface is not exactly what was requested. RHN-applet is a good example of a litle icon on the screen clearly indicating when updates are available. I have it on my screen all the time. You can also use it to install the updates, though personally I preffer to use the command line for that.

      --

      Do you care about the security of your wireless mouse?
    34. Re:Patch delivery mechanism by pyros · · Score: 1

      while apt-get does work some magic, a difference here is that RH bundles an applet which displays an exclamation mark in a big red circle when a patch comes available (a check mark in a blue circle when you're all patched up). They also have a daemon which can be configured similarly to the current WindowsUpdate (download and install, download, do nothing). This is most likely due to my own lack of familiarity with Debian, but all you have there is adding a cron job to run apt-get udpate && apt-get upgrade periodically. slightly OT, anyone else notice the --upgrade-to-channel argument to up2date? I haven't tried it out yet, but I think it's to live upgrade!

    35. Re:Patch delivery mechanism by kasperd · · Score: 1
      I use the applet to know when updates are available. The actual download and install I do from the command line. Basically it is just three steps:
      1. wget to get the updates from their http server
      2. rpm -K to verify signatures
      3. rpm -Fvh to install
      so I for one is able to use it just fine without having to pay anything. Besides I think you can actually use the trial version for an arbitrary time if you just fill in their survey once in a while. The amount of service you can get from Red Hat without paying is actually quite impressive.
      --

      Do you care about the security of your wireless mouse?
    36. Re:Patch delivery mechanism by kasperd · · Score: 1

      I don't know about 8.x series but RH9 also has a windows-like popup that appears on the gnome desktop that says if there are updates.

      It has been shown by default since RH7.3. BTW 8.0 is the only release in the "8.x series".

      --

      Do you care about the security of your wireless mouse?
    37. Re:Patch delivery mechanism by FileNotFound · · Score: 1

      Your searching sucks.
      Supports Windows, Unix, Linux and NetWare; - eWeek

      --
      In Soviet Russia, the television watches YOU!
    38. Re:Patch delivery mechanism by cayenne8 · · Score: 1, Informative
      "Does Linux have an Auto-update mechanism similar to windows that indicates when new patches are available for download? That would be a very useful feature. The number of patches on all OSes are getting ridiculous these days."

      Well, a little explanation time here. Linux is the OS...the kernel. This patch is NOT for Linux. It is a patch for a problem in an independent application that you can run on Linux or other Unix type systems.

      This is an important distinction from Windows, where most all the important apps that run on windows are also made by MS..and tightly integrated and dependent on each other. Since the OS and the app. comes from the same source, and the OS and app are often dependent on each other in code sharing...the concept of patching the OS/application is blurred in the MS case, whereas the OS and the application are independent from each other for the most part on a Linux OS based system. So, in general, there can be no ONE auto-update because each part usually comes from different sources.

      Now, with that being said, many distributions, such as with RedHat, since they bundle a lot of the apps with the OS in their package...they do have 'auto update' functionality that will warn you to update if you choose to have this turned on in your system. I don't think most people want to AUTO update...especially on servers, but, it IS nice to have messages to tell you they are available and needed. That way, you can look into the problem and the options, and tell them to run.

      Also, with one distro, Gentoo, they have all the apps and OS stuff in a downloadable tree structure called portage. Portage is used whenever you want to install an application generally...you do 'emerge (app name)', and off it goes to download the source, take care of lib dependencies...compiles and installs it.

      Gentoo tries to keep the latest versions available for all apps...so, the neat thing is, you can do emerge -u world if you want, and it will update everything to the latest version (I prefer to update things as needed)...so, when a version is put out to foil an exploit..just update it..and your good to go.

      HTH to make a little distinction with reference to the question...

      cayenne8

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    39. Re:Patch delivery mechanism by DA-MAN · · Score: 1

      There is a much easier way to do this, it does require a few resource. This is how we do it, without paying crazy RH fees per computer.

      1) Mirror updates from trusted sources to a private directory
      2) Test Updates on testbox, for compatability with various programs that may be affected
      3) move to local public ftp directory after test
      4) autorpm cron will pick them up off our local ftp directory

      I'm surprised autorpm doesn't get much play here on SlashDot. It works perfect for this type of thing, and you only need to make one package for your enterprise. It will detect rh version and platform.

      --
      Can I get an eye poke?
      Dog House Forum
    40. Re:Patch delivery mechanism by Stonent1 · · Score: 1

      Yeah so many "versions" of linux I can't remember who has what some times.

    41. Re:Patch delivery mechanism by Palos · · Score: 1

      Actually you don't have to pay for it, just sign up as a trial user, and answer their questionaire every three months and it's completely free.(for a single system at least)
      Plus you wouldn't be paying for free software, you're paying for them to keep track of your system and notify you of updates. It's simply a convience.

    42. Re:Patch delivery mechanism by caluml · · Score: 1
      rpm -K to verify signatures

      I chose not to mod you up, but to reply btw.

      I do hope everyone reading this has installed the Redhat GPG public key in their copy of GPG, and does what this chap does.
      rpm -K *.rpm 2>&1 | grep -v "md5 gpg OK" might be better, as you'd only see the ones that fail though.

    43. Re:Patch delivery mechanism by cayenne8 · · Score: 1

      Why is this modded redundant? To the point where I had read and posted this explaination of MS OS and Linux OS diffs...I hadn't seen any other post like this...

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    44. Re:Patch delivery mechanism by Tet · · Score: 2, Insightful
      apt-get update
      apt-get upgrade

      Stick it in a cronjob.

      Yikes! Remind me to never give you a job as an admin for any of my computers. While that sort of thing might be acceptable for a home desktop, it's suicide on a corporate server...

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    45. Re:Patch delivery mechanism by Anonymous Coward · · Score: 0

      Careful there. I'd only really do that if I trusted the DNS server
      the system is referencing is is uncrackable.

      If someone can successfully run a DNS exploit, they will
      likely then be able to root your your Debian box by redirecting
      common apt sources to their own blackhat server

    46. Re:Patch delivery mechanism by 1lus10n · · Score: 1

      the desktop version of redhat 9 (and 8 i believe) has a feature that acts the same way. a flashing ! in the bottom right corner.

      --
      "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." --Albert Einstein
    47. Re:Patch delivery mechanism by Anonymous Coward · · Score: 0

      "cutting-edge", that was so fucking cute; what fucking cutting edge mate?

    48. Re:Patch delivery mechanism by CableModemSniper · · Score: 1

      its not really acceptable for a home computer either. If those lines are in a cron job apt can't ask you the questions it occasionally needs to ask you.

      --
      Why not fork?
    49. Re:Patch delivery mechanism by Overly+Critical+Guy · · Score: 1

      Name a single example.

      --
      "Sufferin' succotash."
    50. Re:Patch delivery mechanism by kasperd · · Score: 1
      rpm -K *.rpm 2>&1 | grep -v "md5 gpg OK" might be better

      Actually that is more or less what I do. There are a few differences:
      • Rather than checking all .rpm files each time, I check only those I am about to install.
      • The 2>&1 part is not necesarry.
      • I match on a longer part of the string.
      rpm -K $(cat) | grep -v '\.rpm: (sha1) dsa sha1 md5 gpg OK$'
      The script I use to call 'rpm -Fvh' also uses 'rpm -K' first and only installs if that reports no errors. What bothers me is, that it is still possible by mistake to install a package with no signature. Better not make mistakes while logged in as root.
      --

      Do you care about the security of your wireless mouse?
    51. Re:Patch delivery mechanism by mopslik · · Score: 1

      Since you asked for one:

      Microsoft issues patch for security flaw in NT4.0 after six-week wait

      You'll find many other examples via Google. But you probably already knew that.

    52. Re:Patch delivery mechanism by LittleLebowskiUrbanA · · Score: 1

      You mean Troed would use a product from an American company? Hope you got the special Eurpoean Echelon version.

    53. Re:Patch delivery mechanism by Doug+Neal · · Score: 1

      A command line interface is not exactly what was requested.

      If a linux sysadmin finds a command line a bit too much, then you've probably got bigger problems on your hands :P

      Anyway, there's a perfectly good GUI interface to apt-get, it's called synaptic. I usually prefer the command line though, it's quicker.

    54. Re:Patch delivery mechanism by sg_oneill · · Score: 1

      Apt can be configured for how talkative it is.

      I have a little script that checks to see if the update needs interaction, and if so emails me drops it out for manual use.

      --
      Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
    55. Re:Patch delivery mechanism by kasperd · · Score: 1

      If a linux sysadmin finds a command line a bit too much, then you've probably got bigger problems on your hands

      You missed the point. Installing updates from the command line is really no problem to me, I prefer to do it that way. But I need to know when updates are available, for that purpose I cannot imagine anything much better than the RHN applet.

      --

      Do you care about the security of your wireless mouse?
  8. *cough* by interiot · · Score: 2, Flamebait
    Everyone who complained that Microsoft is so evil for the lack in quality of code they put out, raise your hand so we can heckle you.

    Mistakes happen to everyone, and microsoft code isn't necessarily even the most important part of the internet.

    1. Re:*cough* by jrockway · · Score: 1, Funny

      Well, I don't use sendmail. I use postfix. So M$ and sendmail both suck, lol.

      --
      My other car is first.
    2. Re:*cough* by adamruck · · Score: 2, Insightful

      *raises hand*

      The difference is that Microsofts patches take forever to come out and introduce more holes than anything else.

      In linux patches come out the same day... and are well documented.

      --
      Selling software wont make you money, selling a service will.
    3. Re:*cough* by Anonymous Coward · · Score: 0

      What does sendmail have to do with Linux?

    4. Re:*cough* by bluGill · · Score: 3, Insightful

      Sendmail has never had a good reputation for code quality. MS doesn't either. Whats your point?

    5. Re:*cough* by Anonymous Coward · · Score: 2, Insightful

      The difference is that not only is the news of the bug breaking now, nor that it's exploitable, but that IT'S ALREADY FIXED

    6. Re:*cough* by Anonymous Coward · · Score: 0

      Right...maybe you should try to have just the slightest idea of what you're talking about before you post next time. k thx.

      The only reason people ever find the holes is because Microsoft has already released the patches to fix them.

      Go home and die.

    7. Re:*cough* by mentin · · Score: 2, Insightful
      The question is whether postfix is any better, or simply nobody looked at it yet?

      Maybe the reason MS and sendmail products are so often compromized is that they are both very popular and thus are a good target for security companies? You would not get a big fame (did I say money?) for finding bugs in some obscure product. However finding bug in any Microsoft product or sendmail will bring you to headlines immediately.

      --
      MSDOS: 20+ years without remote hole in the default install
    8. Re:*cough* by koreth · · Score: 2, Insightful
      The difference is that Microsofts patches take forever to come out and introduce more holes than anything else.

      Really? What holes were introduced by, say, the Blaster worm patch? Or any other patches you care to name?

      Can't argue about the speed of patches, exactly, but I'd point out that MS almost always releases a patch before the bug in question is widely exploited -- the problem with the last few worms/viruses was more with unpatched systems than lack of responsiveness on MS's part. MS could come out with a patch within a nanosecond of an exploit's discovery and there would still be millions of people who wouldn't bother applying it. That's hardly a problem that's unique to Windows -- I bet you can still find lots of Apache installations out there with known security holes.

    9. Re:*cough* by interiot · · Score: 1
      Our beloved open source has the odd issue but nothing that hammers the net like most Micro$oft w0rm5.

      Fortunately most open source software is on the server side right now, so there are fewer machines and are run by more savvy people, so patches get applied a lot faster. But just wait, if linux gets popular on the desktop, they'll have the same issues as Windows: either force patches on users, or have users who wait three months until the worm exploit comes out before clicking on the "accept update" button.

    10. Re:*cough* by Anonymous Coward · · Score: 0

      True, linux would have to have a market share of over .0005% to hammer the net...

    11. Re:*cough* by zulux · · Score: 1

      Everyone who complained that Microsoft is so evil for the lack in quality of code they put out, raise your hand so we can heckle you.

      Microsoft is closed source - so we never get to see their code. And even though they keep it under wraps - it's still more exploitable on average than most Open Source code.

      Microsoft still is on the "patch all stck overflows" ramp that most open source software fixed a few years ago.

      Most bugs in Open Source, now, tend to be really obscure ones.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    12. Re:*cough* by 1010011010 · · Score: 1


      I've had a couple of MS patches break things, a few "Windows update thinks it's patched but it isn't" episodes, and a few "MSFT *still* hasn't got a patch out?!?!" experiences, but in general their patches work, and are free. Still, test before deployment!

      MSFT tends to add functionality to their patches, as well as bug fixes, and have earned the mistrust of corporate I.T. departments.

      There's new packages for OpenSSH to fix the exploit, but they don't come with new features! Just fixes.

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    13. Re:*cough* by iabervon · · Score: 1

      It's a good thing that sendmail, sshd (and RPC, for that matter) aren't needed on the desktop, then. Hopefully, the people who won't bother to patch their sendmails won't install sendmail in the first place.

    14. Re:*cough* by Aadain2001 · · Score: 2, Informative

      That's the beauty of the Linux model. At its heart is a network OS and always has been. What the users don't know won't hurt them. Let the tech savvy admins push the updates out to the servers and the desktop computers. Unlike Windows, a Linux computer only needs to be rebooted if the kernel gets updated, so there will be no real preceived downtime for the users. I use Redhat's up2date service for the computers I have a home, it I can push updates out to them through a nice web interface from anywhere in the world. And the corporate version is supposed to be even better about handling large numbers of computers. The same day that the SSH patch came out, I had it waiting to be pushed out to my computers, all with a single click. This is something Windows really lacks, and they have admitted this on many occations.

      --
      Space for rent, inquire within
    15. Re:*cough* by SewersOfRivendell · · Score: 1
      Dunno 'bout MS, but sendmail is and has been criticized since at least 1985 fot its overall complexity and bad architectural design. Its downfall is apparently the author's massive violation of the Unix 'do one thing, do it well' credo. The crux of its problem is that Sendmail contains way too much code running as root.

      The Unix Hater's Handbook had a great quote: "Sendmail: providing remote root since 1983."

      As Consumer Reports might say, "there are better choices," such as Postfix or qmail.

    16. Re:*cough* by lubricated · · Score: 2, Informative

      The original blaster patch "fixed" windows from blaster, but now ms released ms-03-039 because the original balaster patch introduced a new vulnerability. It went from being a buffer over run to a NULL variable. Still exploitable.

      --
      It has been statistically shown that helmets increase the risk of head injury.
    17. Re:*cough* by 1010011010 · · Score: 1

      One more thing -- yesterday's SSH half-patch is very reminiscent of the DCOM half-patch. Sucks.

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    18. Re:*cough* by spacey · · Score: 1

      You're just trolling. You certianly would get this kind of headline for finding bugs in postfix, qmail, or courier. However they seem to have been done better then sendmail. Sendmail was coded when programming was crap, when C standards were only a gleam in ANSI's eye, and its just hobbled along since then.

      The main difference is that modern MTA's don't play the bad programming monolithic one-process-does-everything but tries to drop prives in the right place game. They separate their functions to limit their exposure.

      So don't apologizing for bad programming. Sendmail is a bad program. Those who use it have had to upgrade at least once a year forever to prevent their systems from getting 0wned.

      -Peter

      --
      == Just my opinion(s)
    19. Re:*cough* by metamatic · · Score: 0, Troll

      Another difference is that modern MTAs are written to deal with Internet e-mail specifically, whereas Sendmail has a generalized parser configurable to deal with pretty much any syntax you want--with all the horrendous complexity and potential for buffer overflows that implies.

      Plus sendmail rewrites headers even if it doesn't need to, which is just plain dumb and causes all kinds of problems.

      Debian, Gentoo and the like have already ditched sendmail. The only reason commercial distributions like RedHat keep it around is name recognition, I suspect.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    20. Re:*cough* by Anonymous Coward · · Score: 0

      don't forget to wipe after you "push updates out to them through a nice web interface", you hit-stained neophyte.

    21. Re:*cough* by Anonymous Coward · · Score: 0

      You... you live in some bizarre fantasy land.

    22. Re:*cough* by Stonent1 · · Score: 1

      Well think about sendmail. It is THE default mailer on almost every Unix(like) system. Solaris uses it, IRIX, probably AIX, it is just that well known. Sendmail has been on the internet longer than MS Windows. Numerous books are written about it, just about any college level Unix class will cover use and configuration of it.

    23. Re:*cough* by errxn · · Score: 0, Flamebait

      You're obviously new to /., and as such, are unfamiliar with the double standard that is in place around here. Here are a couple of guidelines to get you started:

      1) Microsoft has questionable business practices, so of course that means all of their code, no matter where it came from or how well it was designed or implemented, is automatically the worst buggy garbage on the face of the planet.

      2) Any and all research, statistics, or benchmarks that are favorable to Microsoft can be dismissed out of hand, without prior examination, as FUD, because it is obviously biased towards the Evil Microsoft Marketing Machine (TM), no matter where it came from.

      3) Any or all research, statistics, or benchmarks that are unfavorable to any Microsoft product can be, without prior examination, taken as the God's honest truth, no matter where it came from.

      4) Making money off of the sale of software is OK, unless you are Microsoft. Then it is, y'know, "Evil Capitalism" and all that.

      5) Proprietary systems and product lock-in are inherently evil, and should be stopped at all costs. Unless it's done by Apple. Then it's OK, because Apple is like, cool and stuff, and they're not Evil (TM) like Microsoft.

      6) Any comment that defends anything that has even the slightest connection to Microsoft whatsoever, regardless of its interest, factual correctness, or insightfulness, is obviously just astroturfing from a member of the Evil Empire and, as such, should be instantly modded down as either "flamebait" or "troll".

      7) Any comment that disparages any aspect of Microsoft, regardless of factual correctness, stupidity, or childishness, is automatically "funny".

      Hope this helps to get you started.

      --
      In Soviet Russia, Chuck Norris will still kick your ass.
    24. Re:*cough* by johnnyb · · Score: 1

      The same people who complain about Microsoft also complain about sendmail. I see no problem here. There are additional reasons to not like microsoft as well, which many people have listed many times (usually related to speed of patch / availability of patch source for verification, etc.)

    25. Re:*cough* by johnnyb · · Score: 1

      No, the problem with the Microsoft desktop is that it tries to give advanced functionality in a simple way. That's a nice idea and all, but it makes security problematic. For example, to execute a Microsoft attachment executable, you just double-click on it. In most Linux mailers, you have to save it to your hard drive, change the permissions, and then run it.

      In addition, since Linux isn't monolithic, an exploit covering, say, RedHat isn't likely to be exploitable on all systems.

    26. Re:*cough* by Dahan · · Score: 1

      I haven't seen anything saying that the patch for MS03-026 introduced any of the bugs described in MS03-039. Cite?

    27. Re:*cough* by Wakko+Warner · · Score: 1, Troll

      Hey, I'm having a little trouble here remembering whose shitty code was responsible for the massive, Internet-slowing, computer-destroying, power-grid-decimating computer virus we all had to deal with last month. And then again two weeks later.

      Could you refresh me? Was it Microsoft, or sendmail?

      - A.P.

      --
      "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
    28. Re:*cough* by Anonvmous+Coward · · Score: 1

      "Everyone who complained that Microsoft is so evil for the lack in quality of code they put out, raise your hand so we can heckle you. "

      I wonder if the average MS heckler imagines the software development wing of MS looks like Gringott's Bank. I don't think it occurs to them that the programmers there are human.

    29. Re:*cough* by Anonvmous+Coward · · Score: 1

      "The difference is that Microsofts patches take forever to come out and introduce more holes than anything else."

      Wanna cracker, Polly?

    30. Re:*cough* by bahamat · · Score: 1

      ask apt about lol

    31. Re:*cough* by Anonymous Coward · · Score: 0

      *cough, cough*

      I have to point out that the next buffer overrun problem (found right after Blaster) was NOT found by Microsoft, but by someone else who thought to go looking for similar vulnerabilties. Now, if you owned that code and Blaster had just happened, wouldn't you have felt moved to check for further similar probelms? M$ did not. So not only do they get slammed for shitty code, they get slammed for not caring about the shitty code.

      In addition, let me point out that the majority of vulnerabilties found in Linux are thru inspection of the code and most are patched BEFORE exploits in the wild. NONE of M$'s patches, aside from the one found by a 3rd partyand mentioned above, occur before being exploited in the wild.

      When the exploit for Samba was reported here on Slashdot (and, to be fair, this was one that was found thru the exploit NOT thru code inspection, so obviously it was exploited before being patched), the writer of Samba mentioned vulnerabilties that he found and reported in M$ software 8 YEARS AGO that still had not been fixed. Obviously, M$ has no intention of doing any preventative maintenance to their code.

      Now, where do you want to go today?

    32. Re:*cough* by marcop · · Score: 1

      The difference is also that Joe Sixpack probably won't even know about this bug. There will be no report on mainstream news sites about it because it won't take down
      several computers. No scrambling by IT people to make sure that every single desktop in a company is patched since this exploit applies to a service that would *mainly* be found only on servers.

    33. Re:*cough* by archen · · Score: 1

      Seems to me the difference would be in choice. Do you HAVE to use sendmail? I'd say that 99.9% of people could just as easily use another MTA (of which there is plenty). In the Open Source world you're typically free to use many different apps which are based off of standards and easily swappable with others.

      Usually people don't have that option with Microsoft. And Microsoft themselves make claims on being so superior yet have so many problems. I don't think any sane person has ever made claims about how wonderful sendmail is.

    34. Re:*cough* by Overly+Critical+Guy · · Score: 1

      With the currently in-beta MSI 2.0, Windows will never have to reboot again, even when installing core system updates (which Linux currently has no claim to fame over).

      --
      "Sufferin' succotash."
    35. Re:*cough* by Darth+Daver · · Score: 1

      Everyone who is a Microsoft troll who sits quietly under a rock while major Microsoft security holes are reported weekly just so they can bray like jackasses a couple of times each year when high-profile OSS bugs are announced, please raise your hand so we can continue to ignore you.

    36. Re:*cough* by Anonymous Coward · · Score: 0

      The point is everyone claims that security on Unix/Linux systems is so much better than Windows security. The fact that people run code that you claim sucks on their systems anyway proves that unix/linux systems are no more secure than windows systems.

    37. Re:*cough* by spitzak · · Score: 1

      Hey even the most simple examination of Slashdot posts would reveal that sendmail is held in at least as much contempt as Microsoft products.

      SSH is a different story, however.

    38. Re:*cough* by Overly+Critical+Guy · · Score: 1

      On the contrary, the NT kernel is considered to be damn good. It's the stuff on top of it that gets the bad reputation (unfairly, in my opinion).

      P.S. Off-topic, but I'm sick of any criticism of Linux automatically being labelled "FUD." It's silly.

      --
      "Sufferin' succotash."
    39. Re:*cough* by jazir1979 · · Score: 1


      So why compare a kernel to a user-level application (ie: sendmail)? The Linux kernel is considered to be damn good also (well..).

      --
      What's your GCNSEQNO?
    40. Re:*cough* by eatdave13 · · Score: 1

      Do you have a link for info on this?

      I'm not an O/S zealot either for MS or Linux, but I've got to say I'm doubtful about their ability to pull this off. Many USB drivers still require a reboot in Windows, not to mention the problems Windows has with file locking and DLLs. I'd have to see it to believe it short of showing up in the next major version of Windows.

      --
      "Verbing weirds language." -- Calvin
    41. Re:*cough* by Anonymous Coward · · Score: 0

      Well, that's too fucking bad. You still need a local MDA for such things as crontab output. In fact, many packages require it. So, by default, this means sendmail gets installed, even if it's not running. You can force remove it, but you never know what's gonna break in the delicate dependancy tree.

  9. 13th post? by Anonymous Coward · · Score: 0

    Use Microsoft Exchange Server!

    1. Re:13th post? by Anonymous Coward · · Score: 0

      has you tried http://www.exchangetrial.com ? makes the effort worth it.

      I personally use qmail though.

      -thewalled

    2. Re:13th post? by deuce868 · · Score: 1

      Oh yea, because it's not like I haven't had to apply any more than a couple patches to my exchange server in the last week.

  10. Sendmail's future by nepheles · · Score: 3, Interesting

    Is it perhaps time for a code rewrite in Sendmail, or maybe a quiet, dignified retirement? It appears, from empirical evidence, that Sendmail is insecure by design. And that's not a good idea for a mail server, in today's world of spam

    --
    ((lambda x ((x))) (lambda x ((x))))
    1. Re:Sendmail's future by bourne · · Score: 2, Informative

      Is it perhaps time for a code rewrite in Sendmail...

      IIRC 8.9 was the code rewrite.

      maybe a quiet, dignified retirement?

      At this point, I'd settle for a noisy drag-it-out-back-and-shoot-it.

      Secure alternatives exist - Postfix, qmail. Other alternatives with better security track records and lower target profiles exist - Exim, Courier.

      Time and past time to move. How many holes is it going to take?

    2. Re:Sendmail's future by blate · · Score: 4, Insightful

      I'm not sure that "insecure by design" is quite fair to the hard-working folks who developed this near-ubiquitous MTA.

      A fairer assessment is that, when sendmail was designed, security was not as big an issue as it has become today. And in their defense, they do seem quite good about notifying people when vunerabilities arise and releasing fixes as quickly as possible.

      That being said, sendmail is a pain in the ass. You have to remember that when sendmail was developed, there were many different mail protocols (besides SMTP), and sendmail had to support all of them -- this is why sendmail config files are so darned complex and unreadable. The vast majority of those have faded into obscurity, so subsequent products, like Postfix, can be much simpler and less complex and, thus, more likely to be secure. For a long time, sendmail was the only choice for a real MTA, but I think Postfix has proven itself a worthy successor.

    3. Re:Sendmail's future by autopr0n · · Score: 1

      Someone should write a sendmail.cf interpreter for Postfix or Qmail so that old config files can still be read (if that's even worth doing). Anyone who still writes new sendmail config files is a masochist. Sendmail should definitely be retired.

      --
      autopr0n is like, down and stuff.
    4. Re:Sendmail's future by Fizzlewhiff · · Score: 4, Funny

      I agree and am migrating to Exchange as I type this. Hopefully it, and Outlook will be more secure for my users.

      --

      'Same speed C but faster'
    5. Re:Sendmail's future by Anonymous Coward · · Score: 0

      I hope this was intended as flame bait :)

    6. Re:Sendmail's future by metamatic · · Score: 1

      Eh, I think smail was a perfectly good real MTA back in 1991. Sendmail's been superfluous for a long time.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    7. Re:Sendmail's future by jhylkema · · Score: 1

      I was thinking more along the lines of "euthanized," but that's just me.

    8. Re:Sendmail's future by Penguin+Follower · · Score: 1

      For a long time, sendmail was the only choice for a real MTA, but I think Postfix has proven itself a worthy successor.

      Yes, I agree. I've been using Postfix reliably for 2 years now on the server at work. So much easier to configure, too! :)
    9. Re:Sendmail's future by Ninja+Programmer · · Score: 2, Insightful
      Is it perhaps time for a code rewrite in Sendmail, or maybe a quiet, dignified retirement?
      As with most legacy software, there is a large investment in the expertise people have built up in learning how to use/configure it. So retirement won't get rid of it. Rewriting it may just lead to creation of new security flaws (for example, openssh, is a far more modern code which is far more motivated to be secure from the get go, but as recent advisories/exploits have shown that doesn't make it magically bug-free) rather than moving towards the goal of eliminating them.

      The right answer is to embark on a methodology for trying to root out the bugs, and/or use technologies that are intrinsically more resilient in the first place. While a rewrite in Java or Python are problematic ideas from the very get go (either requiring an installed and functional JVM, or being as slow as a post), one can at least address the ANSI C string library weakness (the obvious lowest hanging fruit) by using a substitute.

      Look guys -- this is an opportunity. Microsoft thumbs their collective noses at Open Source people because they believe that they are more innovative. If the Linux community is able to put forth mechanisms, ideas, and possibly tools that truly address the "safe programming" issue, then this would be a quick slap in their face.

      Steve Ballmer has started pounding his fist and making prognostications about how Microsoft is going to deal with security via their innovation. Of course its nonsense -- but people will only realize this *if* the Open Source community is able to step up to the plate and *demonstrate* their superior solution.
    10. Re:Sendmail's future by RevMike · · Score: 2, Insightful
      A fairer assessment is that, when sendmail was designed, security was not as big an issue as it has become today.

      Absolutely. In sendmail's heyday, the internet was a collection of several hundred .edu and .mil organizations, with a few .com technology companies thrown in, notably IBM and DEC. The few hundred thousand people on the net tended to be researchers and faculty in technical fields and their students. Security was very lax because it was a relatively small, closed, professional society. People simply didn't worry about security.

      It is probably time to either move to a new MTA or rewrite sendmail form the ground up.

    11. Re:Sendmail's future by Nevyn · · Score: 4, Informative
      I'm not sure that "insecure by design" is quite fair to the hard-working folks who developed this near-ubiquitous MTA.

      So are you saying it is designed with security in mind?

      A fairer assessment is that, when sendmail was designed, security was not as big an issue as it has become today.

      So you saying (agreeing) it is designed without security in mind.

      It's been years since the internet operated where everyone allowed relaying to help everyone else out. And go look at the code, they still use NIL terminated char *'s all over the place. Mostly with limited length APIs like strlcpy(), but even a few strcpy()s.

      Now go look at postfix or qmail, but have fully dynamic string APIs and use them everywhere. And supprise supprise neither has had a buffer overflow.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    12. Re:Sendmail's future by hawkbug · · Score: 1

      If I had modpoints, I'd give them to you for the last 2 paragraphs of your post - very informative to someone who has never viewed the code like yourself, and quite possibly explains why sendmail keeps having problems like this.

    13. Re:Sendmail's future by Anonymous Coward · · Score: 0

      Anyone who still writes new sendmail config files is a masochist.

      Actually, anyone who writes (or even edits) a .cf file is a moron. Use the .mc and process it like you're supposed to.

      Sendmail has had a few problems, but it's still the best we've got.

    14. Re:Sendmail's future by Anonymous Coward · · Score: 0

      It's been years since the internet operated where everyone allowed relaying to help everyone else out.

      OK, so what excuse are you using for OpenSSH?

    15. Re:Sendmail's future by Anonymous Coward · · Score: 0

      If I undertstand correctly sendmail 9 is currently in development, and it is being rearchitected. One could always check comp.mail.sendmail.

    16. Re:Sendmail's future by 4of12 · · Score: 1

      there were many different mail protocols

      Ah, yes.

      I remember having to chain together various tricky monstrosities back in the 80's, like

      jack!thisvax.edu
      joe%othermachine@goodmailserver.com
      @goodrelay.edu:fred@newhost.gov
      but it's been well over a decade since I've ever had to do anything like that.

      This is a great thing, this practical reduction to zero in the number of corner cases that have to be handled.

      --
      "Provided by the management for your protection."
  11. Yay! by Greyfox · · Score: 5, Funny

    I'll have to dust off my sendmail sploit-of-the-week card and get them to punch it for me! 12 punches and you get a free MTA!

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    1. Re:Yay! by JFMulder · · Score: 2, Funny

      You should have the Windows one, you'd get even more free stuff.

    2. Re:Yay! by drinkypoo · · Score: 1

      They retired the windows one. The original had only 640 holes, and that was found not to be enough; unfortunately microsoft could not find a supplier for cardstock large enough to handle the proper number of holes.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:Yay! by Anonymous Coward · · Score: 0

      I had a Windows one, but it got punched so many times it disappered.

    4. Re:Yay! by tntguy · · Score: 1

      Didn't QuarterDeck release cards that allowed you to have Expanded Microsoft Stuff and even eXtended Microsoft Stuff?

    5. Re:Yay! by d3faultus3r · · Score: 1

      personally i prefer the sendmail ultra rewards card. For every exploit that is found I get to punch a sendmail programmer.

      --
      read my blog
      musings on politics and technol
  12. in other news. . by Anonymous Coward · · Score: 0

    A buffer overflow has been found in my brain whereby I get fucking angry every time a new bug is found that requires me to update 8 damned machines.

    1. Re:in other news. . by Jenolen · · Score: 0

      Sounds like you used an unchecked variable.
      I suggest you use bash, cron, and NFS to write a simple update system that when you throw a new file in /usr/updates (for example) the next time cron runs the bash script it will check for files in that share and install them. Come on... It's not hard to push updates from one machine to all... And why are you running 8 mailservers open to the outside world? Do you work for hotmail? I would suggest having two mailservers open to the outside world and setup in DNS with MX records. Firewall off sendmail on the other boxes from the LAN and just use it as daemons to send mail out of the box.

      But that's just IMHO...

      --
      Karma is like sex. I can't remember the last time I had either of them.
    2. Re:in other news. . by NetMagi · · Score: 1

      Aside from my day job as a sysadmin, I also do freelance admin for 5 small-businesses that are large enuf to have their own in-house email servers. Not that's it's impossible, but it makes it "harder" to automate it. .especially when they're running different distros and configuration. -rich

  13. Nothing New by gregarican · · Score: 1
    There have been published sendmail exploits for years. Recently this is the second or third one that's been announced. Although most of the first posts have been flamed out I agree that there are alternative mail client choices out there. No big deal.

    Same with the Micro$loth world. Hate Outlook Express? Use something else. God knows I would.

    1. Re:Nothing New by love2hateMS · · Score: 1

      > I agree that there are alternative mail client choices out there.

      Sendmail is not a mail client and is in no way comparable to Outlook Express.

    2. Re:Nothing New by gregarican · · Score: 1
      I know. Just misspoke. I have a Perl sendmail.pl script on one of my Windoze servers that shoots off SMTP messages. And in past lives I had to use *NIX sendmail due to poor corporate choices in mail processing.

      Just trying (albeit failing) to draw some parallel between Micro$loth holes and *NIX holes. Buffer overflows and overruns are 99.9% due to lazy code that lacks proper boundary checking. I guess the Micro$loth folks get paid more and have more hands on deck so perhaps their holes should be plugged first. But OTOH the *NIX open source community can all see the source code so that's an advantage as well.

      All of these arguments seems like Ford versus Chevy or Yankees versus Red Sox sometimes...*sigh*

  14. Lazy Story Submitter by Peridriga · · Score: 3, Informative
    Just point to the ftp site?
    Aight... I'll fill in the blanks

    ftp://ftp.sendmail.org/pub/sendmail/RELEASE_NOTE S

    8.12.10/8.12.10 2003/09/24
    SECURITY: Fix a buffer overflow in address parsing. Problem
    detected by Michal Zalewski, patch from Todd C. Miller
    of Courtesan Consulting.
    Fix a potential buffer overflow in ruleset parsing. This problem
    is not exploitable in the default sendmail configuration;
    only if non-standard rulesets recipient (2), final (4), or
    mailer-specific envelope recipients rulesets are used then
    a problem may occur. Problem noted by Timo Sirainen.
    Accept 0 (and 0/0) as valid input for set MaxMimeHeaderLength.
    Problem noted by Thomas Schulz.
    Add several checks to avoid (theoretical) buffer over/underflows.
    Properly count message size when performing 7->8 or 8->7 bit MIME
    conversions. Problem noted by Werner Wiethege.
    Properly compute message priority based on size of entire message,
    not just header. Problem noted by Axel Holscher.
    Reset SevenBitInput to its configured value between SMTP
    transactions for broken clients which do not properly
    announce 8 bit data. Problem noted by Stefan Roehrich.
    Set {addr_type} during queue runs when processing recipients.
    Based on patch from Arne Jansen.
    Better error handling in case of (very unlikely) queue-id conflicts.
    Perform better error recovery for address parsing, e.g., when
    encountering a comment that is too long. Problem noted by
    Tanel Kokk, Union Bank of Estonia.
    Add ':' to the allowed character list for bogus HELO/EHLO
    checking. It is used for IPv6 domain literals. Patch from
    Iwaizako Takahiro of FreeBit Co., Ltd.
    Reset SASL connection context after a failed authentication attempt.
    Based on patch from Rob Siemborski of CMU.
    Check Berkeley DB compile time version against run time version
    to make sure they match.
    Do not attempt AAAA (IPv6) DNS lookups if IPv6 is not enabled
    in the kernel.
    When a milter adds recipients and one of them causes an error,
    do not ignore the other recipients. Problem noted by
    Bart Duchesne.
    CONFIG: Use specified SMTP error code in mailertable entries which
    lack a DSN, i.e., "error:### Text". Problem noted by
    Craig Hunt.
    CONFIG: Call Local_trust_auth with the correct argument. Patch
    from Jerome Borsboom.
    CONTRIB: Better handling of temporary filenames for doublebounce.pl
    and expn.pl to avoid file overwrites, etc. Patches from
    Richard A. Nelson of Debian and Paul Szabo.
    MAIL.LOCAL: Fix obscure race condition that could lead to an
    improper mailbox truncation if close() fails after the
    mailbox is fsync()'ed and a new message is delivered
    after the close() and before the truncate().
    MAIL.LOCAL: If mail delivery fails, do not leave behind a
    stale lockfile (which is ignored after the lock timeout).
    Patch from Oleg Bulyzhin of Cronyx Plus LLC.
    Portability:
    Port for AIX 5.2. Thanks to Steve Hubert of University
    of Washington for providing access to a computer
    with AIX 5.2.
    setreuid(2) works on OpenBSD 3.3. Patch from
    Todd C. Miller of Courtesan Consulting.
    Allow for custom definition of SMRSH_CMDDIR and SMRSH_PATH
    on all operating systems. Patch from Robert Harker
    of Harker Systems.
    Use strerror(3) on Linux. If this causes a problem on
    your Linux distribution, compile with
    -DHASSTRERROR=0 and tell sendmail.org about it.
    Added Files:
    devtools/OS/AIX.5.2

  15. What a surprise by Anonymous Coward · · Score: 0

    No surprise, "MS" Sendmail is buggy and has been...use Postfix

  16. Fix this at the language level? by ajiva · · Score: 2, Interesting

    You'd think that it would be easy to fix this at the language level. It can't be that hard to create a string library that automatically ignores everything past the end of the string.

    1. Re:Fix this at the language level? by interiot · · Score: 2, Funny

      Yes, in order to make sendmail even more convoluted, I recommend it be rewritten in perl. Or maybe javascript, that would work too.

    2. Re:Fix this at the language level? by mOdQuArK! · · Score: 1

      I vote to have it written in Brainfuck (http://www.muppetlabs.com/~breadbox/bf). A simpler language makes a program easier to read, right?

    3. Re:Fix this at the language level? by Anonymous Coward · · Score: 1, Insightful

      Creating a string library that automatically ignores everything past the end of the string is easy. Getting programmers to use it is the hard part.

    4. Re:Fix this at the language level? by Anonymous Coward · · Score: 0

      ... or build proper string handling right into the language, like PL/1 or even BASIC for cryin' out loud.

    5. Re:Fix this at the language level? by Ninja+Programmer · · Score: 1
      You'd think that it would be easy to fix this at the language level. It can't be that hard to create a string library that automatically ignores everything past the end of the string.
      Well, I can do one better than that -- how about a library that treats strings as actual strings!

      Seriously, its easy to learn, its very interoperable with char * buffers (and thus can be adopted incrementally without problems), its open source, and its safe by design. Oh yeah, its also a heck of a lot faster than the C library, and has a more functional API which leads to shorter and therefore more maintainable code.
    6. Re:Fix this at the language level? by red_dragon · · Score: 1

      Yes, in order to make sendmail even more convoluted, I recommend it be rewritten in perl.

      I'd have suggested rewriting Sendmail in Sendmail. A self-compiling mail transfer agent would be uber-1337, indeed. The .cf file for that would scare the living shit out of me, though.

      If you think that's ridiculous, check out: 99 bottles of beer in Sendmail.

      --
      In Soviet Russia, Jesus asks: "What Would You Do?"
    7. Re:Fix this at the language level? by Zathrus · · Score: 1

      There's dozens of them available. Which one would you like to use? Remember, it must be portable to all of the systems that sendmail is portable to, and you're going to create a dependancy between the two. Remember that the library must be under a license that's compatible with the existing sendmail license.

      Sendmail is so old that it's unlikely that this will ever occur... the code is too crufty and the required platform support too broad to make it worth the effort.

      Remember that sendmail dates back to 1982, which is long, long before these issues were prevalent. Automatic buffer checking wasn't done because it was so expensive on the systems of the times. After all, C is a language designed for writing OS's in, where speed comes before all else (at least in old school design -- nowadays it's another matter since hardware is fast and cheap, even in embedded systems).

    8. Re:Fix this at the language level? by gnuadam · · Score: 1

      Or just do it in m4, their input files are already in it.

      --
      You say :wq, I say ZZ. Why can't we all just get along?
    9. Re:Fix this at the language level? by spektr · · Score: 2, Funny

      I vote to have it written in Brainfuck (http://www.muppetlabs.com/~breadbox/bf). A simpler language makes a program easier to read, right?

      I wouldn't be surprised entirely if it turned out that sendmail was the first (and only) non-trivial program that could be expressed in brainfuck. I fact, I believe that sendmail.cf had been ported to brainfuck already.

    10. Re:Fix this at the language level? by Tom7 · · Score: 1

      I don't think you want it to "ignore" out of bounds reads/writes, but most modern languages throw an exception if you make such an erroneous access. That definitely gets rid of a load of security problems immediately. See the recent slashdot article about "Secure Programming in C" for a bunch of language-oriented debate.

  17. It's amazing by Anonymous Coward · · Score: 0

    The lengths some people will goto to try and damage Sendmail's pride.

    1. Re:It's amazing by jonabbey · · Score: 0, Offtopic

      And a new Slashdot troll meme is born.

  18. sendmail == microsoft by autopr0n · · Score: 1, Interesting

    Seriously, it seems like these guys have about as many security holes per line of code as MS (but obviously MS has a lot more code). Anyway, why does anyone use sendmail anymore? The difference between configuring sendmail and configuring postfix is like the difference between banging your head on the wall and having sex with the most beautiful woman on earth.

    --
    autopr0n is like, down and stuff.
    1. Re:sendmail == microsoft by Syberghost · · Score: 1

      The difference between configuring sendmail and configuring postfix is like the difference between banging your head on the wall and having sex with the most beautiful woman on earth.

      Somebody will pay you to bang your head on the wall?

      BTW, no way.

    2. Re:sendmail == microsoft by Anonymous Coward · · Score: 0

      banging your head on the wall

      that's what they call it these days?

      I prefer "waxing the cucumber".

  19. Re:greaaat by Corgha · · Score: 1

    Is it just me, or does it seem like lately there have been A LOT of security issues found in web daemons?

    It's just you, because neither SSH nor SMTP have anything to do with the web.

  20. ssh... sendmail.. etc by stratjakt · · Score: 0, Flamebait

    Cuz OSS is so secure an M$ is teh suck!

    --
    I don't need no instructions to know how to rock!!!!
  21. Nice week for open source by gmuslera · · Score: 4, Insightful

    Yesterday was the day of openssh, and today for sendmail (whats next? bind? apache?). More than the usual rant about using alternatives like postfix/qmail/exim/etc instead of sendmail, I see that as a positive thing, could be a signal that more testing, auditing, and usage is being done, and by the open source nature of those tools, that this kind of things will be fixed or the programs will evolve to avoid this kind of things with (really) safer practices.

    1. Re:Nice week for open source by __past__ · · Score: 1
      Yesterday was the day of openssh, and today for sendmail (whats next? bind? apache?)
      Hey, this is the year of Linux on the Desktop! So, of course, it's KDE (local root exploit in KDM, among other things).
    2. Re:Nice week for open source by Syberghost · · Score: 1

      Yesterday was the day of openssh, and today for sendmail (whats next? bind? apache?)

      Based on recent events, I'd venture that what's next is sendmail again, followed by OpenSSH, followed by sendmail 3 or 4 more times.

    3. Re:Nice week for open source by novakane007 · · Score: 1

      Perhaps it's a black-ops initiative by microsoft to try and demonstrate that all software is buggy. It would certainley help to discredit the open source alternatives. "Should you be caught, we will disavow all knowledge of your actions. " -- Bill

      --

      WURD!!
  22. Another one? by 1010011010 · · Score: 0, Redundant

    Geez, am I suddenly running MS-Linux? What's up?

    Anyway, updates thoughtfully provided and hosted, ala yesterday, god damn it. PATCH! NOW! Unless you think "arbitrary code execution" is a feature. And NO, I'm not talking about ActiveX.

    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  23. How does an overflow work? by jumpingfred · · Score: 2, Interesting

    Does anyone have a good explanation of how a buffer overflow allows you to execute arbitrary code? It seems to me that the memory that gets overwritten is some what random. It is either the stack or some memory in dynamic store. It seems like each time you sent in the overflow data it will be writing a different area of memory so you don't know if you code will get executed or not. Since you have to start executing at the right place you would almost never be able to execute your code.

    1. Re:How does an overflow work? by Vaginal+Discharge · · Score: 1

      Not if it is well crafted. Sometimes if you explore the code, or disassemble it, you may be able to find a suitable place where there is a jump instruction. You just simpily create your overflow message long enough to overwrite the jump instruction with a different address, ie. point back to the overflow stuff that contains your malicious code. It generally requires some clever cracking, and might take a while. But nonetheless as we have seen, it works.

      --
      "Glory is fleeting but obscurity is forever" - Napoleon Bonapart.
    2. Re:How does an overflow work? by Anonymous Coward · · Score: 0


      Does anyone have a good explanation of how a buffer overflow allows you to execute arbitrary code?

      1) excessive data is input with executable code at the end.

      2) codes gets executed, usually spawning a shell or opening a hole of some sort.

      3) ???

      4) goatse.cx!

    3. Re:How does an overflow work? by WTFmonkey · · Score: 1
      It's all about offsets. If you know how far the 'jump' is to the next executing line, you can overflow the buffer by just the right amount to put your code there rather than theirs.

      At least, that's the senior-level CS major explanation...

    4. Re:How does an overflow work? by jumpingfred · · Score: 1

      That does not really answer the question. The question is with stuff being stored on the stack or in dynamic memory how do you know with some reliability what code is being overwritten by your extra data? Are the buffers insterted by the compiliers in the middle of the code? Don't they separated the data and code into somewhat different regions of memory?

    5. Re:How does an overflow work? by Second_Derivative · · Score: 4, Informative

      Stack grows downward, buffers on stack grow upward. Overflow a buffer and sooner or later you run into a return pointer on the buffer. Now, if you overflow it in such a way that the function corresponding to that stackgrame doesn't cause a segfault before it returns, the CPU will read in a return address you supplied, which could point to the buffer. CPU then executes the code you put in the buffer. I believe it's traditional to execve /bin/sh at this point.

      Google for "Smashing the stack for fun and profit". I don't know too much of the specifics -- I'm not a script kiddie.

    6. Re:How does an overflow work? by jumpingfred · · Score: 1

      How do you know how far it is. My understanding of these things is that either the buffer is put on the stack or the buffer is from dynamic store. Either way how far to the next line changes a lot.

    7. Re:How does an overflow work? by WTFmonkey · · Score: 1
    8. Re:How does an overflow work? by jumpingfred · · Score: 1

      Good answer. Thanks.

    9. Re:How does an overflow work? by Waffle+Iron · · Score: 4, Informative
      During C procedure calls, the return addresses are placed on the stack in predictable locations. Often, people use fixed-size buffers allocated on the stack in their procedures. For example:

      void foo() {
      char buf[100];
      gets(buf);
      --- do stuff ---
      }

      By feeding in a string longer than 100 characters, you go up the stack and can overwrite the return address to the call to 'foo'. You might replace the address with a pointer to code you've embedded in the oversized string. When the call returns, it jumps into your code rather than the calling procedure.

    10. Re:How does an overflow work? by barfy · · Score: 2, Interesting

      because of the addressing scheme used in Intel processors, and the standard ways of creating buffers in C and how they get executed.

      When you create a buffer it tends to use *short* addressing, which means the buffer location is NEAR the code that is being executed. Generally something like,

      Store a char
      Increment buffer pointer by one,
      am I done?
      No repeat

      The problem is that if the buffer "overflows" it wraps the addressing to back over the instructions being executed.

      And it turns out that this behavior is not random, and you can depend on precisely what character will overwrite the code that is being executed and you write a jump statement to replace the store a char instruction into the buffer and your code starts executing... Voila, a buffer overflow exploit.

      It *WAS* standard coding practice in the good old days to place the burden of correctly sized and or terminated inputs onto the code that was creating the string to be inputed. This prevented the need for excessive cycles being wasted making sure that there wasn't bad input going into the buffer. And in the good old days this was the correct thing to do. Which is why all the code was written this way, it was *good* design.

      Today it turns out, that the risk of *malware*, code designed to take advantage of this behavior, for nefarious use is greater than the waste of cycles to detect bad code (which is a lot of cycles wasted). So the code needs to be rewritten to check for malware. This is the NEW good design, but it requires a massive effort to change old practices to new practices. Stuffing inputs into buffers is probably one of the most common of all operations done on computers. And changing all this code, and preventing new code written in the old way (because the code will operate correctly in the absence of malware) is a big and important effort.

    11. Re:How does an overflow work? by pegr__ · · Score: 2, Interesting

      But you don't have to know exactly where the jmp, etc. is... Pad your exploit code with my favorite instruction, NOP (No OPeration). If you have some idea where the pointer is going to land, just start writing a few hundred/thousand/million NOP's, then your code. As long as the pointer lands in NOP-land, it will eventually get to your code.

      Besides, NOP is one of the FASTEST executing instructions there is! I use them in all my programs to enhance performance...

    12. Re:How does an overflow work? by Horny+Smurf · · Score: 1
      When you call a function (x = do_stuff(5)) the caller may push registers on teh stack (to keep them from being clobbered), the return address on the stack (so you can return), and any arguments. The stack is also where any local variables are stored.

      pretty picture: ...previous contenst...
      ...eax register...
      ...ebx register...
      ...5 (arguements)..
      ...return address..
      ...maybe registers saved here...
      ...local variables..
      ... char buffer[255]..

      Now, let's say we write past the end of buffer. Depending on how the stack is built, that could overwrite the local variables, the return address, or the saved registers. If you can have buffer[255] get filled up with machine language code, and overwrite the return address to point to buffer, instead of returning to the caller, it will call your malicious code.

      Usually, buffer overflows just cause crashes or other weird bugs when memory gets overwritten, but they are exploitable in some architectures.

  24. Just assume by Anonymous Coward · · Score: 0

    Just assume that Sendmail is garbage.

    Just assume that bind is garbage.

    Stop using them.

    Stop making unix/linux look bad.

    1. Re:Just assume by Anonymous Coward · · Score: 0

      Just assume that Sendmail is garbage.

      Just assume that bind is garbage.


      I think you missed this one:

      Just assume that OpenSSH is garbage.

      Remember, it's had just as many security flaws in the past two years as Sendmail.

  25. Re:greaaat by Anonymous Coward · · Score: 0

    Just a note, the word is "alot". No space.

  26. I use... by dark-br · · Score: 0

    postfix, you insensitive clod!

    Ok, this is not a poll but anyways... *why* ppl still uses sendmail?

    1. Re:I use... by 1010011010 · · Score: 4, Funny


      If you can edit a .cf file by hand, you've earned the right to run it. :) And the punishment of running it.

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    2. Re:I use... by FroMan · · Score: 1

      I actually find the .m4 files that make the .cf file more difficult to edit. Atleast with the .cf file you have a near complete documenation in the bat book. The .m4 doesn't seem to have a complete listing of options anywhere that I can find.

      That and if you do wind up hand modifying the .cf at any point, you can't use the .m4 anyways.

      --
      Norris/Palin 2012
      Fact: We deserve leaders who can kick your ass and field dress your carcass.
    3. Re:I use... by unixdad · · Score: 1

      I actually find the .m4 files that make the .cf file more difficult to edit.

      Why would you edit the .m4 files instead of the .mc files? Editing the .m4 files is like editing files in /usr/include to change change the behavior of your code.

    4. Re:I use... by FroMan · · Score: 1

      My bad... you are right, .mc files.

      As you can see, I typically don't use the .mc files. Granted I don't think I have looked at my sendmail setup for quite a while now other than updates. Guess tonight I'll be looking at it again though. ;-/

      --
      Norris/Palin 2012
      Fact: We deserve leaders who can kick your ass and field dress your carcass.
  27. Why? by autopr0n · · Score: 1

    It's possible that Microsoft and Sendmail are both bad at security. Sendmail is a horrible piece of software anyway.

    --
    autopr0n is like, down and stuff.
  28. Re:Jack Tripper by flea69 · · Score: 0

    I for one welcome our new "retarded" overlords.

  29. from the "truth in article title" department by Tumbleweed · · Score: 0

    Bug found in Bugmail. News at 11. *yawn*

    If you're surprised by this announcement, you ARE an idiot. Why does this program still get used? There are compatible replacements out there that aren't NEARLY so bug-ridden. WTF is wrong with you people?!

  30. I'm gonna get trolled for this, but. . by NetMagi · · Score: 1

    Ever wonder if microsoft has teams of people getting paid that do nothing but search for and anonymously submit bugs and proof of exploits in competing OS's. I mean hey. .in a way it's good this stuff gets discovered and patched. .but it's still bad press for linux when there is a new bug out every day. . Let's look at their code and start doing the same. . ohh wait. . we can't. . They don't let us see it. .We're just supposed to trust them it's all good. .

    1. Re:I'm gonna get trolled for this, but. . by I8TheWorm · · Score: 1

      Aaaahhhhhhhh..... I was wondering when the MS spin would get posted on this one ;)

      Just kidding. as a developer, it's difficult to write code that assumes all possibilities in use with the end product. Hence QA teams. When I write code, I do spend time trying to think of how a user could possibly screw it up, but I never sit there and think "what if they open and close this thing 100 times in 3 seconds." Bugs happen, that's why there's versioning.

      --
      Saying Android is a family of phones is akin to saying Linux is a family of PCs.
    2. Re:I'm gonna get trolled for this, but. . by NineNine · · Score: 1

      Ever wonder if microsoft has teams of people getting paid that do nothing but search for and anonymously submit bugs and proof of exploits in competing OS's

      I really doubt that they have more people doing that then there are OSS zealots who bang on MS products all day long in their dark, dank basement apartments.

  31. Not having sendmail is like not having VD by shoppa · · Score: 0, Flamebait
    As the old saying goes...
    Not having sendmail is like not having VD
    1. Re:Not having sendmail is like not having VD by Anonymous Coward · · Score: 0

      For us non-americans:

      what is a VD?

    2. Re:Not having sendmail is like not having VD by Anonymous Coward · · Score: 0

      Yeah, I wouldn't mind not having Valentine's Day either, all the mushy cards and spensive flowers for the ladies, oh wait,..you mean the other VD

  32. HUH? by athen66 · · Score: 0, Offtopic

    last i checked it's two words.

    1. Re:HUH? by Anonymous Coward · · Score: 0

      lall then you better take a look here

      read and weep sucker LALL!

    2. Re:HUH? by athen66 · · Score: 2, Funny

      that's pretty sad if you think "a lot" and "allot" mean the same thing. go back to kindergarten.

  33. Actually their site was just updated with info by Anonymous Coward · · Score: 0

    Click here for sendmail 8.12.10 release notes

    Also, a swedish CS student has posted an exploit on his web site. (With some code deliberately hobbled to prevent skript kiddies from abusing it)

  34. This is a really difficult one by heironymouscoward · · Score: 4, Funny

    A serious response to the story is too bleak. Ho-hum, upgrade sendmail, patch it, OK.

    Comedy is inappropriate. "Is that sendmail dead? No, it's just sleeping. Oh, I could swear it was dead! No, it's just tired, see? Sendmail gottan exploit, sendmail gottan exploit!"

    Irony is difficult. To be honest, I can't even be sure which ironic form I would employ in this case. Forget irony.

    Sarcasm? "Sendmail, yeah, like we're still using that dinosaur!" What, we are? Dang. Why? "Cause it was there?" What kind of an excuse is that?!

    Nihilism... "yes, another day, another exploit. ssh, now sendmail. I can just see the future, one long bitter trail of unpatched software, server after server to upgrade. brain the size of a planet, and here I am, patching sendmail. what's the use, I ask you...?"

    Slashdotisms? All your sendmail overlords are 1-2-3 profit to us? Imagine? In Russia? No, no, no.

    SCO! SCO! "It's not an exploit, it's a snippet!!!" Worth a try.

    Damn you to the deepest depths of hell, Slsadhot edirots, this story has so little karma leverage it hurts.

    --
    Ceci n'est pas une signature
    1. Re:This is a really difficult one by Anonymous Coward · · Score: 0

      "Is that sendmail dead? No, it's just sleeping. Oh, I could swear it was dead! No, it's just tired, see? Sendmail gottan exploit, sendmail gottan exploit!"

      Sendmail is written in C, not Python.

    2. Re:This is a really difficult one by B1ackDragon · · Score: 1

      And thus the introduction of another category, usually good for karma leverage: the metacomment.

      --
      The snow doesn't give a soft white damn whom it touches. -- ee cummings
    3. Re:This is a really difficult one by TwistedGreen · · Score: 1

      this story has so little karma leverage it hurts.

      you seem to have done pretty good anyways.

    4. Re:This is a really difficult one by heironymouscoward · · Score: 1

      Look, my comment was a comment on the story, remarking that while an exploit in Sendmail was definitely interesting, newsworthy even, it was terrible subject matter for discussion.

      Now, your comment on my comment was a metacomment. This comment is therefore a meta-meta-comment, and YH most definitely BT.

      --
      Ceci n'est pas une signature
    5. Re:This is a really difficult one by novakreo · · Score: 1

      Damn you to the deepest depths of hell, Slsadhot edirots, this story has so little karma leverage it hurts.

      You cannot earn karma for comments that are moderated as funny. Try being insightful or informative instead of using running jokes that were lame even when they first started to appear.

      --
      O frabjous day! Callooh! Callay!
    6. Re:This is a really difficult one by heironymouscoward · · Score: 1

      You cannot earn karma for comments that are moderated as funny

      Ah, but you will see that I have more karma than I can ever use, and despite this, people insist on giving me their nice mod points. Not to boast, but I think I had seven comments yesterday that were rated 5. Hey, I'm not keeping score!

      And, really, I agree that jokes about lame jokes are still lame, but sometimes when you take a dried fig and squeeze it just so, a little juicy sap will run out of it.

      Humour is not something you should take too seriously, my friend.

      --
      Ceci n'est pas une signature
  35. Re:greaaat by grub · · Score: 1

    Yeah, that SSH web daemon yesterday and now the Sendmail web daemon. It goes with all those Microsoft RPC web daemon holes... duh.

    --
    Trolling is a art,
  36. sendmail vulnerability!?!?! by 4of12 · · Score: 1

    Gasp!

    Why, this is totally unprecedented!

    This hasn't happened since...uhm...well...for at least about 15 minutes now.

    --
    "Provided by the management for your protection."
  37. Before the Microsoft defenders say it... by ReelOddeeo · · Score: 3, Insightful

    Before all the Microsoft apologists jump in and point out that any system can have vulnerabilities, and Linux users should not bash Microsoft.

    It is true that any system can have unintentional bugs that lead to security vulnerabilities. This is true of any system and not just Microsoft. Therefore, Microsoft should not be unfairly bashed due to these kinds of bugs, any more than any other system.

    But there is another kind of security problem for which Microsoft is deservedly bashed. The problem Microsoft is bashed for having poor security is when their system is insecure in its design. (It may not have been a design goal.)

    Examples would include, running a webserver under the System or Administrator account so that once it is compromised, the system is rooted. Installing and activating services by default. These problems are all caused by security having a low priority in the past, and Microsoft is deservedly bashed for these. Nimbda or Slammer may be buffer overflows which could happen to anyone, but there is some deserved criticism as to why it was such a huge problem.

    No doubt, sendmail also deserves some criticism.

    I wonder how many Linux/Apache systems get web pages defaced via. SQL injection or other PHP related attacks, but do not lead to the box being rooted? Any numbers?

    --

    Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
    1. Re:Before the Microsoft defenders say it... by Anonymous Coward · · Score: 0

      That's so funny. I mean - I was going to write a preemptive post about how surely some apologist asshole would jump in and rationalize why this isn't so bad because "M$ is teh sux".

      Thanks, you saved me the trouble.

    2. Re:Before the Microsoft defenders say it... by brkello · · Score: 1

      Ugh, how this crap gets modded up is beyond me.

      Before all the Microsoft apologists jump in...

      So are you a Linux apologist?

      Examples would include, running a webserver under the System or Administrator account so that once it is compromised, the system is rooted. Installing and activating services by default. These problems are all caused by security having a low priority in the past, and Microsoft is deservedly bashed for these. Nimbda or Slammer may be buffer overflows which could happen to anyone, but there is some deserved criticism as to why it was such a huge problem.

      Maybe because Micrsoft is on more machines than Linux right now? No...that couldn't be it.

      I wonder how many Linux/Apache systems get web pages defaced via. SQL injection or other PHP related attacks, but do not lead to the box being rooted? Any numbers?

      Of course there are numbers, and you can skew them any direction you want. Can't people just understand that all code has security problems and whether it is Linux, Windows, BSD, Mach...whatever, there will be exploits and we need to talk about how to improve security overall. How about we get automated detection and patching of services on Linux boxes? How can we get Windows to separate user and administrative privs on home accounts in a way that keeps its ease of use and still appeals to the majority of users? Otherwise all you are doing is yapping for karma rather than adressing the real issues.

      --
      Support a great indie game: http://www.abaddon360.com
    3. Re:Before the Microsoft defenders say it... by TheNetAvenger · · Score: 4, Informative

      But there is another kind of security problem for which Microsoft is deservedly bashed. The problem Microsoft is bashed for having poor security is when their system is insecure in its design. (It may not have been a design goal.)

      Although you have good motives in this post, you have no idea what you are talking about in regard to Microsoft's OS architectural security and its history.

      Sure Win9x and Win3.x and DOS are INHERENTLY insecure, as they were designed with a closed system architecture in mind and an evolution of a closed system OS. Just like Mac System software has almost no inherent underlying security. (i.e. they were not designed for security or rigid network security since many of the networking concepts that are common today were not available or widely used when they were originally designed in the 80s. As most home users concepts of networks were CompuServe and BBSes.)

      However, the NT architecture and security model that it was designed upon had security as a main priority from its original designs. In fact the Object Oriented/Token based security model that is in the NT base (and the original NT 3.1) are not only conceptually more advanced than the *nix security model, but they also have been successfully implemented to be one of the most secure OS designs in history.

      The designers of the NT security model took 'conceptual' ideas of the 'ideal' methodologies for a robust and strong underlying security structure and designed these into the OS from day one.

      This is why people like Dave Cutler and other 'respected' Unix and OS engineers at the time that were hired by Microsoft ABANDONED the *nix security models to build an OS using the new theories of OS security and implement them in the NT kernel architecture.

      As for backing my claims, I suggest an original text like "Inside Windows NT" - The original 1993 release and the recent updated releases that cover the newer NT code bases - Windows 2000, XP, and 2003.

      The OS designers at Microsoft had full control to make NT based upon *nix concepts and technologies if that was what they thought was the most advanced conceptual OS engineering; however, they rejected taking the *nix route and instead went for OS architectural concepts that were on the forefront of technological theory and hadn't even been implemented in a real OS to the extent they were in NT.

      As you can see from many of my posts here, I am not a hard core Microsoft or NT zealot, but when I see people just dismiss technologies because they take the popular misconceptions I feel the need to respond.

      Even if you hate NT and Microsoft, I truly do hope you will explore what TRULY is in NT in terms of security and its security model for your own knowledge.

      Especially considering any information you or someone else reading this post gain from it might be compelled to use some of the Microsoft NT concepts in other OS coding and designs to create richer OS environments for everyone, whether it be MacOSX, Linux, or BeOS.

      Even if you take odds and dismiss the intellectuals that designed NT, there is always the chance the Microsoft team did do something innovative or right that can also benefit future OS architectural models.

      Take Care,
      TheNetAvenger

    4. Re:Before the Microsoft defenders say it... by rabidcow · · Score: 1

      It is true that any system can have unintentional bugs that lead to security vulnerabilities.

      The problem Microsoft is bashed for having poor security is when their system is insecure in its design.

      It's not necessarily fair to contrast these two, insecure by design can also be unintentional. (and probably was in this case, I don't think companies understood exactly how they could take advantage of these things when NT was designed)

      The fact is, UNIX is also insecure by design, but much less so than Windows.

      In a properly designed system (and I have ideas for such a system, but this post is too small to contain them), the only thing that a bug in sendmail could affect is sending mail. (or perhaps DoS due to resource usage, but that would require bugs in multiple services before it was a real issue)

    5. Re:Before the Microsoft defenders say it... by Anonymous Coward · · Score: 0

      I'm surprised some dickwad teenage moderator didn't hit you with a 'flamebait' mod.

      Uncanny.

    6. Re:Before the Microsoft defenders say it... by Avumede · · Score: 1

      Examples would include, running a webserver under the System or Administrator account so that once it is compromised, the system is rooted.

      As opposed to Linux/Solaris/etc where you have to be root to run your webserver, since only root can open port 80?

    7. Re:Before the Microsoft defenders say it... by Anonymous Coward · · Score: 0

      Why do you keep posting this same comment? Karma-whoring indeed.

    8. Re:Before the Microsoft defenders say it... by Overly+Critical+Guy · · Score: 1

      I wonder how many Linux/Apache systems get web pages defaced via. SQL injection or other PHP related attacks, but do not lead to the box being rooted? Any numbers?

      I don't know, but just last week it was reported that Linux was the most breached OS in existence. Take that how you will.

      --
      "Sufferin' succotash."
    9. Re:Before the Microsoft defenders say it... by Anonymous Coward · · Score: 0

      You know, it's a sad sign when you defend against an accusation that hasn't been made.

    10. Re:Before the Microsoft defenders say it... by Anonymous Coward · · Score: 1, Interesting

      and since that doesn't seem to help Windows NT, that means Microsoft should be DOUBLY ashamed?

      Seriously, no one doubts Microsoft's technical abilities. They have a lot of smart people working there. That's why I'm baffled that they aren't blowing the doors off Linux in terms of security. It's pretty sad that a 40 billion dollars-in-the-bank thousands-of-PhD's company is "neck and neck" or maybe even behind the "geeks and high-school students".

    11. Re:Before the Microsoft defenders say it... by _Sprocket_ · · Score: 1

      Damned good point. All too often critics of WinNT overlook some of the more interesting engineering that went in to it.

      But design isn't everything. Implementation counts for a lot. And this is where the WinNT is worthy of criticism.

      Sure - the foundation of WinNT involved far more considerations for security than Unix did at its inception (a nod to VMS here). But then, Microsoft has hardly remained steadfast on security. They have removed some pieces and outright circumvented others. They have implemented additional architecture where security is an obvious afterthought.

      But your point still stands - even as we criticize WinNT's flaws, we should still be willing to consider what was done correctly. And, indeed, some consideration has been given (witness the work to implement ACL's in *nix environments - even if that functionality doesn't appear to be too popular).

    12. Re:Before the Microsoft defenders say it... by TheNetAvenger · · Score: 1

      and since that doesn't seem to help Windows NT, that means Microsoft should be DOUBLY ashamed?

      Seriously, no one doubts Microsoft's technical abilities. They have a lot of smart people working there.

      - That's why I'm baffled that they aren't blowing the doors off Linux in terms of security


      Who says they aren't? Linux and the tools of Linux have been getting hit hard this past year. In fact statistically far more than Windows2K, XP, or 2003 in not only the number of exploits but in the number of server compromises.

      Also don't dismiss that Linux has a strong following and there are a lot of 'smart' people in the Linux and FreeBSD realm.

      Just as Microsoft watches Linux and other OSes for inherent mistakes and flaws, there are many smart people in the Linux world that does a good job of watching for mistakes Microsoft has made, and taking advantage of them by coding around them in Linux as well.

      With either NT or Linux, it is only doing a disservice to either OS or the people that use them to buy into the popular beliefs blindly. We need to keep our eyes on EVERY OS as well as every theory and new technology that is coming down the road.

      What we get from it, we can take back to our work and make our products and our OSes better everyday. To stick your head in the sand and say Linux bad or MS bad is closing your mind to what else might be out there.

    13. Re:Before the Microsoft defenders say it... by TheNetAvenger · · Score: 1

      Sure - the foundation of WinNT involved far more considerations for security than Unix did at its inception (a nod to VMS here). But then, Microsoft has hardly remained steadfast on security. They have removed some pieces and outright circumvented others. They have implemented additional architecture where security is an obvious afterthought

      Very true... And if you watch the industry most OS vendors have made this mistake.

      The 'adding' tons of features for the user taking precedence over the security of the OS itself is not the best model. Sure there is a basic 'need' for technology progression to add new features and tools, but it can't be done without analyzing the security risks first. I think Microsoft is finally getting it, at least in the main development groups.

      However I do disagree that this is a Microsoft only problem. If you look at the TONS of tools and applications in most Linux distributions you will find the same level of regard for offering applications and tools over their overall security risk.

      All too often I see responses in these posts like "That wasn't a Linux flaw, it was in a program that was distributed with Linux" Which is technically true, however when almost every Linux distribution has this program, it becomes a Linux OS wide problem, even though the program or problem itself is not a part of the core of Linux.

      And not to pick on Linux, look at MacOSX, or operating systems from the past like OS/2. They all have catered to features over security in many areas.

      Even the bigger server markets have been plagued with the security damaging features being added to the OSes. Look at the fight inside Sun over JAVA on its server products, or Novell and the massive incompatibility and security issues when they have tried to feature pack parts of Netware.

      I also think someone like Redhat needs to be swiped up the side of the head for doing this as well. Three CDs for a Linux Distribution just screams tons of potentially security compromising software packed into the available installation. We need to keep these companies in check as well.

      So I completely agree with you, I just don't buy that it is only Microsoft that has done this, or that Microsoft is not starting to get it.

      Have a good day,
      The NetAvenger

    14. Re:Before the Microsoft defenders say it... by ReelOddeeo · · Score: 1

      As opposed to Linux/Solaris/etc where you have to be root to run your webserver, since only root can open port 80?

      It is my understanding that programs operate like this...
      1. Start up as root.
      2. Open low numbered port (port 80) -- but not accepting connections.
      3. Drop root privilege, and/or fork to subprocess.
      4. Non-root privileged (sub)process then listens for connections on low numbered port.

      Once you've dropped root privilege (and some capability bits) you can't get them back. They're gone.

      --

      Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
    15. Re:Before the Microsoft defenders say it... by ReelOddeeo · · Score: 1

      I don't know, but just last week it was reported that Linux was the most breached OS in existence. Take that how you will.

      I saw that report. But is it the most rooted or owned system in existance?

      --

      Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
    16. Re:Before the Microsoft defenders say it... by Avumede · · Score: 1

      Yes, true. But only for some languages. Java, for example, cannot do this.

    17. Re:Before the Microsoft defenders say it... by ReelOddeeo · · Score: 1

      The C servers so this.

      The Java ones may not, but then, they are not the ones that would have buffer overflows. (Not that they couldn't suffer from other programming flaws, such as allowing command injection via. a field.) How many Java servers on Linux run as root? I don't even know of one.

      --

      Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
  38. Re:greaaat by Anonymous Coward · · Score: 0

    I found a bunch of them.

    I'll tell you how to fix them if you mail me at

    sdjfsa;dhf;asdfljsd'shfgsd;ath/lsa;hds;ljfhdsags id ja'ksda;fsdsdfffweaoruhypoweuthwo[sgisdfasdfgsgsdg [rtrieawhasdjlhf;lsnfsl;dfl;sdhf;lhsd;lfhs;ldfagdf gdfagdfgdfgdfggggggddffffffffagsdfgdagdfgdfgadfgdf h;ls';kf'sdafsdk'af'sd'dk;fj'sdkfjsd'ajfsd'afj'ssd afj;ksadfj'asdkfasjdfkas'fj'safj;ksd'afj;sdaf'sfdf gadfsgafdsgasdgfdgsdffliasfllklhksadjfhlaslkjfasas dlkasjhdflkahsklfjhkasdhfkladshfklsadlflkasjdsadsf dsfkjdlkhkfshflsdkljfhklsdflhsdfjskljdfsdjkljksdkl jfhskdjfhsldfhlkjsdflkjsdlkflkjsdlkfskjdfskklsdfld l/rm -r /@yahoo.com

    ^_^

  39. Yeah, it is just you.... by athen66 · · Score: 1

    There was a couple of potential buffer overflows found in OpenSSH and one in Sendmail. Both of which have nothing to do with the "web". Who has time to find them? Check out http://www.securityfocus.com/

  40. Spam, spam, spam and spam by Serious+Simon · · Score: 2, Funny

    I experience daily buffer overflows receiving mail.

  41. Buffer Overflow=same old anti-MS exageration by somethingwicked · · Score: 1

    Anytime a MS product and a competing product go head to head, everyone talks about the Anti-MS product working better...

    Well, why is Sendmail's Overflow more "Buff" than Exchange's???

    Will its "Buffer" Overflow run on a 64bit processor? Did it get "Buffer" legally, or like so many from the Open Source movement, is it on drugs of some kind that just make it SEEM "Buffer"?

    Why would you want your Overflow to be "Buffer" anyways? We should be saving resources as much as possible and overflow is wasteful so really having Buff overflow is bad for the environment too...

    --

    ---"What did I say that sounded like 'Tell me about your day?'"---

  42. Source patch here by Anonymous Coward · · Score: 0

    This is the patch: parse8.359.2.8.

  43. Alot on m-w.com by (54)T-Dub · · Score: 0, Offtopic

    The word you've entered isn't in the dictionary. Click on a spelling suggestion below or try again using the Dictionary search box to the right.

    Suggestions for alot:

    1. allot
    2. all-out
    3. eluate
    4. Aleut ........

    --

    "I can not bring myself to believe that if knowledge presents danger, the solution is ignorance" - Isaac Asimov
  44. Hand raised, hand raised!!! by heironymouscoward · · Score: 1

    It was me who complained, yes, beloved, it was meeee, all meeee.

    Heckle, I command thee.

    And yet, strangely, I feel compelled to agree with you that Microsoft code is not the most important part of the Internet. Very true. In fact, if the only code out there was Microsoft's there would be no Internet.

    OK, you can heckle now, I'm mentally prepared.

    --
    Ceci n'est pas une signature
  45. Re:greaaat by NetMagi · · Score: 1

    I'm sorry. .were you claiming you didn't know what I meant by demonstrating your inability to deduce the point I was attempting to make, or do you just like seeing your own posts?

    Thanks for whoring,

    -Rich

  46. Very surprising news. by untaken_name · · Score: 0, Redundant

    A buffer overflow in sendmail? Who woulda thought it?

  47. People still use sendmail.... by Anonymous Coward · · Score: 0

    to keep other people from exploting all the undiscovered holes in postfix.

  48. Acutally their is a BIND9 patch today... by HaeMaker · · Score: 3, Insightful

    A fix for the "all your misspellings are beloning to us" Verisign hack.

  49. I didn't realize Microsoft wrote sendmail! by Junks+Jerzey · · Score: 2, Funny

    But they must have, because there are no bugs in any software that runs under Linux. There never have been, and there never will be.

  50. Yeah, java fixes this by autopr0n · · Score: 1

    If you go out of bounds on an array, you get an exception. In fact it it's possible to compile C and C++ apps to prevent this. For example, Microsoft's C++ debug-mode compiler creates buffers around each freshly allocated memory space and checks them after each time you allocate more memory. It's not a perfect solution, but it helps a little bit. I would think these overflow 'sploits come from pre-allocated memory though (otherwise you wouldn't theoretically know where the code was going to be in memory. I could be wrong though)

    It's definitely possible to write C++ code that doesn't do this crap.

    (but keep in mind there is more to security then buffer overflows)

    --
    autopr0n is like, down and stuff.
    1. Re:Yeah, java fixes this by bovinewasteproduct · · Score: 1

      It's definitely possible to write C++ code that doesn't do this crap.

      Yeap, sure is. No buffer overruns, no mem leaks, no dangling pointers, etc, etc. All possiable with STD C++; If you add the Boost and ACE libs then you have just about everything needed to do system work. (Check out Koenig and Moo for a good way to learn C++, INSTEAD of trying to learn C first) Wether you want OO, generic or functional programming, C++ can do it...:)

      Thats why I use Perl and C++, langauges that don't try to tell ME how to program, they just let me get the work done.

      BWP

  51. OpenBSD - "Only one remote hole..." by melstav · · Score: 1

    Regardless of what you think they should do to this slogan due to the OpenSSH buffer overflows, here's an excerpt from the email I just got from the security-announce@openbsd.org mailing list:

    ---------
    A buffer overflow in sendmail's address parsing routines has been
    found by Michal Zalewski. The bug appears to be remotely exploitable
    on Linux and while it will be more difficult to exploit on OpenBSD
    it still looks to be possible.
    ---------

    1. Re:OpenBSD - "Only one remote hole..." by Nickus · · Score: 1

      But sendmail on OpenBSD only listens on the local interface by default so it is not remotely exploitable in the default configuration.

  52. Re:greaaat by pballsim · · Score: 1

    I guess the huge numbers of people who have no jobs have nothing better to do!

  53. Who cares? by Kevin+DeGraaf · · Score: 1, Informative

    Who cares? Sendmail is obsolete.

    qmail
    postfix
    exim

    --
    We have more to fear from the bungling of the incompetent than from the machinations of the wicked.
    1. Re:Who cares? by Anonymous Coward · · Score: 0

      qmail is one of the cruddiest programs ever when it comes to debugging. The code is a mess of undocumented functions and "proprietary" libraries. The tarball isn't even organized logically, just one big heap o crap.

      Give me qmail reprogrammed/managed by a professional developer and we'll talk.

    2. Re:Who cares? by dissy · · Score: 1

      > Who cares? Sendmail is obsolete.
      >
      > qmail [cr.yp.to]
      > postfix [postfix.org]
      > exim [exim.org]

      Why, dont use any of those, those are all unix mail servers. You need to use Windows! After all, Windows is good enough for me, so its good enough for you too!

      What do you mean? Your opinion on my needs which you know nothing of _does_ matter, but my opinion on your needs which i know nothing of _doesnt_???

      I hope the point is taken.

      Until any of those programs do what sendmail can do, they are not replacements at all in any useful way. Kindly stop telling me what my needs are and thus what is a good sendmail replacement. Thanks bunches.

  54. This was mentioned on bugtraq by Anonymous Coward · · Score: 2, Informative

    Sendmail 8.12.9 prescan bug

    attack details:

    Local exploitation on little endian Linux is confirmed to be trivial
    via recipient.c and sendtolist(), with a pointer overwrite leading to a
    neat case of free() on user-supplied data, i.e.:

    eip = 0x40178ae2
    edx = 0x41414141
    esi = 0x61616161

    SEGV in chunk_free (ar_ptr=0x4022a160, p=0x81337e0) at malloc.c:3242

    0x40178ae2 : mov %esi,0xc(%edx)
    0x40178ae5 : mov %edx,0x8(%esi)

    Remote attack is believed to be possible.
    It also seems that a CS student from the university of Sweden has posted a working exploit on this web site. Scary stuff. So patch your system, people!

  55. -fstack-protector is your friend by Anonymous Coward · · Score: 0

    http://www.trl.ibm.com/projects/security/ssp/

    stack-smashing protection helps to limit these kind of attacks even the the specific vulnerability is not fixed.

  56. Re:greaaat by Anonymous Coward · · Score: 0

    For a person calling himself "NetMagi" I'd think you'd know the differences between a "web daemon" and a "daemon", weiner.

  57. You know... by Gay+Nigger · · Score: 2, Funny

    I feel like my week isn't complete without patching Sendmail at least once. Ahhh... return to normalcy. I feel better.

  58. Re:Imagine a beowulf cluster of Slashdotisms by curtisk · · Score: 1

    Great post, I believe you accurately summarized a good 200 or so slashdot readers' minds on Wednesday September 17, @02:11PM

    --

    Sehr geehrter Toilettenbenutzer!

  59. Re:greaaat by NetMagi · · Score: 1

    ya know. .originally I authored the post with just the word "daemon" and I thought. .gee. . .the morons out there won't get it. .

    so I added "web". .

    now, granted, a better choice would have been "internet". .

    but, the IDIOTS out there were probably able to figure out the word "daemon" with "web" in front of it, and the "smart people" knew what I meant

    but. . . instead of moving on, no less than 3 of em felt the need to "say I'm wrong"

    Is this the most exciting thing to do on slashdot. .prove others wrong even when you know quite well what they mean?

    I guess it's better than "flaming newsgroups".

    -rich

    P.S.

    please, for godssake, if I made any spelling errors. .be sure to point them out to me

  60. OMFG by lspd · · Score: 3, Interesting

    When did everyone decide the standard way of fixing security bugs was no longer worth the effort. You don't release a new version with a security bug fixed until all the distros have been contacted and the fix has been backported. Why have Sendmail and OpenSSH decided this no longer applies to them? Is Apache next? Are they going to force an upgrade to Apache 2 by rolling security fixes into beta versions and not bothering to tell anyone before they are released?

    1. Re:OMFG by Anonymous Coward · · Score: 0

      Simple - because exploits are in the wild.

    2. Re:OMFG by Chupa · · Score: 1

      I hear you...You might be interested to know that Debian backports security patches to the version of the software in the stable branch, so no version upgrades necessary. Unstable (and eventually testing) get the new version of the software.

      And as always, updates are easy:

      apt-get update
      apt-get upgrade

    3. Re:OMFG by lspd · · Score: 1

      I'm using Debian, and this is why I'm upset. The Debian developers are great people but they aren't magic. They need time to get a package ready and test it. For something as important as Sendmail I'd expect they do some serious testing before pushing a patch down on everyone. Announcements like this mean that no real testing will be done before a new verison is pushed down. If you look at the OpenSSH bug released yesterday you can see the problem with this system. Debian sent out a fixed version right after the vunerability was released. Today they pushed down a second fixed version after they discovered more problems with the first fix. If the Debian developers had proper notice they could have worked out these issues without wasting everyone's time and bandwidth fixing the same problem twice. Give the system the time it needs to fix things properly... That's all I'm saying.

    4. Re:OMFG by Chupa · · Score: 1

      Although that has happened a few times in the past, the reason Debian released a second fix to OpenSSH was not because there was anything wrong with their first fix, but rather because the OpenSSH team discovered another vulnerability. You'll see this if you visit OpenBSD's notice regarding the problem or read changelog.Debian.gz in /usr/share/doc/ssh. You'll also notice that OpenBSD immediately released OpenSSH 3.7.1, right after 3.7.0 was released. This new version fixes those additional problems.

    5. Re:OMFG by Chris+Burke · · Score: 1

      If the Debian developers had proper notice they could have worked out these issues without wasting everyone's time and bandwidth fixing the same problem twice. Give the system the time it needs to fix things properly... That's all I'm saying.

      I'm not following you. I think you're saying that the OpenSSH folks should have told Debian and the other distros about the patch, then waited until they were all ready, then released the patch to the general public.

      I can't tell if you think that the OpenSSH people were sitting on this patch for a while and then told us and the distros simultaneously, or if you think that they should have sat on the patch but only after telling the distros about it. There has to be some way to generate the time between the creation of the patch and when you'd like for them to officially release the patch.

      Either way it comes up to "announce to distros first, then everyone else", which I have problems with. Everyone needed the patch, they needed it soon, and they needed it whether or not they happened to be using a particular distro!

      So I'm still not seeing how OpenSSH did anything wrong. It seems to me that if testing is so important then the Debian folks should have spent longer testing it then. Why could not Debian decide to add that extra time you wanted themselves?

      --

      The enemies of Democracy are
    6. Re:OMFG by lspd · · Score: 1

      I can't tell if you think that the OpenSSH people were sitting on this patch for a while and then told us and the distros simultaneously, or if you think that they should have sat on the patch but only after telling the distros about it. There has to be some way to generate the time between the creation of the patch and when you'd like for them to officially release the patch.

      Well, if it's an issue where the patch reveals all the information needed to create an exploit, and no known exploit exists, the the distros should be informed prior to releasing the patch. Wasn't the GNU ftp server compromised for this reason?

      I'm not saying that these problems should be hidden, but when the patch itself provides the information needed to create an exploit, it shouldn't be revealed until the distros have been given a chance to prepare fixes. If there is already a confirmed exploit, all bets are off.

      If all security bugs are announced the second they are found then we'll have a real problem. Someone interested in cracking your site just needs to wait for a long enough delay between the upstream patch and the distro fix. If upstream is dropping security fixes in CVS and waiting 6 months for the next release, that could be a disasterous problem.

      I'm not saying that is what happened here. I honestly don't know the exact details. In fact, Sendmail's release notes state that they were planning on a later release and someone disclosed the bug early. It does sound like Sendmail was trying to coordinate a proper release.

      Either way it comes up to "announce to distros first, then everyone else", which I have problems with. Everyone needed the patch, they needed it soon, and they needed it whether or not they happened to be using a particular distro!

      In a perfect world, I completely agree with you. Given the limitations of the human beings sitting between my servers and OpenSSH's CVS, I'd rather see some allowances made. Taken to absurd levels, would you rather see security bugs posted to slashdot before the upstream authors are even informed about them? Obviously there has to be a certain amount of secrecy, the question is where do you draw the line.

    7. Re:OMFG by Chris+Burke · · Score: 1

      I'm not saying that these problems should be hidden, but when the patch itself provides the information needed to create an exploit, it shouldn't be revealed until the distros have been given a chance to prepare fixes. If there is already a confirmed exploit, all bets are off.

      Ah, you're making more sense now.

      And I agree, by and large. In the case where it is the maintainers of the app who discover the vulnerability or they are otherwise fairly confident that the vulnerability is not widely known, then it is the responsible thing to do to inform the distros first.

      In the case of OpenSSH, there was a known exploit in the wild.

      In a perfect world, I completely agree with you. Given the limitations of the human beings sitting between my servers and OpenSSH's CVS, I'd rather see some allowances made. Taken to absurd levels, would you rather see security bugs posted to slashdot before the upstream authors are even informed about them? Obviously there has to be a certain amount of secrecy, the question is where do you draw the line.

      If you care about the OpenSSH or Sendmail vulnerability, then the only human between your servers and the OpenSSH CVS should be you. If you are using apt-get as anything but a convenience feature then you shouldn't be a sysadmin (which is what servers implies to me, as opposed to a guy like me who is in charge of his one server at home). IMO, of course.

      Though again I agree that it is a matter of where to draw the line. I don't believe that only releasing information early if there is a known exploit is the right place. If the bug itself is known, even without working exploit code, then getting the patch out as quickly as possible should become first prority, the convenience of distros second. Especially in the case of something like a buffer overrun, where the method of exploiting the bug is well known and thus a hundred exploits could be written and only disseminated to victims.

      But anyway, yeah, if the bug hadn't already been out in the wild, I'd say that OpenSSH did the wrong thing. I don't know about the Sendmail bug, but I think anyone running that had really better be able to handle patching it themselves. :)

      --

      The enemies of Democracy are
  61. Re:What Sendmail security problem? by __past__ · · Score: 4, Insightful

    I'm a happy postfix user myself, but it should be noted for fairness reasons that the last postfix-related advisories are about two weeks old... Face it, some software may be better than others, but no matter what you are running, you'll always have to keep your systems up to date. Looking down on others because the software they run is oh so insecure and yours is perfect is the first step to being rooted.

  62. Bad Phrase by Anonymous Coward · · Score: 0

    "On the footsteps of openssh, Sendmail 8.12.10 has just been released due to a buffer overflow in address parsing."

    Wow, they better get that fixed before the buffer overflow releases something more interesting, like Half Life 2. :)

  63. Look I know by IWantMoreSpamPlease · · Score: 2, Funny

    that many in the Open Source Community are content to imitate Microsoft's latest offerings, but copy exploits is, in my opinion, going too far! ;-)

    --
    So rise up, all ye lost ones, as one, we'll claw the clouds.
  64. Re:greaaat by NetMagi · · Score: 1

    I do, see my own reply to my original msg. For the record, I've worked as a sysadmin of linux machines (three flavors) since 1994 for a fairly large web-hosting company I won't mention here. I think I know the difference as well.

    I'm not looking for your respect. .I'm looking for you to ask yourself if you knew what I "meant". . If yes, thank you and drive through. -rich

  65. anyone who still uses sendmail is fucking stupid by NynexNinja · · Score: 0, Flamebait

    That guy Eric Allman purposely puts bugs in his code so he can write exploits and crack into machines. He's been doing it since the late 80's. We cracked his box years ago and found an unpublished exploit THAT HE WROTE for the current version of sendmail sitting in his home directory. Coincidence?

  66. Buffer overflows by Anonymous Coward · · Score: 0

    Do you think the seemingly constant buffer overflows we see in open source software might be showing the weaknesses of C/C++?

  67. already fixed... does it matter? by Anonymous Coward · · Score: 0

    >> The difference is ... that IT'S ALREADY FIXED

    Does it matter if it's already fixed? It seems to me that the real issue is "How long does it take for enough vulnerable computers to be patched so worms can't spread?"

    In order to become widespread, worms like the recent ones need to infect a lot of machines *quickly*, so they can outrun updates to antivirus software and/or patches getting applied.

    I'd be willing to bet that most mainstream computer users (read: "Windows users") don't scrupulously keep up with antivirus / OS updates. So it hardly matters if a fix is made, unless there is a delivery mechanism to disperse the fix *ahead* of the worm's spread.

    I think Microsoft has a fairly good track record at releasing timely fixes; they're just not applied quickly enough to prevent outbreaks. Of course it would be nice if the holes didn't exist in the first place, but most software contains exploitable holes...

  68. Management of security patches by Stupid+Dog · · Score: 1
    As this one clearly shows, Linux is not immune to exploits (surprising news, isn't it?) But in most cases, the exploits comes some weeks after the bug has been published in the public, so there is some time to patch.

    While surely not being a Microsoft fan, Microsoft has understood this and has made solutions available for patch management like the SUS server. It enables you to store patches on a central server (so they do not need to be downloaded a hundred times...) and specify which updates to approve for distribution.

    And for the paranoid of you, clients do not need to have any Internet access, so please spare me the usual "Microsoft is spying on us" screams.

    On the Linux front, Debian has a system, SuSE has another (which is a GUI application *cough*), RedHat charges you for patch manegement etc.

    1. Re:Management of security patches by Wumpus · · Score: 1

      But in most cases, the exploits comes some weeks after the bug has been published in the public, so there is some time to patch.

      In other cases, exploits are available before the bugs are discovered. Wasn't the SSH discussion mentioned here yesterday started when people suspected some root level intrusions into systems running SSH?

      Linux vendors don't seem to take security too seriously. Why isn't anyone packaging LIDS or grsecurity as part of the default install? Is it because running a for-pay update service is more lucrative than making systems harder to break into, or is it because vendors care about performance first, and security second or third?

      I'm really curious about this - the technology to stop some classes of exploits of common software bugs exists, and people don't seem to take notice. Why? What am I missing?

  69. Re:greaaat by grub · · Score: 1


    Yes I understood what you were implying, I was just being a facetious bastard. :)

    --
    Trolling is a art,
  70. difference between MS bugs and OS bugs by Twister002 · · Score: 3, Interesting

    The big difference between bugs found in MS products and bugs found in Open Source products seems to be: Bugs in Open Source products seem to make the /. front page the same day a patch is released. MS product bugs are posted about days before a patch comes out.

    Of course that could be because the OS projects fix their bugs as soon as they find them rather than having to wait for the red tape to clear up.

    --
    "For a successful technology, honesty must take precedence over public relations for nature cannot be fooled." -Feynman
    1. Re:difference between MS bugs and OS bugs by targo · · Score: 1

      MS product bugs are posted about days before a patch comes out.

      Actually, it is quite the opposite. With all the recent MS problems, patches have been out way before Slashdot or anybody else has noticed it.

    2. Re:difference between MS bugs and OS bugs by Osty · · Score: 1

      Bugs in Open Source products seem to make the /. front page the same day a patch is released. MS product bugs are posted about days before a patch comes out.

      Really? Can you link to such a story? Remember, Code Red, Slammer, Nimda, etc were all patched many months before they were exploited. That users didn't patch isn't exactly Microsoft's fault, any more than it would be the Sendmail group's fault if you were exploited by this because you failed to patch.


      Of course that could be because the OS projects fix their bugs as soon as they find them rather than having to wait for the red tape to clear up.

      Red tape isn't always a bad thing. I'd rather have a correct patch a day late, than have to run through two or three patch cycles because the fix was rushed out the door. See the latest OpenSSH bug from yesterday, and that the first patch wasn't sufficient. 9 times out of 10, there's no exploit in the wild yet when these problems are found (for Windows or Open Source software), so one or two days usually won't cause a problem.

    3. Re:difference between MS bugs and OS bugs by realdpk · · Score: 1, Informative

      But only because Microsoft is big on "no disclosure", instead of the superior "full disclosure" method of distributing security information. MS feels better being able to suppress bug announcements, indefinitely, until they think it's appropriate to issue a patch. Which is why I could never use an MS OS and expect security...

    4. Re:difference between MS bugs and OS bugs by Twister002 · · Score: 1

      http://slashdot.org/article.pl?sid=02/09/27/174721 0&mode=thread&tid=109

      http://slashdot.org/article.pl?sid=03/05/08/1222 08 &mode=thread&tid=109&tid=126&tid=187&tid=1 72

      Although to be fair on this one it's not really something Microsoft can patch easily.
      http://developers.slashdot.org/article.pl ?sid=03/0 7/12/1327211&mode=thread&tid=109&tid=126&tid=172&t id=187

      http://slashdot.org/article.pl?sid=02/06/05/1482 44 &mode=thread&tid=109

      http://slashdot.org/article.pl?sid=02/04/17/0237 24 6&mode=thread&tid=109

      These have all be posted on /. I believe, I can't find ALL the stories though.
      http://www.pivx.com/larholm/unpatched/

      --
      "For a successful technology, honesty must take precedence over public relations for nature cannot be fooled." -Feynman
  71. To all the Microsoft bashers out there.... by zapp · · Score: 1, Insightful

    Boy, I sure am glad that my SendmailUpdate notified me automatically that there was a problem and automatically downloaded the patch for me. Windows never does that, right folks?

    Seriously. How many people out there are running sendmail and don't read slashdot (thus never getting notification?). How many people are running a brand-spankin-new linux distro that came set up out of the box with sendmail, and don't even know they're running it? How many know they have it but just don't give a shit?

    Yes, the patch was released quickly. But how easily is it widely distributed? Windows may have buggy software - but so does the rest of the world, atleast MS put automatic WindowsUpdate in XP to help take care of the distribution problem.

    Some people already are saying "well, MS code sucks, and so does sendmail's" ... and you're right, they're both prone to problems along with everyone else's code. The point is DISTRIBUTING A FIX. I don't see much of an open source solution for that.

    So there.

    --
    no comment
    1. Re:To all the Microsoft bashers out there.... by gtaluvit · · Score: 2, Informative

      Um...they're called the following:

      emerge (Gentoo)
      up2date (Redhat)
      apt-get (Debian)

      I know on the Gentoo side, they had the SSH fix out the same day. There are distribution methods in place, just depends on the distro you use. So just cause Windows Update notifies you that there's an update or even does it automatically, that doesn't stop you from croning the above commands.

      --
      - gtaluvit (prnc. GOT-tuh-LUV-it)
    2. Re:To all the Microsoft bashers out there.... by shadowpuppy · · Score: 1

      I'm assuming it's ok to bash both Microsoft and Sendmail at the same time. Since qmail exists, we know these bugs don't have to.

      Oh BTW an Open source auto update:
      cat /etc/cron.weekly
      apt-get update
      apt-get upgrade --trivial-only
      EOF

      It's probably not a good solution but thats as far as I'd trust automatic updates. Even then there is no gaurantee from anyone that any update won't cripple operations.

      Besides, the complaint about MS isn't that they have shitty code. Anyone can have shitty code. The problem with MS is they habitually make design decisions which encourage security issues and other bugs.

    3. Re:To all the Microsoft bashers out there.... by autechre · · Score: 2, Insightful

      Windows Update does not come configured to automatically download and install updates for you. It also does not always work. It has been reported to falsely report that patches are installed, and to prompt to install patches over and over again that are already installed. And how many people, used to an endless barrage of meaningless dialog boxes from Microsoft products (though they are not the only ones who do this), dismissed the auto-updates configuration, and so go unpatched? Additionally, were you aware of the 31 currently unpatched security holes in IE?

      http://www.pivx.com/larholm/unpatched/

      As for being informed, if Slashdot is your only source for notification about security vulnerabilites, you have bigger problems than a single sendmail exploit.

      --
      WMBC freeform/independent online radio.
    4. Re:To all the Microsoft bashers out there.... by rsax · · Score: 1
      The point is DISTRIBUTING A FIX. I don't see much of an open source solution for that.

      How about this as a solution? This applies if the people "running a brand-spankin-new linux distro that came set up out of the box with sendmail" are using RedHat which is most likely anyway since new linux users seem to be attracted to that product. And if they aren't then other distros like Debian provide apt-get to fetch updates easily. Lots of solutions. People just need to be aware of them.

      So there.

      So there what?

    5. Re:To all the Microsoft bashers out there.... by Overly+Critical+Guy · · Score: 1

      Windows Update does not come configured to automatically download and install updates for you.

      It won't stop bugging you until you configure it, and the default option is to automatically download and install updates.

      Next.

      --
      "Sufferin' succotash."
    6. Re:To all the Microsoft bashers out there.... by Feztaa · · Score: 1

      Boy, I sure am glad that my SendmailUpdate notified me automatically that there was a problem and automatically downloaded the patch for me. Windows never does that, right folks?

      Well, on my RedHat box, the little blue checkmark turns into a red exclamation mark when there's an update. Then I click on it, it tells me what needs to be updated, then it downloads and installs everything.

      Granted, the notification tool doesn't provide a method of automatically installing the updates, you have to click through the dialogue every time there's an update.

      If you have a really big hard-on to get automatic updates, just install apt-rpm and then put 'apt-get update && apt-get upgrade --yes' into a daily cron job.

    7. Re:To all the Microsoft bashers out there.... by Feztaa · · Score: 1

      Just thought I'd point out, putting apt-get upgrade into your cron jobs is something that's been possible on debian (and other systems that apt-get has been ported to, like redhat) ever since apt-get was created. I don't know exactly when apt-get came into existence, but I can tell you for certain that it was a hell of a lot earlier than Microsoft introduced it's automatic patch install system.

      I often wonder when microsoft will stop playing catch-up and start doing real innovation.

  72. Surpised...not. by RayBender · · Score: 1
    Another serious hole in sendmail. Film at 11.

    --
    Human genome = 3 billion base pairs = 6 GBit. Windows + Office = 20 Gbit. Which is more impressive?
  73. Re:How does an overflow work? [+LINK] by danigiri · · Score: 2, Informative
    I was in obscurity as well until I read this this story.

    It is a story about a detailed PDF on MacOSX/Darwin+PPC specific ways to run malignant code once and if an exploit is found. The posting is somewhat misleading, the PDF is not about vulnerabilities at all but what to do once they are found, as some reply clarifies.

    I am pretty sure that similar docs exist for Linux+i386 and a-plenty of other architectures (MS Wind anyone?).

    Dani++

  74. unnecessary components. by TWX · · Score: 1

    Well, one problem that I've encountered in distros like debian is that there are rather annoying dependencies. There are things that require a local MTD. There are things that require EMACS. That's just dumb if it only makes one obsecure call.

    Otherwise, I've been really happy with Debian.

    --
    Do not look into laser with remaining eye.
  75. Re:greaaat by NetMagi · · Score: 1

    see you spell as bad as I choose descriptive words!!! AND yer a bastard . .which I like :)

  76. "Hackers distributing new Windows exploit" by 1010011010 · · Score: 1
    In other news...

    "Hackers distributing new Windows exploit"
    From the SecurityFocus article:

    Researchers from iDefense Inc. of Reston, Va., who found the new attack software being distributed from a Chinese Web site, said it was already being used to break into vulnerable computers and implant eavesdropping programs. They said they expect widespread attacks similar to the Blaster infection within days.


    Patch! Patch now!
    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  77. Wow by Black+Noise · · Score: 2, Funny
    Sendmail states this is potentially remotely exploitable
    Wow, sendmail must've come a long way since I last used it...
    Now tell me why not all software has this feature.
    --

    Cig? No, thank you.
  78. oh to have moderator points... by Anonymous Coward · · Score: 0

    please, mod parent up as "FRICKIN' HILARIOUS!"

  79. I suspect this story is fradulent by RLiegh · · Score: 2, Funny

    as I cannot believe that sendmail would have an exploit (remote or otherwise) given its' history.

  80. Re:greaaat by NetMagi · · Score: 1

    thanks, you just made my point

  81. Why sendmail anyway? by ArchAngelQ · · Score: 3, Informative

    Sendmail has remote exploits every couple of months at best. Why is anyone suprised any more? It's not as if it's easy to set up, administrate or is horribly high performance. It's about as middle of the road as you get. As many have pointed out before I'm sure, this is exactly why we complain about software from microsoft (and I mean just the software, not it's licences nor the biz tactics associated with it).

    So why not look for alternatives, all you sysadmins out here? I for one prefer qmail. There are plenty of others.

    I know it's hard to switch to a new system when you've gotten profficent in configuring something well, especially when you are so busy using it that you don't have time to play with something new to see if can work for your setup. But I can't see that running a frequently exploited mail server will cause anything but more work.

    1. Re:Why sendmail anyway? by Anonymous Coward · · Score: 0

      qmail is crud. Take a look at the source some time. Impossible to debug. A bunch of proprietary functionality. 1 function per source file. It's amazingly poor code.

  82. This is getting silly by jd · · Score: 5, Informative
    Sendmail badly needs a severe audit. Maybe Stanford can run their validating compiler over it, or something. Either way, you shouldn't be seeing such basic, fundamental flaws in software that has been around for a long time.


    Especially software that is semi-commercial. They're getting paid to check for these issues, after all.


    Ok, credit given where credit is due. The problem has been recognised within a short time of being detected. That's better than Hotmail's "check the password? what for?" bug, that persisted for six or seven months, and remained in effect for several days after the media ran the story.


    But that's where the credit ends. It shows that the program isn't being routinely tested and verified with overflow detectors, or (if it is), that the testing procedure is inadequate.


    It shows why rival MTAs (eg: Postfix) are gaining popularity, when Sendmail could have kept absolute control of the market, merely by being the best.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:This is getting silly by volkerdi · · Score: 1

      Sendmail badly needs a severe audit.

      What do you think it's getting? These problems don't find themselves.

    2. Re:This is getting silly by gregarican · · Score: 2, Insightful
      True that about basic fundamental flaws. Reminds me of some project I had to write in college on the old DEC VAX'es. That's about the level of expertise and sophistication exhibited in sendmail.

      People bash Micro$loth because their software has an inherently insecure architecture (e.g. - unnecessary services enabled by default, services running with admin rights, etc.), not just being poorly coded. But then again there are some inherent shortcomings in older *NIX software and sendmail is just one example.

      Even the Internet as a whole. Back when the Internet was exclusively a failsafe/experimental communication backup for military installations and college campuses it was never meant to be secure in the software sense. It was secure more in terms of physical access. For example, there probably wouldn't be a compromise of an Air Force computer room if external "bad guys" couldn't get physical access into the room and room activities were strictly monitored for internal users. There was never the assumption that the general public would all share remote access to the Internet.

      That being said, it will obviously take a massive effort not just to code new software more securely, but to review, patch, or pitch legacy code such as seen in stories like this. Each generation of computer users is savvier and savvier, as most exploits are propagated by kids who toilet paper houses on the weekend. And that is a scary thought if I was Joe Head-up-my-ass PHB too cheap to update/upgrade/migrate software and still running old crap like this.

    3. Re:This is getting silly by TheAwfulTruth · · Score: 0, Troll

      This is yet more proof that Open Source != Automatically Secure. Nicely on the heels of the SSH hole too. It especially puts the lie to the "Many eyes on the code" reason given for the assumption that O.S. is more secure than closed source. In truth, no one (or as few as closed source) ever truly looks at, tests or audits any Open Source code other than maybe the kernel itself and possibly Apache. There is far too much of it out there and everyone is constantly working on the newest, latest, greatest thing. Who has time to go over everything? Who has the interest? Virtually no one. Should this be suprising? No, it should be expected.

      It's time to give up the hyperbole (In reality "Marketing Hype") and do some actual work on REAL security in the Linux world. We are easily as guilty of lax coding and testing skils as anything that we could say about Redmond. All this head-in-the-sand "Linux is secure" crap is going to bite us in the ass HARD. I hear people saying with alarming frequency that they don't need to use a firewall with Linux because they "know" that Linux is secure. It's frightening. Are these same people going to monitor and patch every single component of their OS? No, "It's secure". Saying Linux is secure is not the same thing as ensureing that it is secure.

      Time to stop talking and start doing, the "lie" cannot be propigated forever. By the time Linux becomes truly mainstream it COULD be secure if serious attention to the matter is started TODAY. Every time someone says "Linux is secure" or worse, the phrase "Linux is secure by (design|default)" it sets back the possiblility of it being TRUELY secure by another few days :(

      1) Stop claiming that Linux is immune to compromise (Even the half dishonest phrases using the words "virus" or "trojan" instead of "remote exploit". Publicly slap down any person making such a false claim.

      2) Improve the system greately, including code audit, hard testing, fixing the permissions system.

      3) PROVE than Linux is secure "By (design|default)", THEN start announcing the fact. But always realize that there is just one more exploit out there waiting to be found. Never claim that Linux is 100% anything, it's not and never will be (Nor will any OS ever be). Claiming otherwise just looks foolish.

      --
      Contrary to popular belief, coding is not all free blow-jobs and beer. Those things cost MONEY!
    4. Re:This is getting silly by thogard · · Score: 1

      I know about 10 people that routinely look over sendmail. Its has been checked and rechecked by more people than any other bit of code with the possible exception of the linux kernel. It still has problems but it has resulted in lots of examples of what not to do. Most of the race conditions that are found in other programs (and still exist it many complex programs) were 1st found in sendmail.

    5. Re:This is getting silly by mrobinso · · Score: 1

      > Sendmail could have kept absolute control of
      > the market, merely by being the best.

      That's like saying Bonnie & Clyde could have lived longer by staying the best bank robbers.

      You can make sendmail as flawless as _you_ think is achievable.

      The fact of the matter is, SMTP is a broken piece of shit. It doesn't matter what you use with it, because it's all just toilet paper.

      Mike

      --
      -- Karma whore? You betcha. --
    6. Re:This is getting silly by Anonymous Coward · · Score: 0

      Way to silence opinion that does not match the current group-think. The misuse of the rating system here is completely shameful.

    7. Re:This is getting silly by Anonymous Coward · · Score: 0

      So you were born and raised in the sheltered workshop, and you won't be leaving any time soon?

      Anyone who knows anything about mail servers knows Sendmail is a piece of shit. Why not just spread the word and tell people to use a better program?

      Who are these people who say linux is 100% secure no matter what? I haven't seen them. Are you reading some obscure script kiddie site? The only people on /. who have come close are the ones who say Linux is more secure than Windows, which is absolutely true. Windows is the most insecure buggy OS out there.

      When did Linux come into the picture anyway? The article was talking about sendmail. Plenty of other systems use sendmail too.

  83. so, the race is on. by Anonymous Coward · · Score: 0

    OpenSSH & Sendmail exploits on *nix
    vs
    RPC over HTTP on Windows NT/2k/XP

    which virus strain will make the best use of which OS's exploit? will we see another clear win by Windows (like the Code Red, MSBlaster and other well known victories) or will *nix finally have a chance (unlike that lousy display of power ... what was its name... Slammer which at its peak had fewer boxes then Code Red still holds)

    or will we see a team effert in bringing down the internet, a cross-OS virus that exploits all the wholes. Will we finnaly see 'Yellow/Blue worm' realized?

  84. Practical exploit defanging possible pre-sendmail? by mattr · · Score: 1

    Would taint-checking addresses in a CGI program cover this hole in unpatched sendmails?

    Certainly you want to patch your own machine, and get the admins you know to fix theirs. But I am thinking now about people running on a virtual hosting server which is perhaps getting most hits from Perl CGI program, and which are using sendmail only internally, for example to send email to automatically registered users. Would it be sufficient to (as usual) check length of address and remove nulls?

  85. Re:What Sendmail security problem? by Chupa · · Score: 1

    I agree....you have to keep updated pretty much no matter what...it's just a matter of frequency. Although I have to say I have not heard of any vulnerabilities in qmail, and I have been using it for about 3 years now. No one has claimed the cash prize that I know of either.

    If someone knows better, feel free to correct me.

  86. Aah! My buffer! by Anonymous Coward · · Score: 0

    I'm not supposed to get jigs in it!

  87. From the Full Disclosure - BugTraQ by korny69 · · Score: 1

    There seems to be a remotely exploitable vulnerability in Sendmail up to
    and including the latest version, 8.12.9. The problem lies in prescan()
    function, but is not related to previous issues with this code.

    The primary attack vector is an indirect invocation via parseaddr(),
    although other routes are possible. Heap or stack structures, depending
    on the calling location, can be overwritten due to the ability to go
    past end of the input buffer in strtok()-alike routines.



    As said above (and my $0.02), Sendmail has never been a big one on security. Most distros have sendmail by default configured open which is adding to the whole mess. This vulnerability will probably haunt a lot of people for a while, especially those who have no idea what Sendmail is or how to harden it.

    --

    The biggest security hole sits between the keyboard and chair.
    -Andrew McAllister

  88. I USE SENDMAIL BECAUSE I NEED UUCP by Anonymous Coward · · Score: 1, Insightful

    SO QUIT BITCHING AT ME TO SWITCH TO EXIM/QMAIL/MSEXCHANGE/WHATEVER!

    You people are almost as irritating as Christians trying to win converts!

    1. Re:I USE SENDMAIL BECAUSE I NEED UUCP by Znonymous+Coward · · Score: 1

      Postfix?

      --

      Karma: The shiznight, mostly because I am the Drizzle.

    2. Re:I USE SENDMAIL BECAUSE I NEED UUCP by arkane1234 · · Score: 1

      The last time I checked, Christianity didn't fix a security flaw :P

      --
      -- This space for lease, low setup fee, inquire within!
    3. Re:I USE SENDMAIL BECAUSE I NEED UUCP by Anonymous Coward · · Score: 0

      Reasons to use UUCP

      - simple to setup and use for clients that want their own internal mailserver and don't want an ISP to host virtual mailserver. More efficient when they send mail internally. These clients typically have dialup access to the Internet. They don't have to initiate mail send/receive - cron does it for them and it does it 24/7

      - simple to setup and use for clients that have ADSL but no static IP address. Don't have to screw around with fetchmail or other such alternatives. They have their own mailserver, don't want/need an ISP to do virtual mailserver etc. Same reasons as above

      - simple to setup and use for a client with a single PC (running windows) These clients typically don't have/want a regulat ISP type Internet account but want email.

      - it's simple and it works

      Thats why the fuck you use UUCP

      How would exim help in these situations? I'd really like to know if it would make my life easier.

  89. Re:greaaat by Anonymous Coward · · Score: 0

    You're a whiny pansy. Welcome to /.

  90. Re:greaaat by Anonymous Coward · · Score: 0

    Where is there a spelling mistake in there?

  91. Re:greaaat by NetMagi · · Score: 1

    , thanks

  92. *nix users vs. Windows proponents by kupci · · Score: 2, Insightful
    Before all the Microsoft apologists jump in and point out that any system can have vulnerabilities, and Linux users should not bash Microsoft.

    Interestingly, *nix users don't seem to howl at Slashdot for publishing every vulnerability that comes along in *nix, rather there are discussions of the best way to patch etc, whereas I've noticed that every time there is an post about the latest Windows/IE/SQL Server/?? hole, there is a deluge of postings from defensive MSFT zealots who loudly complain that the Slashdot world is picking on them. Odd.

  93. sendmail release notes... why bother? by devphil · · Score: 1


    Here, I'll sum up EVERY SINGLE RELEASE for you:

    8.x.x/8.x.x 200y/mm/dd
    We still have the most flexible configuration file of any product on the entire planet except for Human DNA v1.0.3 by God, Inc.

    Our security still sucks ass.
    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  94. Whoa horsey! by Anonymous Coward · · Score: 0

    More testing, auditing, evolving safer practices, and security avoidance? Easy Boy!

    This is sendmail we're talking about, which has more exploitable holes than a parade of hookers. So that leaves you with yesterday's openssh event as significant.

  95. Damn you Zalewski by Anonymous Coward · · Score: 0

    Could you at least give a few of the vendors a few days to release fixed packages/rpms/ports etc? I know that isn't all cool with bugtraq and the other full disclosure lists, but we're talking about fucking *sendmail* here, that comes default installed on my fucking linux toaster-oven and everyone else's machine for that matter. Give the people who actually care about security a day or two to patch up and prepare for the worst. Now it's a fucking arms race that ultimately the script kiddie will win while we wait for our vendor to issue an official patch. (What, apply our own unofficial patch? Yeah, let me clear that with my anal boss and fill out some paperwork in triplicate and hope nothing fucks up and puts my ass on the line without someone else to blame. CYA baby).

  96. OMG i am so sick of this! by Pvt_Waldo · · Score: 1

    When is Micro$haft going to stop releasing crappy stuff that makes us have to patch our copy of...

    linux

    Oh.

    Never mind :^)

    j/k

  97. Yes, there is an auto-update by Anonymous Coward · · Score: 0

    The FreeBSD version of Linux has a auto-updater.

    su - root
    cd /usr/src
    make update
    (You now have the fixes)
    make buildworld
    make buildkernel
    (You have made the fixes)
    mergemaster
    make installworld
    make installkernel

    Now reboot, just like in windows and you have the latest patched Linux system.

  98. Damn Microsoft by Anonymous Coward · · Score: 0

    When is Microsoft going to start creating secure software? I mean I'm personally tired of all these security flaws. It has gotten to the point where there isn't any room left in Microsoft products. Now the bugs and flaws are leaving Redmond and starting to take up residence in ssh and Sendmail.

    When will it all end?

  99. Retribution by Eric+Ass+Raymond · · Score: 1
    And why is no-one crying for the spilling of the blood of the sendmail maintainers? If this had been a Microsoft bug, you'd be climbing the walls but no - of course, if it's free, you've just got to swallow all this.

    Yet, a year after year sendmail remains the buggiest open source code ever produced and - to make matters even worse - it is used in the very backbone of the internet.

    1. Re:Retribution by Sabalon · · Score: 1

      Fix a potential buffer overflow in ruleset parsing. This problem
      is not exploitable in the default sendmail configuration;
      only if non-standard rulesets recipient (2), final (4), or
      mailer-specific envelope recipients rulesets are used then
      a problem may occur. Problem noted by Timo Sirainen


      If it had been a MS bug, then almost every computer on the net would be vulnerable to it thus causing a helluva lot more unneeded worm traffic.

      Because we know a sendmail worm couldn't kill the net...well...uh...okay...that was a long time ago :)

    2. Re:Retribution by Eric+Ass+Raymond · · Score: 1
      If it had been a MS bug, then almost every computer on the net would be vulnerable

      So just because an operating system is popular, you think it should be excused for the "unneeded worm traffic"?

      In other words, the number of exploits should not be normalized to the number of adopted systems?

    3. Re:Retribution by LWATCDR · · Score: 1

      Umm this bug will only work on a small number of mail servers. If you look at say the Blaster worm it could happen to any windows XP/2000 system. Not really the same thing at all.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    4. Re:Retribution by Assembler · · Score: 1
      And why is no-one crying for the spilling of the blood of the sendmail maintainers?

      What are you talking about? Did you miss all the posts about how everyone should be switching to qmail or postfix? I know you didn't, cause the very first words to appear in a comment are "Use qmail"

      Sounds like you're just a free software hater

    5. Re:Retribution by silicon+not+in+the+v · · Score: 0

      Why thank you for pointing out to this M$-bashing community that the anger over a code bug should be the same for open source software as for M$ product.

      --
      We may experience some slight turbulence and then...explode. -Capt. Mal Reynolds
    6. Re:Retribution by Anonymous Coward · · Score: 0

      So you were born and raised in the sheltered workshop, and you won't be leaving any time soon?

      Oh yeah. All those people making jokes about sendmail and telling everyone to switch are really secretly praising it. They're using a special stenography protocol created by the Open Source Cabal. You would be funny if there weren't so many people as stupid as you.

  100. so by minus_273 · · Score: 1

    what else is new...

    lasjkdf;lkasjdfl;kjasl;dfjkasl;jkfl;askjdflk;asjdf jkasl;kdjf;laskjdfl;k ....
    Damn slashdot and 20secs.

    --
    The war with islam is a war on the beast
    The war on terror is a war for peace
  101. Similar, but not identical by autechre · · Score: 1

    For example, the ones for Linux actually work. I have never heard complaints about APT or up2date where updates were reported to be installed but were not installed, or vice-versa. There have been quite a few reports lately of this happening with Windows Update.

    To be fair, Debian has (once, AFAIK) released a security patch with an error in it; an update to man caused a glitch in a nightly cron job. But this is far less serious than some of the flaws in the history of Windows updates.

    For update notification with Debian, I rely on their email security announcements. You can subscribe to their list, and they also post the announcements to BUGTRAQ. There is probably a cute, glowy applet like Red Hat has for up2date available somewhere, but most of my servers don't run X.

    Also, you can look at the number of security announcements for a Linux distribution and say that it's "ridiculous", but you have to take into account that you probably don't have most of those packages installed, and that distributions like Debian issue security updates for several thousand packages, not several.

    --
    WMBC freeform/independent online radio.
  102. Exploit already known half a year ago?! by Anonymous Coward · · Score: 1, Informative

    There is a patch for the "prescan" bug in:

    http://ftp.pg.gda.pl/pub/software/sendmail/

    Isn't it the same as this bug? BUT LOOK AT THE DATE! It was written in march. Has this bug been known for half a year?

  103. Re:Jack Tripper by Anonymous Coward · · Score: 0

    ummm... because that means you're the overlord?

  104. Re:What Sendmail security problem? by jwbozzy · · Score: 1

    That version of postfix that you reference isn't even current. It's a full MAJOR release behind. Consider that before you bash it.

    --
    perl -e 'printf("mmm %x\n", 3735928559)'
  105. Tinfoil hats for sale! by Bohiti · · Score: 0, Flamebait

    I hate to suggest this (well, not really), but sometimes, the timing is too weird. A couple weeks after Microsoft starts taking a heavy bashing from security holes, the *n*x OS's get some exploits.

    Anyone think its possible that Microsoft hired a few "consultants" to work full time looking for exploits in competing OS's? Regardless of the severity/exploitability of any exploits found, they make powerful bullets in the Microsoft PR gun.

    1. Re:Tinfoil hats for sale! by Anonymous Coward · · Score: 0

      As one of the consultants in question, I also find it regrettable we were not paid by Microsoft.

  106. you know me, I can't complain. by Anonymous Coward · · Score: 0

    I've got a remotely exploitable hole, man. Fuckin' A, I've got a remotely exploitable hole.

  107. MOD PARENT TOPWISE. TOPWIIISE! by Anonymous Coward · · Score: 0

    MOD PARENT TOPWISE. TOPWIIISE!

    Slashdot requires you to wait 2 minutes between each successful posting of a comment to allow everyone a fair chance at posting a comment.

    It's been 1 minute since you last successfully posted a comment

    Chances are, you're behind a firewall or proxy, or clicked the Back button to accidentally reuse a form. Please try again. If the problem persists, and all other options have been tried, contact the site administrator.

  108. I think this is fabulous! by Anonymous Coward · · Score: 0

    because Linux will just get better and better without ever being compromised by one of these exploits. At the same time, M$, with their policy of NEVER fixing a vulnerability until it IS exploited, does nothing but continue to drive people to Linux.

  109. Re:*cough* (OT) by Anonymous Coward · · Score: 0
    Be incomprehensible. If they can't understand you, they can't disagree with you.

    I don't know what the fuck you're trying to say here, but it's clearly wrong.

    (Or should that be: I don't know what you think you're talking about, but the gostak distims the doshes.)

  110. Count on it... by johnwyles · · Score: 1

    Shower, Coffee, Slashdot, Sendmail bugs... some things we can rely on daily...

    --
    [[ the only 15 letter word that is spelled without repeating a letter is uncopyrightable: it may soon be, however. ]]
  111. Actually there is a BIND9 pathc today... by Anonymous Coward · · Score: 0

    Ok, so I am an idiot.

  112. Why are we still allowing coding mistakes? by 00RUSS · · Score: 1

    To me writing a codeing mistake is bad, but haveing it found after its been published is unspeakable. Take time, check your code. Some tools autofind bufferoverflow problems. why isnt anyone using these, why isnt anyoing pointing out this fact, why is it that linux gets hacked more then microsoft? think about this before you reply, I hate micro$oft, but I really hate people talking trash about their code while their own code is being exploited. Im not talking about just sendmail, apache, ssh, and more then I can count have the same problem.

    --
    +-+-+-The folowing statement is true. The previous statement is false.-+-+-+
  113. Not a troll... by Abcd1234 · · Score: 1

    He is, unfortunately, absolutely right. MS doesn't believe in full disclosure... something which is incredibly common in the commercial world. As a result, it is quite possible for an MS security bug to exist, possibly with an exploit, and for the public to find out only because someone other than Microsoft finally reports it.

    1. Re:Not a troll... by Anonymous Coward · · Score: 0

      Possible.... Though it has never happened. So far virtually every single problem as been weeks or months AFTER a fix was available and announced.

      Theoritical possibilities rarely match up with reality. In this case, not at all.

    2. Re:Not a troll... by _Sprocket_ · · Score: 1

      Bull. There are indeed cases where vulnerabilities and exploit code are held from public disclosure during the "responsible disclosure" process. Many of the more current announcements out of Microsoft fall under this process.

      It might also be interesting to note that in the current environment, certain groups (usually large corps and gov't bodies) get announcements well in advance of the public. And there has been a couple cases when public disclosure of a vulnerability was sped up by a leak of the semi-private announcement.

      Then there are times when disclosure of a vulnerability comes on the heals of a known exploit "in the wild".

      Sure - the big worms tend to take advantage of vulnerabilities well after they become publicly known; weeks, if not months after the fact.

      But worms are not the only "problem" code to be found.

  114. Re:greaaat by Anonymous Coward · · Score: 0

    I have a job and rarely do things as worthwhile as find security holes in ssh and sendmail.

  115. Irony is Easy! by hndrcks · · Score: 1

    Isn't it Ironic?

    Like when there 1000 websites with Sendmail patches and all you really wanted was a Postfix install disc.

    (with absolutely NO fsking apologies to Ms Morisette)

    --
    Everyone will start to cheer when you put on your sailin' shoes.
  116. Karma by heironymouscoward · · Score: 1

    you seem to have done pretty good anyways.

    Of course, there is little point posting a comment that does not interest and intrigue.

    --
    Ceci n'est pas une signature
  117. Why support MS and get spam? by msimm · · Score: 4, Interesting

    Instead of use bluebottle.com? They have free 10 meg accounts without MS bs or advertising and use a TMDA like system for anti-spam verification. I'll never understand why technical people would use a hotmail account (bluebottle *will* also check your hotmail account for you).

    --
    Quack, quack.
    1. Re:Why support MS and get spam? by rworne · · Score: 1

      I use it because I have had this account since before Hotmail was purchased by Microsoft. It's also easy to hand out to those who want my e-mail and it's an easy to remember domain.

      --
      I tried every decent and legal way I could think of to resolve the issue w/the business before I rented the chicken suit
    2. Re:Why support MS and get spam? by msimm · · Score: 1

      Like I mentioned in the parent post bluebottle supports hotmail accounts so you can transition into a new account while still checking your old account (from within bluebottle). This of course adds the benifit of the TMDA (like) support to your existing hotmail account as well.

      Squirrelmail has a plugin that does this too (for running on your own server) as well as support for other existing pop accounts (I think bluebottle does too, but its based on Horde not Squirrelmail)

      --
      Quack, quack.
    3. Re:Why support MS and get spam? by cygnusx · · Score: 1

      Several technical people I know would in fact not use bluebottle BECAUSE it uses TMDA.

      TMDA is an intarweb-ish hack (and by that I mean it assumes that all email is sent by sentient beings to sentient beings). It stitches on a consent mechanism onto a protocol that is was not designed for that.

      If you are worried about spam, there are many more ways of battling it (_and_ complying with the spirit of the RFCs) than TMDA: these include RBLs, bayesian scans at the MTA and at the MUA.

      TMDA is no better fundamentally than Verisign's brain-dead act of not sending a NXDOMAIN for nonexistent addresses just so that users can see a freaking *search page*. If hotmail, or yahoo, or any other large email provider switched to TMDA tomorrow, I would expect their userbase to drop in droves.

    4. Re:Why support MS and get spam? by Anonymous Coward · · Score: 0

      Can I protect my Hotmail account?

      Bluebottle is the only service that can effectively protect a Hotmail user from spam. All Bluebottle needs is your email address and password in order to protect your Hotmail account.

      Now, I can also protect you from spam...and a lot more ;-)

      Do you give the keys of your house to the security guard ?

  118. It's not exploitable (yet) by deadcasuals · · Score: 1

    From the Debian security advisory (earlier today):

    two more buffer handling problems have been found in addition to the one described in DSA-382-1. It is not known if these bugs are exploitable, but as a precaution an upgrade is advised.

    They're just fixing more buffer problems that came up after the first one was addressed yesterday.

  119. Sendmail is a joke by retro128 · · Score: 1, Redundant

    The first thing I do when I install a Linux distro is wipe out sendmail. Running it is simply asking to be broken into. It is old, full of holes, and far past its prime. Why people still run it, I do not know...but it's probably for the same reason they still run BIND.

    The alternatives I prefer to these veritable blocks of swiss cheese are qmail and djbdns (tinydns)

    --
    -R
    1. Re:Sendmail is a joke by Anonymous Coward · · Score: 0

      Why people still run it, I do not know...but it's probably for the same reason they still run BIND.

      Or maybe for the same reason everyone else still runs OpenSSH.

  120. revolutionary concept by Anonymous Coward · · Score: 0



    if(cnt > maxlen) break;

  121. Can you read? by Anonymous Coward · · Score: 0

    Yeah, check the MD5 checksums of trojaned code to make sure nobody else tampered with it. That helps alot. The point is if you are downloading software from flyingbuttmonkeys, you are a moron.

    1. Re:Can you read? by ComputerSlicer23 · · Score: 2, Informative
      Uhhh, check the MD5SUM off the original site (Downloading the MD5SUM off the original site, is less load, off the mirror if they have it)? Off the BugTraq list? Off any number of sites. You check the signature of the MD5SUM is from someone you *TRUST*, like the original author, like a security expert on a mailing list, like your distributor. Maybe possibly that's who you would check the signature from? If you go to the trouble of mirroring the original patch, you should grab the *signed* copy of the MD5SUM from the original author (Lots of authors sign their MD5SUM's, the tarballs and patches are all have a signature file on kernel.org for instance). That's how I check all of my ISO's I download, even when it is from the original site. RedHat publically lists them, I just grab the MD5SUM list from them, and I check the signature of the MD5SUM file.

      You should do that no matter who you download it from, even from the original site, not that long ago the OpenBSD sites, and the GNU sites we're compromised. So just assuming they had good source, wasn't safe. Then at least you know that whoever wrote the patch, also has the private key of whoever signed it (which hopefully is the person whom you trust). If you are a good little author, you sign with a private key on a machine that you sneaker net the source code to, sign there, then sneaker net it back to the public network (or you just drag the MD5SUM there, instead of the original source). At no point, would you ever put the private key on a machine that has ever been connected to the internet (then you just have to physically secure the machine). It's much, much safer that way. Then nobody can get your key except by crytoanalysis, which needs the force of a major gov't behind it to break 4096 PGP encryption last time I checked.

      Honest, I'm not as stupid as you think I am.

      Kirby

  122. patch applies to old versions of sendmail by named · · Score: 2, Informative

    In case anyone is forced (by legacy apps & shit) to be running old versions of sendmail, the patch supplied applies nicely to version 8.9.x of sendmail. It even continues to work after it's patched.

    Not like anyone is going to find this comment so late in the discussion, but...

    1. Re:patch applies to old versions of sendmail by Anonymous Coward · · Score: 0

      Thanks, man... I did find it... I'm still using 8.9.1 until my new servers (currently running 8.12.9 ;) are ready...

      Pretty glad to know I'll be able to patch...

  123. Perpetual newpaper by perp · · Score: 2, Funny

    There was a Dilbert strip where Dogbert tried to sell Dilbert a "perpetual newspaper"; only a thousand dollars and you'll never need to buy another newspaper!

    The headlines were like "Pope Denounces Violence" and "Real Estate Values Rise" and "Unrest in the Middle East". I think that "Buffer Overflow Found in Sendmail" would have been a worthy addition to the Tech Pages.

    --
    There are two kinds of sysadmins: paranoids and losers. I'm both kinds.
  124. where it started by atomkraft · · Score: 1

    Smashing the stack, for fun and profit http://www.insecure.org/stf/smashstack.txt

  125. Mandatory PA-link by Penguin · · Score: 1
    --
    - Peter Brodersen; professional nerd
  126. Be honest. by Anonymous Coward · · Score: 0

    Has postfix been better security wise? Last exploit in postfix was what, 2 weeks ago? I hate to break it to you, but upgrading to an arguably slightly less secure MTA is pointless. Either way you have to apply the odd patch here and there, what's the difference?

    Qmail at least gives a legitimate reason to upgrade, but alot of people need more than the bare minimum smtp support, so its not a reasonable option. Still other people have this weird notion of supporting free software, again making djbware useless.

    Get over yourself, sendmail is not that bad, and alot of people use it on purpose, knowing full well about qmail, postfix, exim, courier, etc.

  127. Re:*cough*OpenSSH*cough* by Anonymous Coward · · Score: 0

    Well, I don't use sendmail. I use postfix.

    Do you use OpenSSH?

    Hmm, two remotely-exploitable holes in as many days. Are you as quick to ditch OpenSSH as you are to ditch Sendmail?

  128. Damn Sun ! by Anonymous Coward · · Score: 0

    I had to kill off my SSH servers yesterday waiting for the Sun patch....

    And now BAM ! Sendmail exploit and I can't ssh to my goddam servers to shut it off...

    I'm fscked, hope no one notices my servers...

    Could anyone tell me if it's easy to migrate to postfix from a fairly complex sendmail.cf ?

    1. Re:Damn Sun ! by schon · · Score: 1

      I had to kill off my SSH servers yesterday waiting for the Sun patch....

      And now BAM ! Sendmail exploit and I can't ssh to my goddam servers to shut it off..


      If you're so concerned with it, why don't use use the sendmail hole to get root access? :o)

  129. Re:anyone who still uses sendmail is fucking stupi by Anonymous Coward · · Score: 0

    That guy Theo deRaadt purposely puts bugs in his code so he can write exploits and crack into machines. He's been doing it since the late 90's. We cracked his box years ago and found an unpublished exploit THAT HE WROTE for the current version of OpenSSH sitting in his home directory. Coincidence?

  130. OMFG! by xmutex · · Score: 1

    I cannot believe Microsoft has another security hole! The open source community would never---

    oh, fuck.

    --

    jack's bicycle is music to my ears
  131. qmail install HOWTO and RPMs by getnuked · · Score: 3, Informative

    Here is a HOWTO and a tarball containing all of the files necessary to replace sendmail with qmail on an RPM based system.

  132. Sendmail 5th on the list by twoslice · · Score: 2
    Buffer Overflows in Sendmail rank 5th on this list.

    Vulnerability list

    --

    From excellent karma to terible karma with a single +5 funny post...
  133. There are *TWO* bugs by V.+Mole · · Score: 4, Informative

    Actuall, more than two: the changelog includes several fixes. Right above the fix you quote, there's one that *is* exploitable, which is why they've gone ahead and released it:

    8.12.10/8.12.10 2003/09/24
    SECURITY: Fix a buffer overflow in address parsing. Problem
    detected by Michal Zalewski, patch from Todd C. Miller
    of Courtesan Consulting.

    The fact it's separate bugs is clear from the indention in the original (Fscking /. doesn't support PRE)

    1. Re:There are *TWO* bugs by raffe · · Score: 1

      Hmmm, arent these guys openbsd folks?

  134. Blah blah blah by mmuskratt · · Score: 1

    I've posted several times that all OS's have vulnerabilities, but now I'm done. Anyone who posts to /. about M$ vulnerabilities vs. *nix vulnerabilities are just listening to themselves mumble some platform bigotry crap. Who gives a shit what I think? Who gives a shit what you think? This exploit is being released as a service to the community, and bitching about it in a post is a flaccid, pointless exercise in listening to ourselves talk. That said, I'm going to go clean out some spam from my yahoo account. Big deal...Microsoft sucks...Linux users are pompous, nobody gives a shit what you think...just patch your farging server and shut up.

    --
    man rtfm
  135. BlueBottle not accepting new accounts by Dan+East · · Score: 1

    The signup page at BlueBottle currently reads:

    New account sign-ups have been temporarily disabled - For
    further information, please contact support@bluebottle.com.


    Dan East

    --
    Better known as 318230.
    1. Re:BlueBottle not accepting new accounts by msimm · · Score: 1

      The biggest problem with them (IMHO) is that they *are* free (their primary market is corporate and they use the personal email as a sort of word-of-mouth advertising). They have been expanding to keep up, but from time to time they will disable sign-ups as they add capacity to their system.

      --
      Quack, quack.
  136. But have you used it? by msimm · · Score: 1

    Comparing it to (sorry, should have included a TMDA link for those not familiar with it) filtering and RBL's is not fair because unlike the latter two, it does *exactly* what its supposed to. I'll admit its a hack, but for the time being it is the best hack out there.

    The reason I suspect you haven't used it is because you mention one of the same concerns I've had about it, mainly automated responses. Bluebottle's answer to this is in the form of a 'pending' list (which you can 'OK' emails from) and the ability to manually add specific email addresses or even whole domains.

    Its really a pretty good system. I think almost everyone is clear now that RBL's are a potential nightmare and filtering only creates a new list of email to cull through (looking for mislabled email).

    --
    Quack, quack.
  137. OT: Cathrine Bell vs. Monica Bellucci by autopr0n · · Score: 1

    Please, Cathrine Bell has too much hair and obviously fake boobs.

    --
    autopr0n is like, down and stuff.
  138. Yes, you are just as stupid as I think you are. by Anonymous Coward · · Score: 0

    THERE IS NO TRUSTED MD5 SUM. Are you retarded? Go read what he said. He compiled the RPMs himself, who the fuck is the trusted party that you are going to check your MD5 sums against?

    1. Re:Yes, you are just as stupid as I think you are. by ComputerSlicer23 · · Score: 1
      No, I wouldn't download the binaries from some third party who compiled them. No I wouldn't run them. No I wouldn't download them. However, if they claimed that the RPM was from the original party, and they had the MD5SUM's, or it had the signature from someone I trust. Say by using"

      rpm --import "/path/to/ascii/armored/PGP/key"

      I'm not sure how long the --import has been around. I believe it's relatively new. Prior to that the key had to be in your PGP keyring.

      Then do this: rpm --checksig "/path/to/untrusted/rpm"

      That will tell you if the files match the MD5SUM, and if it is signed by someone you trust.

      Now, you are either not reading what I'm saying, or you are not understanding it. You are dogmatically saying, there is no such thing as a trusted MD5SUM. Okay, I'll repeat that back to you, so you can be sure I understand it:

      It is a fact that an MD5SUM only says that the file has not been tampered with since whoever put the file and MD5SUM file there. It does *NOT* authenticate who put the MD5SUM, or there the original file.

      However, please examine this file.

      http://ftp.redhat.com/pub/redhat/linux/9/en/iso/i3 86/MD5SUM

      See that, it is a list of MD5SUM's. It has something called a PGP signature. First, I have to check that authenticity of that file by using PGP or GPG. You can get the public key, either by requesting it from the pgp.mit.edu server, by downloading it from RedHat and checking the fingerprint of it off the website which is SSL encrypted, or finally, you can look for it in /usr/share/rhn/RPM-GPG-KEY. If you have older media from RedHat that you trust, it is also in the root directory of every CD they have made since at least 7.0. Then I can download the ISO image from any server on the planet. Including the one run by some crazy hacker with elite skills. I can run MD5SUM, and verify that the ISO image is that RedHat verified.

      I can download the patch from anywhere I want, as long as I have a signed MD5SUM file. I can verify it's authenticity. I can be absolutely sure no matter where I download it from, that it is with very high certainty the file the RedHat released.

      I haven't actually looked at the original OpenSSH patch, so there might not be an MD5SUM I trust out there. However, lots of places include signatures for example see this:

      http://www.kernel.org/pub/linux/kernel/v2.6/linux- 2.6.0-test1.tar.sign

      It is a signature of the tar ball for the 2.6.0-test1 kernel. I can download the tarball from absolutely anywhere, and be sure I have the right one by checking the signature. Most people don't sign tarballs, because it is computationaly expensive, so instead they sign MD5SUM's which is relatively cheap computationally speaking.

      Okay, fine, I'll go hunt down the original MD5SUM from the openssh site, oops, turns out it is at the OpenBSD site.

      ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh- 3.7.1.tgz.md5

      There is URL for the MD5SUM. Given where it is at, and the nature of the fix, I'd probably trust that the MD5SUM is authentic (I can read the fix and see what it is doing given the public explaination of the exploit). I don't have to get the MD5SUM and the actually data from the same location. In the case of a kernel download, or especially a RedHat download, I only get the MD5SUM from RedHat (it's only a couple of K at most), I get the actual ISO's from someplace else that is faster.

      I'm beginning to suspect you are either very dense, or you are just trolling me now. It's been fun, I'll explain it in excruciating detail to you if you really need me to. Hopefully this is enough detail for you to see that, you can download the bits for the patch from anywhere, you only have to get the MD5SUM file from a place you trust to be authentic, or have it signed in such a way that you trust it's authenticity.

      I still say I'm not as stupid as you think I am.

      Kirby

  139. Sendmail's first worm was 15 years ago by billstewart · · Score: 1
    As somebody else pointed out, the Unix Hater's Handbook (which is really more the sendmail and vi and emacs hater's handbook) credits sendmail with providing convenient root access since 1983, which is now 20 years ago. The Morris Worm in 1988 used exploits in Sendmail and Fingerd to spread itself around, and was the first massive, Internet-slowing worm, though it wasn't computer-destroying or power-grid-disrupting. Of course, "massive" back then meant that of the 60,000 machines on the Internet, it was guessed that 10% of them got infected.

    Back in ~1985, Bell Labs had the UPAS mailer in V8, which became the System V mailer, which had a regular-expression-based simple scripting language and didn't run as root, so it was not only much simpler and cleaner to configure (seldom more than a dozen lines of config, and fewer if you didn't need UUCP), and wasn't a big gaping security hole. There was also smail in 1985. Unlike sendmail, the UPAS configuration file language wasn't something you could turn into a Turing Machine, but this isn't a *bad* problem :-)

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  140. Changed in 1988, also wasn't true before that by billstewart · · Score: 1
    People certainly *did* worry about security back when sendmail was written. Much of that worry happened over on the UUCP side, which was also a mess before Honey Danber.

    If it's not obvious, ARPA folks and defense contractors often care a *lot* about security (and Sendmail started before DNS did, so they ARPAnet wasn't .mil :-) If security was lax, it was because we were making more progress developing new technology and trying to keep it stable, but how to make things like TCP/IP secure was cutting-edge research back then, and we've learned a lot since. And remember Multics? Things were more relaxed over on the University side, though.

    However, in 1988, the Internet got a big wakeup with the Morris worm. Sendmail and Fingerd were the two main culprits (both with buffer overflow bugs being exploited.) Finger was nice, but wasn't important enough for people to keep it given the security risk, so it disappeared rapidly, but sendmail was too entrenched already, and kept getting patched and bandaided. It's also gotten a few rewrites over the years, but having a buffer overflow bug left after all this time is simply inexcusable.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  141. Sendmail.cf interpreters are wrong by billstewart · · Score: 1
    Sendmail.cf can be used to write Turing machines. Interpreting it isn't the best approach....

    For probably 95-99% of the users, though they don't have anything interesting in their sendmail.cf files except some anti-spammer configs they've added in the last few years (DNSBL checkers, etc.) Otherwise, it's a pretty straightforward set of features, defining what domain names they're accepting mail for and where the username database lives (e.g. if it's on LDAP instead of /etc/passwd.) The way you replace that isn't to build an interpreter, it's to write a native script for your new mailer.

    The main people who are likely to be doing sophisticated things with sendmail.cf are really big mail shops (who are bright enough to do new scripts assuming they documented the sendmail.cf adequately) and people using it to front-end MS Exchange to defend it from whatever brain-damaged problems they were having. The latter group either get sympathy (poor bastards) or admiration (wow! 6-12 month contract extension!), or both.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  142. It's PINEing for the Fjords. by billstewart · · Score: 1

    But Eric\\\\Marvin, how did you get here to the Restaurant at the End of the Unibus?

    I waited....
    The first ten million bugs were the worst. The next ten million bugs were the worst too. After that it went into a bit of a decline.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  143. Good... by Eric+Damron · · Score: 1

    A bug announcment for send mail. This product has had about a gazillion bugs found in it...

    It's been so long since I saw a bug anouncment for this product that I though the project was dead. Good to see there are still people hard at work on it.

    --
    The race isn't always to the swift... but that's the way to bet!
  144. Insecure by design. by Ungrounded+Lightning · · Score: 1

    I'm not sure that "insecure by design" is quite fair to the hard-working folks who developed this near-ubiquitous MTA.

    Actually, it was.

    When Eric Allman first wrote it, it was to be installed on some large number of machines at UCB. And of course as a work in progress it needed a bunch of tweaking. So for his own convenience he included a "wizard mode" backdoor to give himself a remote root exploit on the machines in question. When you're publishing the source (so readers can discover the backdoor) you really can't get more "insecure by design" than that. B-)

    Unfortunately, the code got cloned into general use with the wizard mode backdoor still in place. B-( So that was one of the first exploits to get patched out.

    = = = =

    But all kidding aside...

    The original code was written back in the dark ages, when buffer overflows were a "bug" rather than a "security hole". Buffer overflow exploits were almost unheard of and a wizard-level stunt, rather than a newspaper topic and a script-kiddie classic. With gets(3S) in the standard library and heavily used, it's hardly surprising that sendmail had a bunch of buffer-overflow vulnerabilities, and one of 'em has escaped detection until now.

    Sendmail was a very important piece of work. And its continued large market share today (despite arguably more secure, cleaner, and easier-to-use replacements) is a testimony to its utility and its author's contribution to the net.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  145. Someone PLEASE Mod Parent DOWN! by ediron2 · · Score: 0, Troll
    Who the hell is moddin' this guy up? Man, where do I start?
    It shows why rival MTAs (eg: Postfix) are gaining popularity, when Sendmail could have kept absolute control of the market, merely by being the best.
    Sendmail could never ever ever have kept absolute control of the market merely by being the best. Anyone who has administered it pretty much wasn't able to moderate you back to trollsville for this remark because they fell off their chair choking or laughing at this point. Or, like me, they didn't have mod points today.

    Sendmail is incredibly:

    • powerful
    • arcane
    • complicated.

    By comparison, the others are a walk in the park. But they won't handle all the legacy or rewriting capability sometimes needed in large-sphere enterprise email. And many don't scale for shit. Exim for my laptop or home net, exchange for small turnkey shops, and know enough sendmail to survive...

    One of my favorite early usenet sigs went along the line of "Sendmail Administration is not black magic-- there are legitimate technical reasons why it requires the sacrificing of a live chicken." (I've googled for 5 mins and can't find exact quote or origin... .anyone?)

    Next, did you check the narrowness of this bug? It's a problem in a fairly uncommon non-default sendmail configuration only:

    Fixes a potential buffer overflow in ruleset parsing. This problem is not exploitable in the default sendmail configuration; only if non-standard rulesets recipient (2), final (4), or mailer-specific envelope recipients rulesets are used then a problem may occur. Problem noted by Timo Sirainen.
    But, it was found and promptly fixed. Slow news day or obscurity is the only reason it got posted here.

    Sendmail, arcane as it is, is the big bad voodoo daddy of mail. I use it, I fear it, and I deeply respect the sendmail development team. Feel free to check my posting history and you'll see I've never wasted keystrokes like this before. Fact is, you've just accomplished a mod-4 troll and I'd say bravo if it wasn't against this particular target.

    Now, on to StupidTrollTalkIndicators (to train the untrainable slashdot moderation mindset):

    • comparing sendmail to hotmail (one's a web app, if that helps you be a bit clueful).
    • ...getting paid to check for this stuff... yeah, that happens on a shoestring quasi-commercial basis: The boss has a money tree he uses to fund a team of fifteen to dig for bugs.
    • assuming that the bug is old. Sendmail adds about 40 minor tweaks and patches, expands for new circumstances and contracts when optimizations are found... and you think sendmail has always had this obscure little bug? Or that no new bugs are introduced when code is edited?
    • Ripping on sendmail for them being buggy and quasi-commercial. WTFDYGO having that high horse?! Name a commercial package that is 10% as complicated as parsing all sixty bizillion mail methodologies in use. Now show it is bugfree. You can't and won't.

    Ediron's Law: Good engineers make modules, not suites. Microsoft's greatest liability is omnibus code. I dislike that more than antitrust tactics. They refuse to modularize and we're screwed as a result. Sendmail, alas, isn't very modularizable: it still accepts goop from a mainframe that resorts to %-escaping to allow passthru to a legitimate mail relay, because that used to be (and may still be) needed somewhere.

    Troll troll troll troll troll. Even a 4-digit id. Sigh... Rob/Taco/etc, gimme the ability to spend my subscription money on mod points for numb-nutz responses like this and other techno-sounding wrongness. I'll start spending like mad! --

  146. Looks like you predicted your own mod score... by kylef · · Score: 1
    6) Any comment that defends anything that has even the slightest connection to Microsoft whatsoever, regardless of its interest, factual correctness, or insightfulness, is obviously just astroturfing from a member of the Evil Empire and, as such, should be instantly modded down as either "flamebait" or "troll".

    ...seeing as how you've been modded down to "Flamebait".

    Personally, I thought most of your points were spot-on... I just got done reading a post that basically said, "MS code is clearly buggier than Open Source code." The sad thing is, many people will read that statement and NOT realize how fallacious or unprovable it really is...

    On a semi-related note, I just previewed my comment, and the date on the preview says "31 December 1969." Is that normal?

  147. Yh..... fffsdfksjkldll.... WHAT? by pr0ntab · · Score: 3, Interesting

    What are you talking about? Can you name a single network operating system since the late 80s that doesn't use virtual memory with 32-bit or larger pointers?!

    Who modded this up?

    There is no way in hell you'll cause a pointer to wrap around and come back up since if you write to the page mmaped at 0 on essentially every OS out there you get a page fault (and the OS kills the program, Null pointer exception). And before that you walk all over the pages that are between the break and stack, unallocated, or maybe all over the read-only shared libs, and they all will cause page faults and SIGSEGV your ass into next Tuesday.

    Here's krog. Krog allocate automatic variable on stack. Stack grow downward. Data fills from lower to upper address (opposite stack growingness). Krog no check length of input. Krog overwrite stack not belonging to his stack frame (previous call). Ooomba, clever hacker, he know offset to return address in leaky function. OOmba, he sendum nasty input Krog no check length on that overwrite return address. When function return, it jump back into buffer instead of last function. Buffer gottem nasty root shell code, not data.

    Krog sad.

    Ooomba does happy dance.

    Yes. Check your inputs.

    YES DONT ASSUME YOU KNOW ANYTHING ABOUT HOW LARGE A BUFFER IS

    YES, FOR GODS SAKE PEOPLE, NEVER ALLOCATE BUFFERS AS AUTOMATIC VARIABLES ON THE STACK!!! ARE YOU INSANE!!!!!!!!>?>>>>>>>

    --
    Fuck Beta. Fuck Dice
  148. Re:Business Opportunity by beakburke · · Score: 1

    umm, there are lots of setting options for the .mc file at sendmail.org

    --
    ----- Question authority, but not ours. Hate the man, but we're not him.
  149. Static vs. dynamic strings by achurch · · Score: 1

    Dynamic strings are fine--until you run out of memory.

    Whether static or dynamic, there is, eventually, a limit you'll run into, and if you don't code with that limit in mind then, eventually, you'll be screwed. In some cases, static allocation can be better because you know ahead of time what the limit is.

    Either way, it's a matter of knowing the tools you use. I use the standard C string functions (albeit with some of my own additions), and I'll put my skills up against dynamic string library users any day.

    (That said, I hope eventually to be able to use a better language altogether, but I'm still looking for one that doesn't assume top-of-the-line hardware (*cough*Perl*cough*Python*cough*Java*cough*)...

    1. Re:Static vs. dynamic strings by Nevyn · · Score: 1
      Dynamic strings are fine--until you run out of memory.

      Whether static or dynamic, there is, eventually, a limit you'll run into, and if you don't code with that limit in mind then, eventually, you'll be screwed. In some cases, static allocation can be better because you know ahead of time what the limit is.

      I'm guessing you didn't read my links, so let me spell it out...

      It's none trivial to run out of memory, and even if you do it's "only" a DOS attack.

      As I said before, there are a lot of mistakes that you can do using a limited string API alloc which can be much worse that a DOS atttack (buffer overflows, privilage escalation, information leakage).

      You almost always need to use more memory when using a limited string API than when using a dynamic string API, as you need to allocate the maximum amount of space (see this article I wrote in comp.lang.c).

      As well as more memory, you often need more CPU because you have to do more copies of the data (esp. given that more than a few dynamic string APIs let you share data between strings).

      Sometimes you don't know the maximum amount needed, and so if you are using a limited string API then you'll now have to use two sets of string APIs.

      Of course there's also the real life test, assuming you leave out the C library with extentions model that apache, squid, openssh, sendmail, nfs, etc. have all tried to use (and all had buffer overflows with) the only one daemon I can think of using a limited string API is samba ... and supprise, supprise that's had buffer overflows too. So can you name one application that uses a limited string API and hasn't had a buffer overflow

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
  150. This is the last one, honest! by jonadab · · Score: 1

    This is it! If you patch this one, sendmail will be secure! Really!
    Of course, they said that the last twenty times, but this time for
    real, because sendmail is focused on security, just like Microsoft!

    Ahem. I won't let sendmail anywhere near any network I administrate,
    ever. Argue the relative merits of the other options -- qmail,
    postfix, exim, or Net::Server::Mail, but pick one of them, because
    letting sendmail listen for incoming connections from the internet,
    given its (in)security record, is about as smart as using Outlook
    to get your mail. It hasn't been six months since the last sendmail
    remote root exploit, and it won't be six months until the next one.
    Some things never change.

    --
    Cut that out, or I will ship you to Norilsk in a box.
    1. Re:This is the last one, honest! by Anonymous Coward · · Score: 0

      This is it! If you patch this one, sendmail will be secure! Really!
      Of course, they said that the last twenty times, but this time for
      real, because sendmail is focused on security, just like Microsoft!

      Ahem. I won't let sendmail anywhere near any network I administrate,
      ever. Argue the relative merits of the other options -- qmail,
      postfix, exim, or Net::Server::Mail, but pick one of them, because
      letting sendmail listen for incoming connections from the internet,
      given its (in)security record, is about as smart as using Outlook
      to get your mail. It hasn't been six months since the last sendmail
      remote root exploit, and it won't be six months until the next one.
      Some things never change.


      This is it! If you patch this one, OpenSSH will be secure! Really! Of course, they said that the last twenty times, but this time for real, because OpenSSH is focused on security, just like Microsoft!

      Ahem. I won't let OpenSSH anywhere near any network I administrate, ever. Argue the relative merits of the other options -- lsh, ssh.com, FreSSH, or whatever, but pick one of them, because
      letting OpenSSH listen for incoming connections from the internet, given its (in)security record, is about as smart as using Outlook to get your mail. It hasn't been two days since the last OpenSSH remote root exploit, and it won't be six months until the next one.
      Some things never change.

  151. If I had a nickel... by OrangeTide · · Score: 1

    If I had a nickel everytime there was an exploit in sendmail, I'd have a whole jar full of nickels!

    Perhaps instead of posting every exploit on slashdot we should focus on posts that show news that is not covered better elsewhere.

    --
    “Common sense is not so common.” — Voltaire
  152. It's not the technology by achurch · · Score: 1

    I half suspect this is a troll, but...

    you have no idea what you are talking about in regard to Microsoft's OS architectural security

    You missed the parent's next paragraph, which gives examples of "running a webserver under the System or Administrator account" and "[i]nstalling and activating services by default". He's not, or at least doesn't appear to be, bashing the architecture or technology itself; he's bashing the way it's used (or not used, as the case may be). I don't have the knowledge to discuss the security capabilities of NT, but no matter how capable it is, such capabilities are pointless if they aren't used properly. To borrow the tired old house analogy, it's like installing a new ultra-secure electromechanical lock on your door--and then leaving the door wide open while you go on vacation. That's why so many people, myself included, keep railing against Microsoft and Windows for its "lack of security".

    1. Re:It's not the technology by TheNetAvenger · · Score: 1

      You missed the parent's next paragraph, which gives examples of "running a webserver under the System or Administrator account" and "[i]nstalling and activating services by default". He's not, or at least doesn't appear to be, bashing the architecture or technology itself; he's bashing the way it's used (or not used, as the case may be). I don't have the knowledge to discuss the security capabilities of NT, but no matter how capable it is, such capabilities are pointless if they aren't used properly. To borrow the tired old house analogy, it's like installing a new ultra-secure electromechanical lock on your door--and then leaving the door wide open while you go on vacation. That's why so many people, myself included, keep railing against Microsoft and Windows for its "lack of security".

      No, I didn't miss the paragraph, just as your response, it was another example of security misconceptions about NT.

      Just because the way things are done or the security model of NT seems silly, strange or foreign from where you come from, DOES NOT mean it is wrong or a 'lack of security'.

      Sure the Web server IIS runs in a different 'security' mode that is used by default on Linux installations for example, BUT THIS DOES NOT mean that IIS (the web server) is at all insecure because of it. (As an additional note, you do realize that in high utilization servers, even Linux users elevate the web server like Apache to have kernel access. And often it is also ran in a root mode to be able to utilize the *nix security system.)

      NT's security model is VERY DIFFERENT than the security model of any *nix. You may see the world from Root and User, but with NT it is not that simple.

      Local System Services, Network Services, Administrator, and various User rights are all parts of a bigger security model. It is not only these accounts, but the way these security accounts are implemented within the NT OS itself, that is a completely different conceptual model.

      Under the hood you have Token passing and a real Object Oriented Based Security model that ALL processes, drivers, and applications must utilize and pass through to touch any part of the hardware or the OS.

      It isn't just as simple as the administrator (root) or Local System account having carte blanc on the system. Even they have to get through the security structure and request permissions for doing anything as well.

      This is why the Windows Protection System implemented in Win2k and XP work as well as it does. For example, even though most 'install' software runs in the user mode (often an admin account) or even the local system account, they still can't delete a file like user.exe even if they wanted to - if the admin or Local System account were on par with the root account in *nix, a file like user.exe could easily be removed, breaking the OS.

      Just because something like the Web server has a Local System level of security access, DOES NOT mean that it can do whatever it wants on the system. It still has to ask what it can do and where.

      So again, I assert that the examples in the previous post are grossly flawed in understanding the security or 'lack of security' as you refer to it. If it was Linux, then YES, these issues would be a 'wide open door', but with NT it just doesn't work like that.

      Thanks for responding,
      The NetAvenger

    2. Re:It's not the technology by achurch · · Score: 1

      Just because something like the Web server has a Local System level of security access, DOES NOT mean that it can do whatever it wants on the system. It still has to ask what it can do and where.

      It seems to be able to do enough, judging from all the worms/viruses we've seen and the damage they've done. I'm sure I don't need to remind you of the local shells provided by IIS, or the zillions of E-mail viruses going around. As far as data goes, no, maybe you can't touch ntoskrnl.exe, but you could probably still delete (or modify, even) earnings2003.xls. (Even if it is possible to prevent this, how many financial managers out there know how to secure their files--or even that they can, or that they should?) The problem isn't the kernel, it's the software that's built around it.

      Also, you seem to be under the misconception that I consider the Unix security model superior to the NT one. As I said in my previous post, I don't know enough about the NT security model to judge either way. I also don't consider the Unix model to be that good anyway; about all it has going for it is simplicity. NT may well be better--but until someone comes up with a completely new set of tools for it (GNU NT?) I'll pass.

    3. Re:It's not the technology by TheNetAvenger · · Score: 1

      It seems to be able to do enough, judging from all the worms/viruses we've seen and the damage they've done. I'm sure I don't need to remind you of the local shells provided by IIS, or the zillions of E-mail viruses going around.

      Ok, and this differs from any other OS out there how? There will always be exploits. From working in government security, I can assure you there is NO such thing as a fully 'secure' OS. Period.

      As for the proliferation of worms and email viruses, do you NOT read the security warning and patches for other OSes? Linux and the standard bundlings in Linux have had more than 20 times the vulnerabilities than Windows in the past year alone.

      Additionally, do you think it is the inherent 'insecurity' of the NT architecture that allows email viruses to be spread? Do you understand how most email viruses are spread? All I have to do is write a nasty Linux program to nuke your user data and drop it in an email in a way that YOU trust in opening it. This is the same for ANY OS.

      Sure there are 100s of millions more Windows boxes out there, so these viruses affect more people and make more news, and also creates more a target for hackers.

      But that does not mean that OTHER OSes are secure from these types of hacks. If our engineers here were malicious, I guarantee you that if you pick ANY OS that they could have a virus successfully deployed in a couple of hours. (Be thankful that more people are not in the business of screwing up the Internet.)

      I am beginning to hate this thread, as it sounds like I am defending Microsoft or NT, and I don't like being in that position. But to simply believe that MS and NT is inherently bad at security and other OSes are more secure is simply just fooling yourself.

      I know of tons of customers within our technology group that dropped in Linux boxes because their IT teams bought into the 'security myth'. They then had their root access compromised within a few hours, and we had to go in and clean up their mess.

      Do you honestly believe that there are no Linux email viruses or MacOSX email viruses? This also is simply not true, sorry. If Linux or MacOSX gets on even half as many desktops as Windows, then you will find the press swarming around a massive amount of security exploits and email viruses for those OSes as well.

  153. Re:Patch mechanism by http · · Score: 1

    or, its called adding apt-get update and apt-get upgrade to /etc/cron.daily.

    --
    If opportunity came disguised as temptation, one knock would be enough.
    3^2 * 67^1 * 977^1
  154. Re:stuff by Anonymous Coward · · Score: 0

    fair. will take five, at $100