Solaris rpc.yppasswdd does not adequately check input allowing users to execute arbitrary code

2001-10-04T00:00:00
ID VU:327281
Type cert
Reporter CERT
Modified 2002-12-18T00:00:00

Description

Overview

A remotely exploitable buffer overflow exists in the 'rpc.yppasswd' service on Solaris 2.6, 2.7, and 2.8.

Description

Network Information Service (NIS) provides a simple network lookup service consisting of databases and processes. Its purpose is to provide information, that has to be known throughout the network, to all machines on the network. Information likely to be distributed by NIS might be login names and/or group information. A remotely exploitable buffer overflow exists in the 'rpc.yppasswd' service. This vulnerability could allow a remote intruder to execute arbitrary code with superuser privileges on an NIS master server. Note that only NIS master servers running the rpc.ypasswdd process are affected. For more information, please see this Sun Alert.


Impact

Remote intruders can execute arbitrary code with super user privileges on a NIS master server.


Solution

Contact vendor for patches.


If you cannot immediately patch your systems, the following are suggested workarounds until a patch can be applied:

* Stop the rpc.yppasswd process. Note that by stopping this service, all users in the NIS domain will be unable to change their NIS password. 
* Enable non-executable user program stacks in the kernel by adding the following lines to the NIS servers "/etc/system" file:

set noexec_user_stack = 1
set noexec_user_stack_log = 1

* Note that a subsequent reboot is required after this change. Additionally, you must restart the rpc.yppasswd process.

Systems Affected

Vendor| Status| Date Notified| Date Updated
---|---|---|---
Sun Microsystems Inc.| | -| 04 Oct 2001
If you are a vendor and your product is affected, let us know.

CVSS Metrics

Group | Score | Vector
---|---|---
Base | N/A | N/A
Temporal | N/A | N/A
Environmental | N/A | N/A

References

Credit

This document was written by Ian A. Finlay.

Other Information

  • CVE IDs: CVE-2001-0779
  • Date Public: 05 Jul 2001
  • Date First Published: 04 Oct 2001
  • Date Last Updated: 18 Dec 2002
  • Severity Metric: 31.39
  • Document Revision: 41