exim: privilege escalation
exim: privilege escalation
Posted Jun 13, 2010 23:24 UTC (Sun) by Comet (subscriber, #11646)In reply to: exim: privilege escalation by nix
Parent article: exim: privilege escalation
The other issue is the hardlinks in /var/mail issue, since there are distributors who choose to make /var/mail be globally writable (with sticky-bit protection). Exim tries to be flexible but it turns out that when you try hard enough to shoot yourself in the foot, you can. With 4.72, Exim tries harder to keep you from shooting yourself in the foot. You're still far better off if you exercise more care in designing the permissions on /var/mail -- group mail and 1775 works fine, for instance -- then tools such as mutt_dotlock just need to be setgid mail, which they support.
It's unfortunate that these days many distributions have opted for one large filesystem for everything (so that regular users have files on the same filesystem as globally writable directories which are routinely accessed) and for lax permissions on the mail-spool. But that's life, software has to deal with it, and thanks to the report Exim now deals with these better. It's a shame that common standards have *regressed* in security here. 1775 directory with 0620 (group mail) mailboxes were around when I was starting on Unix.
[disclosure: I wrote the MBX patch and hack on Exim in my spare time]
Posted Jun 14, 2010 20:10 UTC (Mon)
by nix (subscriber, #2304)
[Link] (4 responses)
(And, MBX, gods that brings back memories. I haven't had to deal with that in, what, fifteen years?)
Posted Jun 14, 2010 22:07 UTC (Mon)
by Comet (subscriber, #11646)
[Link] (3 responses)
-Phil, who prefers to fix things comprehensively rather than have security dependent upon the weakest link.
Posted Jun 14, 2010 23:26 UTC (Mon)
by nix (subscriber, #2304)
[Link] (2 responses)
(btw, 'hack on Exim in my spare time' must be perhaps the most self-deprecating self-description I've ever heard from the founder of any major free software project, assuming I've managed to identify the original author of MBX support back in 199x correctly: the version control logs don't go back that far that I can find. But then, nobody does self-deprecation like cam.ac.uk. ;} )
Posted Jun 14, 2010 23:42 UTC (Mon)
by Comet (subscriber, #11646)
[Link] (1 responses)
He's "PH/nn" in the changelogs, I'm "PP/nn". And no urinary jokes please. :)
Posted Jun 15, 2010 6:54 UTC (Tue)
by nix (subscriber, #2304)
[Link]
(the Phil Conspiracy?)
exim: privilege escalation
exim: privilege escalation
exim: privilege escalation
exim: privilege escalation
exim: privilege escalation
