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.
Welcome to a week ago. Oh, and security guys -are- picking up on it. Stop following companies/press and start following persons.
This isn't FUD. http://www.exim.org/lurker/message/20101209.150448.ee9f5ce6.en.html
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"
It is to the four people who actually succeeded at getting exim to run.
Caveat Utilitor
Because sendmail has such a long record of resistance to security bugs :)
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.
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
I just went digging through my exim install. I have exim-4.72-r1 on Gentoo and it has the fix in it.
it's actually an old bug, the patch is for 4.69 and is from ~2008
More than four people use Debian, where Exim is standard and works out of the box.
Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
fourth post: "Exim is the MTA..."
if you don't know what an MTA is, sendmail, qmail and postfix are other examples.
“Common sense is not so common.” — Voltaire
Yeah but the people who use Debian know they've got it rough enough and don't need to rub it in using Exim.
I use debian. About the first thing I did was disable exim. Why the fuck is it included by default? #fail.
I'd ask you to hand in your geek card, but it appears that you were never issued one to begin with.
The World Wide Web is dying. Soon, we shall have only the Internet.
Stop whining about your karma, and learn to format paragraphs.
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!
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?)
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
[0]
1. Try it
2. It works.
3. Profit???
Impossible to configure? No, not really, even in v3. It is actually pretty nice to use if you have a complicated configuration.
Who cares about the default? This isn't a desktop clock, it's a mail server - you're supposed to search and read about at least the most well known alternatives.
Dilbert RSS feed
Huh? Don't you mean POP3/IMAP server? Because the client is called a "Mail User Agent".
But a POP3/IMAP server is rather an MDA. An SMTP server is an MTA.
note the word 'MTA' and/or use google
Give me a break, I actually checked the first cited article (of the 3) and googled “mail agent” before I gave up and just asked.
Distributed Denial of APK: It takes 15 seconds to reply to him anonymously, but wastes tons of his time if we all do it.
POP3 and IMAP servers are not MDA's.
They don't "deliver" anything, and that is what the D in MDA is for.
Procmail, mail.local, deliver, etc are MDA's.
Heh. I never thought exim was hard to configure. Some things are a lot easier in exim 4 than in postfix. On the other hand, I used to edit sendmail.cf without m4 back in the day and didn't think of that as particularly hard either.
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.
Cron job outputs, for one.
Yeah; a real Unix system has a mail daemon; too many things break if it doesn't. Although *if* I use exim, I let the Debian installer configure it for local mail delivery only. For mail servers which actually have to speak SMTP, I choose postfix (which is one well-supported alternative in Debian).
Bet you never thought you'd read that in response to a security announcement. :)
m4 is no more a compiler than sed is. It's just a text macro expander, and it's not particularly complex. It takes about ten minutes to learn how it works, and if you're trying to configure sendmail or use autoconf, you owe it to yourself to spend the ten minutes.
The problem with sendmail is sendmail, not m4. It certainly needs too much configuration and its configuration is certainly too finicky, but that's a separate problem.
Whatever, relevant is, that exim has always been a dog, almost impossible to configure, and finally with 4.0 changed the style of its configuration.
I'll admit to not having used exim pre v4, but when I switched to it some years back I found it quite easy to configure, and yet with a powerful enough configuration system that I could do what I needed to do (set up domain/user tables to come from an existing database) without any real hassle.
Dunno what people complain about, really. Perhaps they're too scared to read the manual?
The parent conjured up "Exim haters" out of thin air, but it's really a fiction. There is nothing that warrants such a label.
Sure, we all have our own preferences for MTAs, and we even complain occasionally about particular features or unhelpful config styles, but that's the same for all applications. Sendmail's config is of course a joke, but that's an old MTA and shouldn't be compared with any of the modern ones like Exim, qmail, Postfix, etc.
All MTAs have their proponents, but "MTA haters" really don't exist as a sizeable group for any modern FOSS MTA, beyond a few colorful characters who claim that only their own code is any good.
"The question of whether machines can think is no more interesting than [] whether submarines can swim" - Dijkstra
The only problem with exim configuration is that they're trying very hard to pretend that the acl part isn't programming. Traditional if then else would be a lot easier to read by everyone who can handle shell scripting, and if you can't handle shell scripting you aren't likely to handle an obscure language with side-effects based on boolean short-circuit evaluation.
You can get very far without touching the acl's, but those are what makes exim more capable than most other MTA's.
Finally! A year of moderation! Ready for 2019?