Bugtraq mailing list archives
Re: Root shell vixie cron exploit
From: jk () CSUCHICO EDU (John Kennedy)
Date: Fri, 3 Sep 1999 17:19:47 -0700
On Wed, Sep 01, 1999 at 09:08:55PM +0400, Seva Gluschenko wrote:
man sendmail: /-C ...skipping... -Cfile Use alternate configuration file. Sendmail refuses to run as root if an alternate configuration file is specified. and it does, for sure %-). Just tested this on different versions of FreeBSD and had no effects except Mail Delivery message: The following address has permanent fatal errors: -C/tmp/vixie-cf gvs So, sendmail _really_ refuses to accept -C key when run as root
??? I haven't looked hard at that exploit, but I know sendmail and that is untrue. When an average (non-root) user tries to use a -C in sendmail, sendmail will drop all its suid privs. You can (mis-)configure sendmail to do stupid things like run an arbitrary program is root -- your average user just can't do that themselves. I had assumed that the whole problem with the vixie-cron exploit was that cron allowed users to invoke sendmail with arbitrary command-line options *as root*, so dropping SUID status doesn't do any good. Sendmail doesn't try to protect the root user from themselves.
Current thread:
- Root shell vixie cron exploit Michal Zalewski (Jul 05)
- Re: Root shell vixie cron exploit Seva Gluschenko (Sep 01)
- Re: Root shell vixie cron exploit Michal Zalewski (Sep 01)
- Re: Root shell vixie cron exploit John Kennedy (Sep 03)
- Re: Root shell vixie cron exploit Peter Wemm (Sep 07)
- Re: Root shell vixie cron exploit Raymond Dijkxhoorn (Sep 07)
- Re: Root shell vixie cron exploit Christos Zoulas (Sep 03)
- [security-officer () FreeBSD ORG: FreeBSD-SA-99:01: BSD File Flags and Programming Techniques] Patrick Oonk (Sep 03)
- Re: Root shell vixie cron exploit Valentin Nechayev (Sep 04)
- gftp Oscar Haeger (Sep 05)
- Re: gftp - ms ftp debug mode Bencsath Boldizsar (Sep 08)
- fixing all buffer overflows --- random magin numbers Dr. Joel M. Hoffman (Sep 11)
- Re: fixing all buffer overflows --- random magin numbers Peter van Dijk (Sep 12)
- Re: fixing all buffer overflows --- random magin numbers Eric Hutchinson (Sep 12)
- Re: Root shell vixie cron exploit Seva Gluschenko (Sep 01)