Linux rpc.statd/kstatd server allows remote code execution

linux-rpcstatd-format-overwrite (4939) The risk level is classified as HighHigh Risk

Description:

Due to a flaw in the rpc.statd/kstatd daemons logging system, the rpc.statd/rpc.kstatd server that ships with most distributions of Linux could allow an attacker to execute code with root privileges. A call to syslog in the program takes data directly from the remote user; this data could include printf-style format specifiers. By sending a specially-crafted RPC message to vulnerable servers, an attacker could execute arbitrary code with root privileges.

Platforms Affected:

  • Conectiva, Linux
  • Debian, Debian Linux 2.2
  • Debian, Debian Linux 2.3
  • MandrakeSoft, Mandrake Linux 7.0
  • MandrakeSoft, Mandrake Linux 7.1
  • RedHat, Linux 6.0
  • RedHat, Linux 6.1
  • RedHat, Linux 6.2
  • SuSE, SuSE Linux 6.1
  • SuSE, SuSE Linux 6.2
  • SuSE, SuSE Linux 6.3
  • SuSE, SuSE Linux 6.4

Remedy:

For Linux-Mandrake:
Upgrade to the latest version of nfs-utils (0.1.9.1 or later), as listed in MandrakeSoft Security Advisory MDKSA-2000:021 : nfs-utils. See References.

For Red Hat Linux:
Upgrade to the latest version of nfs-utils (0.1.9.1 or later), as listed in RHSA-2000:043-02. See References.

For Conectiva Linux:
Upgrade to the latest version of nfs-utils (0.1.9.1 or later), as listed in Conectiva Linux Security Announcement CLSA-2000:250. See References.

For Debian Linux:
Upgrade to the latest version of nfs-utils (0.1.9.1 or later), as listed in Debian Security Advisory 20000719a. See References.

For Trustix Linux:
Upgrade to the latest version of nfs-utils (0.1.9.1 or later), as listed in Trustix Security Advisory - nfs-utils. See References.

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

Consequences:

Gain Access

References:

Reported:

Jul 15, 2000

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 (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.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page