Vixie Cron do_command.c privilege escalation

vixie-cron-docommand-gain-privilege (26691) The risk level is classified as HighHigh Risk


Vixie Cron could allow a local attacker to gain elevated privileges, caused by improper checking of the return code of a setuid call in do_command.c. If setuid fails, a local attacker could gain root privileges on the system.


Gain Privileges


For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-06-07 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux:
Refer to RHSA-2006:0539-9 for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux:
Refer to SUSE Security Announcement SUSE-SA:2006:027 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.


  • Full-disclosure Mailing List, Thu May 25 2006 - 15:12:30 CDT: rPSA-2006-0082-2 vixie-cron.
  • Rpath Bugzilla Bug 1166: Bug 1166 - non-default vixie-cron configuration provides root privilege escalation.
  • ASA-2006-168: vixie-cron security update (RHSA-2006-0539)
  • BID-18108: Vixie Cron PAM_Limits Local Privilege Escalation Vulnerability
  • CVE-2006-2607: do_command.c in Vixie cron (vixie-cron) 4.1 does not check the return code of a setuid call, which might allow local users to gain root privileges if setuid fails in cases such as PAM failures or resource limits, as originally demonstrated by a program that exceeds the process limits as defined in /etc/security/limits.conf.
  • GLSA-200606-07: Vixie Cron: Privilege Escalation
  • RHSA-2006-0539: vixie-cron security update
  • SA20380: Vixie Cron "do_command.c" setuid Security Issue
  • SA21702: Avaya Products Vixie Cron Security Issue
  • SECTRACK ID: 1016480: Vixie Cron `do_command.c` May Let Local Users Gain Elevated Privileges
  • SUSE-SA:2006:027: cron local privilege escalation

Platforms Affected:

  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 8.04 LTS
  • Canonical Ubuntu 8.10
  • Gentoo Linux
  • Novell UnitedLinux 1.0
  • Paul Vixie Vixie Cron 4.1
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 AS
  • SuSE Linux Enterprise Server 8
  • SUSE SuSE Linux 10.0
  • SUSE SuSE Linux 10.1
  • SUSE SuSE Linux 9.1
  • SUSE SuSE Linux 9.2
  • SUSE SuSE Linux 9.3
  • SuSE SuSE Linux Desktop 1.0
  • SuSE SuSE SLES 9
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...
  • Turbolinux Turbolinux 10 Server
  • Turbolinux Turbolinux 10 Server x64 Ed
  • Turbolinux Turbolinux 7 Server
  • Turbolinux Turbolinux 8 Server
  • Turbolinux Turbolinux FUJI
  • Turbolinux Turbolinux Home
  • Turbolinux Turbolinux Multimedia
  • Turbolinux Turbolinux Personal
  • Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
  • Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed
  • Turbolinux Turbolinux Appliance Server 2.0


May 25, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page