Automounter daemon buffer overflow can lead to remote root access

amd-bo (3171) The risk level is classified as HighHigh Risk

Description:

The Automounter daemon (amd) is vulnerable to a buffer overflow in the mount code. The amd daemon responds to attempts to access files by automatically mounting file systems on which those files reside. By passing a long string to the AMQPROC_MOUNT procedure, a remote attacker can overflow the buffer and gain root privileges on the system.


Consequences:

Gain Access

Remedy:

Upgrade to the latest version of amd-utils (6.0.1 or later), as listed in CERT Advisory CA-1999-12. See References.

As a workaround, disable the amd daemon. However, this may prevent your system from operating normally.

For Red Hat Linux 6.0:
Upgrade to the latest version of am-utils (6.01S11-1 or later), as listed in RHSA-1999:032-01. See References.

For Caldera OpenLinux 2.2:
Upgrade to the latest version of am-utils (6.0-7 or later), as listed in Caldera Systems, Inc. Security Advisory CSSA-1999:024.0. See References.

For BSDI (BSD/OS 4.0.1 and 3.1):
Apply the mods M410-017 for 4.0.1 and M310-057 patch, as listed in CERT Advisory CA-99-12. See References.

For FreeBSD:
Upgrade to the latest version of FreeBSD (3.3-RELEASE or later), as listed in FreeBSD, Inc. Security Advisory FreeBSD-SA-99:06. See References.

— OR —

Apply the patch for this vulnerability, as listed in FreeBSD, Inc. Security Advisory FreeBSD-SA-99:06. See References.

For Debian Linux 2.1:
Upgrade to the latest version of amd (upl102-23.slink2 or later), as listed in Debian Security Advisory 19991018a. See References.

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

References:

Platforms Affected:

  • Compaq Tru64
  • Data General DG/UX
  • Debian Debian Linux
  • FreeBSD FreeBSD
  • HP HP-UX
  • IBM AIX
  • Linux Kernel
  • RedHat Linux 4.2
  • RedHat Linux 5.2
  • RedHat Linux 6.0
  • SCO Caldera OpenLinux
  • SCO SCO Unix
  • SGI IRIX
  • Sun Solaris
  • Wind River BSDOS
  • WindRiver BSDOS 3.1
  • WindRiver BSDOS 4.0
  • WindRiver BSDOS 4.0.1

Reported:

Aug 30, 1999

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