Slashdot Mirror


Remote Exim Exploit In the Wild

An anonymous reader sends word of a remote exploit in the wild against the Exim mail agent. The news comes on the exim mailing list, where a user posted that he had his exim install hacked via remote exploit giving the attacker the privilege of the mailnull user, which can lead to other possible attacks. A note up at the Internet Storm Center reminds exim users how to set up to run in unprivileged mode, and a commenter includes recompile instructions for Debian exim for added safety. The security press hasn't picked up on this story so far.

20 of 90 comments (clear)

  1. Was fixed in 4.70 according to Mailing List by gQuigs · · Score: 5, Informative

    http://www.exim.org/lurker/message/20101210.071922.233697ac.en.html

    "Paul Fisher and I have successfully run the exploit against a copy of
    Exim running in a debugger on debian lenny, and we believe it utilizes
    this bug:

    http://bugs.exim.org/show_bug.cgi?id=787

    It was fixed in 4.70, but not in the version currently in debian
    stable.

    James E. Blair
    UC Berkeley"

    1. Re:Was fixed in 4.70 according to Mailing List by John+Hasler · · Score: 5, Informative

      It was fixed in 4.70, but not in the version currently in debian stable.

      Debian has released a DSA and a fixed version for Stable. See Debian Security Advisory DSA-2131-1 and Debian Security .

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:Was fixed in 4.70 according to Mailing List by Rockoon · · Score: 3, Informative

      Security through obscurity.

      --
      "His name was James Damore."
    3. Re:Was fixed in 4.70 according to Mailing List by MobileTatsu-NJG · · Score: 4, Informative

      Boring target.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    4. Re:Was fixed in 4.70 according to Mailing List by asdfghjklqwertyuiop · · Score: 2

      It wasn't specifically reported as a security bug 2 years ago which is probably why the fix wasn't backported to debian. Someone probably went through the bug reports looking for a potential security bug that wasn't recognized as such and developed an exploit.

    5. Re:Was fixed in 4.70 according to Mailing List by B'Trey · · Score: 2
      --

      "The legitimate powers of government extend only to such acts as are injurious to others." Thomas Jefferson.

  2. Re:First comment! by clang_jangle · · Score: 4, Funny

    It is to the four people who actually succeeded at getting exim to run.

    --
    Caveat Utilitor
  3. cPanel by bsDaemon · · Score: 2

    Exim is the MTA that cPanel-enabled servers use, so there is quite a large install base, particularly in the consumer-oriented web hosting space. Except a brief run of ha-ha before the mail spools get moved off to their own partition which is mounted no-exec.

    1. Re:cPanel by mpol · · Score: 2

      Whoops, apparently there's just an update released today. With a different fix it seems.
      http://forums.cpanel.net/f185/case-45290-exim-0-day-178281.html

      --

      Well, don't worry about that. We can get you back before you leave. (Dr. Who)
    2. Re:cPanel by Hatta · · Score: 2

      If you have a shell, what's the point of running a shell script? 'sh ./test.sh' doesn't allow you to do anything that you can't do from the shell itself. How would you use that to run arbitrary binaries from a noexec partition?

      --
      Give me Classic Slashdot or give me death!
  4. Debian patched it today by domatic · · Score: 5, Informative

    Debian released patches this morning for it.

    exim4 (4.69-9+lenny1) stable-security; urgency=high

        * Non-maintainer upload by the Security Team.
        * Fix SMTP file descriptors being leaked to processes invoked with ${run...}
        * Fix memory corruption issue in string_format(). CVE-2010-4344
        * Fix potential memory pool corruption issue in internal_lsearch_find().

      -- Stefan Fritsch Fri, 10 Dec 2010 13:25:07 +0100

  5. Re:First comment! by Monkeedude1212 · · Score: 2

    Yeah but the people who use Debian know they've got it rough enough and don't need to rub it in using Exim.

  6. Re:There IS some idiocy in FOSS at times ... by Raenex · · Score: 2

    Stop whining about your karma, and learn to format paragraphs.

  7. Re:First comment! by Profane+MuthaFucka · · Score: 2

    I use Exim. I have great clanking balls.

    --
    Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
  8. Wow ... "Electric Fence spotted this problem" by Kaz+Kylheku · · Score: 2

    Welcome to the early 1990's of memory debugging.

    That string_format problem is incredibly shameful this day and age, too.

    You know what? I think I'm going to run my exim4 installation under Valgrind, set to terminate at the first memory error.

    (Will I still get any e-mail?)

  9. Exim hate by Curunir_wolf · · Score: 3

    I don't really get all the hate for Exim. I've been using it exclusively on mail servers for about 10 years, and I've never had a problem. I do remember going through a lot of reading and learning (and sometimes experimenting) the first few times I set it up (and of course when implementing a major feature change). But, for me, the task was less daunting than the alternatives. I don't really remember whether postfix was one of those alternatives I explored at the time, but now that I'm familiar with Exim, I see no reason to change.

    --
    "Somebody has to do something. It's just incredibly pathetic it has to be us."
    --- Jerry Garcia
    1. Re:Exim hate by caseih · · Score: 2

      Sendmail has one redeeming feature: milters. Postfix is only now starting to support sendmail-compatible milter filters. The ability to filter and discard spam at the connection level is, my opinion, better and cleaner than hackish solutions like amavisd.

  10. Milters? by dwmw2 · · Score: 2

    Whereas Exim doesn't *need* milters because it's sufficiently capable all by itself.

    I once had a Postfix advocate look over my Exim config to see if he make Postfix do what Exim can do. He gave up.

  11. Sure glad all my servers run Sendmail by dskoll · · Score: 5, Funny

    Bet you never thought you'd read that in response to a security announcement. :)