Slashdot Mirror


Mail Server Flaw Opens MS Exchange to Spam

bl8n8r writes: " Exchange 5.5 and 2000 can be used by spammers to send anonymous e-mail. He says even though software Microsoft provides on its site certifies that the server is secure, it's not. There are dozens of messages--with subject lines such as 'Open relay problem' and 'We are sending spam?'--on Microsoft's Exchange Administration newsgroup, sent by information system managers who haven't been able to staunch the flow of spam from their servers. 'It is really inexcusable for a company that claims security is its top priority,' he said." If you are using vulnerable versions of Exchange, and have been hit by a Code Red variant, you may want to insure your 'guest' accounts are still disabled.

37 of 487 comments (clear)

  1. indemnity? by bman08 · · Score: 3, Insightful

    Is microsoft indemnifying its customers against problems like this? I know that indemnity has been a big keyword of theirs lately and I'd just like to be certain that I can get indemnified if something like this happens. I mean, that's the advantage of going with a big, closed source company right? It's the indemnity.

    1. Re: indemnity? by Black+Parrot · · Score: 5, Funny


      > Is microsoft indemnifying its customers against problems like this? I know that indemnity has been a big keyword of theirs lately and I'd just like to be certain that I can get indemnified if something like this happens. I mean, that's the advantage of going with a big, closed source company right? It's the indemnity.

      Yes, they agree to only charge you one license for the unauthorized use of 'guest', no matter how many spammers are actually using it.

      They also agree to send someone to show your PHB some overdecorated ppt slides about how secure their software is, if incidents like this have him thinking about switching to another software supplier.

      --
      Sheesh, evil *and* a jerk. -- Jade
  2. This Just In... by E-Rock · · Score: 5, Insightful

    Misconfigured servers are vulnerable to exploit allowing relaying. Film at 11.

    Granted, the bigger question is why is there a guest account at all, since you're not supposed to ever enable it.

  3. guest accounts by Pompatus · · Score: 4, Insightful

    "If the guest account is enabled (on Exchange 5.5 and 2000), even if your login fails, you can send mail, because the guest account is there as a catchall," ......... The guest account is a way for administrators to let visitors use a mail server anonymously, but because of security issues, the feature is generally not enabled.

    Why on earth does a guest account even EXIST anymore????? I would think it is obvious that guest access on any machine is a bad thing.

    Exchange servers that had been infected by the Code Red worm and subsequently cleaned will still have the guest account enabled, Greenspan said.

    Was code red really just a tool for spammers?

    --

    ----
    Squirrel ... It's not just for breakfast anymore
    1. Re:guest accounts by ejaw5 · · Score: 4, Insightful

      What's worse about the guest account is that while it can be disabled, it cannot be removed.

      --

      $cat /dev/random > Sig
    2. Re:guest accounts by MarcQuadra · · Score: 3, Interesting

      I don't know if it's worth anything, but I always rename the default accounts on any windows box that's connected to the 'net. I rename Administrator to 'root' and guest to 'nobody' and other such nonsense. One would think that it would at least stop a great many 'brute-force' scripted login attempts against windows machines. It's also more convenient for me as a Linux Guy to have 'root' login (ever typed 'Administartor'?)

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    3. Re:guest accounts by bribass · · Score: 3, Funny
      (ever typed 'Administartor'?)

      No, but I've typed 'Administraitor' before... :)

  4. Are you INSANE? by CrankyFool · · Score: 4, Interesting

    What sort of IT group decides to run their Exchange environment unprotected on the internet?

    I'm working for a company that's deeply in MS's back pocket -- we use Windows *everything*, including Exchange. Our SMTP gateway? Postfix on Linux. Sure, I'd rather it was OpenBSD, but whatever -- it's still not Exchange.

    The bloatier the app, the harder it is to ensure it's secure. These are probably the same sort of people who run SQL Server on an unfirewalled system and are then shocked someone managed to hack into it.

    1. Re:Are you INSANE? by Cally · · Score: 5, Insightful
      > Find me a linux app that can parse sendmail logs and let me go through
      > and say "show me all of the messages sent through server x that were
      > to or from user y", and then print the results with "to", "from",
      > "subject", and delivery status?
      >

      *application*? You're joking, right? This is a shell one-liner ffs...


      $ grep logfile [serverIP] | grep userX | grep userY | awk '{$2 $4 $6 $8}'



      - off the top of my head, and without sight of the logfile format, but that's roughly how you'd do it. And thanks to the power of the GPL, some nice people have actually written software to allow you to do this on Windows (namely, Cygwin) and it's available now, free of charge.


      You're welcome.

      --
      "None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
  5. Three words... by allan_q · · Score: 3, Informative

    Turn off Guest!

  6. Read the fine article. by Anonymous Coward · · Score: 5, Insightful
    Please read the article. This is not a flaw in exchange, but a flaw in the server configuration. The feature is generally disabled but might have been enabled if the server in question had been infected with a virus.


    To put it bluntly: Administrators who do not secure servers after a virus infection are not the victims of a Microsoft security hole, but the cause of this particular problem.


    Quote: "The guest account is a way for administrators to let visitors use a mail server anonymously, but because of security issues, the feature is generally not enabled. Exchange servers that had been infected by the Code Red worm and subsequently cleaned will still have the guest account enabled, Greenspan said. "

    1. Re:Read the fine article. by bgog · · Score: 4, Funny

      I did read the article and am fully aware of it's implications. However... SHUT UP... I'm trying to get them to upgrade! :) SHHHH

    2. Re:Read the fine article. by bgog · · Score: 4, Interesting

      Furthur more, what if someone wants the guest account enabled. It states in the article. "... even if the login fails" Sound like a bug to me.

    3. Re:Read the fine article. by NightSpots · · Score: 5, Insightful

      Then configure exchange not to allow the guest account to send email. Yes, you can set exchange to disallow sending email on a user by user level.

      Real exchange admins already know all this. The people being hit by this "vulnerability" are the same morons who got hit by Code Red. That should tell you something.

    4. Re:Read the fine article. by Da_Weasel · · Score: 4, Informative

      Nope....try to refrain from commenting when you really have nothing of value to add. The Windows Guest account is equivlent to the anonymous login in most other system. These do not require a valid password, and generally anything or nothing can be entered. If there was a password that could fail then it would no longer be a Guest/Anonymous account now would it?! Don't take it personally though, I was just in a flaming mood, and your post smelled like gasoline...haha!

      --
      If you must!
    5. Re:Read the fine article. by julesh · · Score: 4, Insightful

      Real exchange admins already know all this. The people being hit by this "vulnerability" are the same morons who got hit by Code Red. That should tell you something.

      Yes. That the generally accepted argument behind the 'Windows has a lower TCO than Unix' argument (that Windows admins are generally cheaper than Unix admins) is utter bollocks if you actually want a secure system that won't get your mail rejected by approximately a quarter of the internet.

    6. Re:Read the fine article. by dipipanone · · Score: 3, Funny

      No, it's turned off by default

      OK, I eventually got that for most people, it was probably turned on by a Code Red infection.

      I'm still curious about what potential purpose such an account would serve though? Is it necessary for internal housekeeping or something?

      which you would know if you had bothered to read more than the one comment you were replying to

      What, you mean that as well as R'ing the F'ing A, I'm also obliged to R *all* the F'ing C's as well?

      You are joking, right?

    7. Re:Read the fine article. by rifter · · Score: 3, Funny

      "No, it's turned off by default"

      OK, I eventually got that for most people, it was probably turned on by a Code Red infection.

      I'm still curious about what potential purpose such an account would serve though? Is it necessary for internal housekeeping or something?

      "which you would know if you had bothered to read more than the one comment you were replying to"

      What, you mean that as well as R'ing the F'ing A, I'm also obliged to R *all* the F'ing C's as well?

      You are joking, right?

      Nope, to earn the right to post on Slashdot, you must read every comment, the whole article and all the links. Then you should read the man pages for every *NIX, the whole of Microsoft Technet, and all of the RFC's. That done, you may return to post. What you say?! Discussion archived? Oh well, reading all that will be much better than Slashdot, and you'll probably outgrow posting here by then, too. :)

  7. Re:Actually not just MS by ldspartan · · Score: 5, Insightful

    Maybe you're confusing qmail with a poorly configured, non-DJB-endorsed SMTP AUTH layer?

    If thats not the case, well, what you're saying makes no sense.

  8. Issue with 5.5 not with 2000 by mattyohe · · Score: 3, Informative

    this issue was never really resolved for exchange 5.5.. but it is simply resolved in 2000 which is detailed here

    If you are running Exchange 5.5 you shouldn't be wasting time locking it down... Your hours would be better spent opening ports on your firewall or something, because 5.5 is so old and underupdated that it more efficient to work on a new mail server with new software.

    --
    - what is the definition of simultanagnosia?! I've been meaning to look it up!
  9. More FUD for the Linux Side by bluekanoodle · · Score: 4, Insightful
    This is a completely retarded article. This isn't a hole, it's a misconfigured mail server improperly secured after a virus infection.

    Here I thought /. was the source for fair and balanced coverage.

    Must be a slow news week when a college kid can get the media's attention because he decided to point out the obvious.

    1. Re:More FUD for the Linux Side by Anonymous Coward · · Score: 4, Funny
      Here I thought /. was the source for fair and balanced coverage.
      You're new here, aren't you?
  10. Re:Actually not just MS by Aardpig · · Score: 4, Insightful

    Turns out its actually a problem in SMTP's RFC

    Have you actually read RFC 821? If so, perhaps you could point out exactly where the functionality of the guest-level account is specified? Or are you just talking out of your arse?

    --
    Tubal-Cain smokes the white owl.
  11. Re:Finally, linux integration for me! by TheZax · · Score: 3, Insightful

    I am 100% linux at work, but have the same problem as you, incompatible exchange server for evolution...

    So, I have been using outlook with codeweaver's crossover office (http://codeweavers.com/site/products/cxoffice/), which you are no doubt aware of, but if you haven't tried it, it is awesome. While not perfect, it certainly beats the other options of getting exchange mail on a linux desktop (term serv/rdesktop, outlook web access, dual booting, etc), and the small amount of money (~$60) is well worth it, as much work goes right back into WINE.

    Legal Disclaimer: I have no affiliation with codeweaver's other than being a very satisfied customer.

    --

    JWall: GUI client for IPTables
  12. I've never had a problem... by Robber+Baron · · Score: 3, Insightful

    ...and I run multiple Exchange boxen in multiple locations. ...of course I wouldn't do anything so clueless as leave the relays open or leave the default guest account active.

    As far as open relays go, it actually pains me to have to close them off. I'd rather leave them open and help people out when their ISPs are dicking them around. Unfortunately a few assholes are ruining it for everyone else.

    --

    You're using her as bait, Master!

  13. Second or Third time by DAldredge · · Score: 4, Insightful

    This is either the second, third or forth time in the past 24 months that Microsoft has said the security is a top priority.

    But, then again, this is the same company that testified under oath that reveling the Windows source code would harm the National Security of the US. Then they licensed the source code to China.

    1. Re:Second or Third time by gl4ss · · Score: 3, Interesting

      not fixed, they provided a new product for the market. a fatal flaw in a car gets 'fixed' by the manufacturer, ms way of dealing with such flaws is to sell a new product, instead of making the old product what they advertised it to be.

      besides, ms argues that anybody can be an administrator. they can't argue that and say that security is their top priority(or, they can, but they'll be bullshitting in one way or another).

      also they provided a tool that was supposed to check if you were compromised, yet it didn't(so even competent admins could have fallen for it IF they trusted ms, and if you don't trust the guys that provide you a properiaty os, who the hell are you going to trust?).

      --
      world was created 5 seconds before this post as it is.
  14. If you leave the guest account activated by xQx · · Score: 3, Insightful

    This is silly, exchange 5.5 and exchange 2000 don't ship with "allow users to relay if they authenticate regardless of if they are in this list" checked by default. Systems Administrators need to enable that feature specifically.

    Also, The guest account is disabled by default.

    Saying exchange servers may be relaying because of this 'bug' is like saying linux is insecure because you can set a blank root password and enable sshd to accept connections as root.

  15. Simple problem, simple fix by bigberk · · Score: 4, Informative

    The problem has nothing to do with Exchange, or SMTP itself. It has to do with SMTP AUTH -- an extension that allows clients to authenticate themselves. This allows a roaming client (connecting from anywhere) to authenticate via username and password, and they are then given relaying rights as if they were directly on the ISPs network.

    The attacker simply finds a frequently used account such as 'guest' and guesses a few passwords on it. This is classic account/password compromise, nothing more. Once the spammer is 'authenticated' they are free to relay. They could have also guessed any real user's password, the effect would be the same.

    1. Re:Simple problem, simple fix by doorbot.com · · Score: 4, Informative

      The attacker simply finds a frequently used account such as 'guest' and guesses a few passwords on it. This is classic account/password compromise, nothing more.

      This is 90% correct. It's important to understand the function of the "Guest" account in Windows. It allows any user, using any login name, and any password, to authenticate. Enabling the "Guest" account does not allow the username "Guest" to login specifically, it enables any username, which does not match an existing user in Active Directory or the local SAM to authenticate.

      Clearly this is a security vulnerability, and why the Guest account ships in the disabled state. It would be very nice if Windows would warn you when you enabled it, and made an attempt to explain the implications of doing so.

      With regards to attempts at guessing SMTP AUTH passwords, this has been happening lately. One caveat is that one a Linux box it can be difficult to enumerate the usernames, while on a Windows box (AD/NT/workstation) it is usually quite easy <insert obligatory firewall statement here>.

  16. The Pseudo CNET FUD continues... by Anonymous Coward · · Score: 4, Insightful

    I'm all for kicking a company when they deserve it but yet again I feel this Microsoft bashing episode is another beefed up piece of CNET pseduo FUD disguised as news. I'm sick of the way they trump up the Windows vs. *Nix wars - it brings in readers (baaaaa).

    I agree it's a potential issues, but FFS this is 90% (again) a problem with the system admins, not Microsoft. Remember the recent spate of SSH issues - I know a handful of companies who got fucked by that because their admins had poor root passwords and didn't keep up with security issues. I do however agree that it should probably be removed (note that guest is off by default in Windows Server 2003).

    We need less dickheads running IT. It's not that hard to build secure solutions regardless of what platform you choose - you just need to know what you are doing.Companies need to grill their staff better at interviews and follow their performance.

    My 2 cents...

  17. Re:Guest account by sigxcpu · · Score: 3, Informative

    you are right, but:
    1. you have to login to the machine to read /etc/passwd - a dictionary attack is much harder if you have to guess both the passowrd and the username.
    2. the standard root-kits just assume it's called root.

    --
    As of Postgres v6.2, time travel is no longer supported.
  18. Turn off SMTP AUTH by csk_1975 · · Score: 3, Informative

    This is an SMTP AUTH problem and any mail server which permits relaying using SMTP AUTH and doesn't filter by source IP is open to this type of abuse. Exchange is more susceptible to this attack than other mail servers because there are predictable account names which can be brute forced and SMTP AUTH is enabled by default. It is simple to turn this off.

    What is the big deal?

    It looks like thinkcomputer has an ulterior motive "Microsoft telephone support is not available without the risk of paying a relatively high per incident fee. Therefore, we recommend contacting Think Computer via e-mail at info@thinkcomputer.com for more information about the issues discussed in this White Paper."

  19. Re:Actually not just MS by skinfitz · · Score: 4, Informative

    Have you actually read RFC 821? If so, perhaps you could point out exactly where the functionality of the guest-level account is specified? Or are you just talking out of your arse?

    It wouldn't be mentioned in that RFC as I believe that was written before any form of user authentication was part of SMTP. AUTH SMTP is described in RFC 2554 - SMTP Service Extension for Authentication however it doesn't mention anything about a "guest" account specifically, just "accounts".

    Modern SMTP mail systems are based on a number of RFC's - 2234, 1869, 1891, 2119, 2222, 2476, 2195, 821, 822

  20. Guest Accounts by Detritus · · Score: 4, Interesting
    Maybe because some of us still believe that computers are there to provide useful services to the community, which may be a university, corporation or other large organization.

    Many organizations are decentralized, without an IT Gestapo to dole out accounts and enforce the "One True Way".

    In many cases, multiple organizations need to collaborate and share information in order to pursue common goals.

    In other words, I may wish to share information and resources with other people, even members of the public, without requiring them to have an account on the system.

    If I wanted perfect security, I would encase the computer in concrete and dump it in the ocean.

    --
    Mea navis aericumbens anguillis abundat
  21. security != lots of patches by ahodgkinson · · Score: 5, Interesting
    Wait a minute. The problem only affects misconfigured servers? The article states that the problem affected servers infected by CodeRed that had been de-infected, presumably by service packs downloaded from Microsoft. To quote:
    • ..Exchange servers that had been infected by the Code Red worm and subsequently cleaned will still have the guest account enabled...
    Does cleaned mean that a MS service pack forgot to close the holes or even opened a new security hole? Either way, in the light of MS's so called security initiative the result is unacceptable.

    The argument that moron administrators forgot to do something misses the point. Microsoft should know that most administrators don't have the time, training or resources available to discover and understand all the OS settings required to secure their servers. That's why vendors who sell secure systems set strict default settings. A real security initiative would lock down the OS a tight as Guantanamo Bay, but MS rightly fears that would alienate their customers.

    Early on MS's goal was market share and control. They targeted 'ease of use' and adopted a policy of tight integration between the OS and applications, including massive auto-enabling (by default!) of applications via application data like documents, e-mails, etc. The result is that the current Microsoft server is merely a single user system on steroids. Even with their previous Internet initiative (which basically produced a free embedded browser and a lot of service packs) the MS OS still suffers from the single user mindset. Witness all the 'way too friendly' default settings on most Microsoft systems. It worked (mostly) fine when the PCs were all in one office connected by a sneaker net (the viruses just spread slower via floppy). But now in the Internet age they're paying the price.

    As Bruce Schneier says: security is a process not a product. Until that process becomes part of MS's corporate culture, don't expect much security from Microsoft. Gates may be trying to change that, but given their history of going after market share and their foundations of sand, it's gonna take a long time.

    --
    ---- It won't be as bad as you fear or as good as you hope, but it will take twice as long as you plan.
    1. Re:security != lots of patches by Anonymous Coward · · Score: 3, Insightful

      "The argument that moron administrators forgot to do something misses the point. Microsoft should know that most administrators don't have the time, training or resources available to discover and understand all the OS settings required to secure their servers."

      Are you smoking crack? Isn't it an administrators *JOB* to know how to do this?

      And everyone wonders why IT departments are getting shipped overseas - people think they can be an administrator and not know how to do anything. If I'm going to hire a bunch of morons who don't know how to do anything, I may as well pay a Czech $3/hr instead of paying an American $30/hr or more. At least the Czech is damn happy to get that $3/hr and will give at least a little bit of work for it. All the American is going to do is sit there and bitch about how they don't get paid enough, and quite possibly Do Bad Things(TM) on purpose as a form of passive blackmail.... This happened to me once, which is why I fired all but three people in my IT department - formerly 35 - and outsourced it to Brno, Czech Republic. Since doing that, I'm paying 1/10th as much and getting 10x better service - even with all the administrative tasks being performed remotely.

      How many resources, training, and time does an administrator need to figure out that guest accounts are BAD? And why do I have to go to foreign countries to get good administrators?

      My final question is a looming one - at what point are the foreigners going to start acting like spoiled brat Americans and start bitching about not making any money.

      It still surprises me to no end how many American IT workers still want to make $80k for doing essentially nothing except installing MS Patches. They're still living in 1998-1999 and won't wake up, I guess...