Vixie crontab buffer overflow

vixie-crontab-bo (6098) The risk level is classified as MediumMedium Risk

Description:

Vixie crontab is vulnerable to a denial of service attack caused by a buffer overflow in the strcpy function. Due to insufficient bounds checking of the login name in the strcpy function, an attacker can run crontab with a username containing more than 20 characters to overflow the buffer and cause the program to crash.

Platforms Affected:

  • HP, HP-UX 10.01
  • HP, HP-UX 10.10
  • HP, HP-UX 10.20
  • HP, HP-UX 10.24
  • HP, HP-UX 11.00
  • HP, HP-UX 11.04
  • Immunix, Immunix OS 6.2
  • Immunix, Immunix OS 7.0-beta
  • MandrakeSoft, Mandrake Linux
  • Paul Vixie, Vixie Crontab 3.0.1-56
  • RedHat, Linux 5.2
  • RedHat, Linux 6.2
  • RedHat, Linux 7
  • RedHat, Linux 7.1
  • RedHat, Linux 7.2
  • RedHat, Linux 7.3

Remedy:

For Red Hat Linux 5.2:
Upgrade to the latest version of vixie cron (3.0.1-38.5.2 or later), as listed in RHSA-2001:014-03. See References.

For Red Hat Linux 6.2:
Upgrade to the latest version of vixie cron (3.0.1-40.1 or later), as listed in RHSA-2001:014-03. See References.

For Red Hat Linux 7.0:
Upgrade to the latest version of vixie cron (3.0.1-61 or later), as listed in RHSA-2001:014-03. See References.

For Immunix OS 6.2:
Upgrade to the latest version of vixie cron (3.0.1-40.1 or later), as listed in Immunix OS Security Advisory IMNX-2001-70-003-01. See References.

For Immunix OS 7.0-beta and 7.0:
Upgrade to the latest version of vixie cron (3.0.1-61 or later), as listed in Immunix OS Security Advisory IMNX-2001-70-003-01. See References.

For Linux-Mandrake 6.0, 6.1, 7.0, 7.1, 7.2, Corporate Server 1.0.1:
Upgrade to the latest version of vixie cron (3.0.1-46 or later), as listed in MandrakeSoft Security Advisory MDKSA-2001:022 : vixie-cron. See References.

For HP9000 Series 700/800 running HP-UX 11.00, 11.04, 10.20, 10.24, 10.10, and 10.01:
Apply appropriate patch for your system, as listed in Hewlett-Packard Security Bulletin #0146 (HPSBUX0103-146). See References.

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

As a workaround, remove the setuid bit on /user/bin/crontab.

Consequences:

Denial of Service

References:

Reported:

Feb 10, 2001

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 xforce@iss.net

Return to the main page