Ypbind -ypset/-ypsetme Vulnerability

BID:1441

Info

Ypbind -ypset/-ypsetme Vulnerability

Bugtraq ID: 1441
Class: Failure to Handle Exceptional Conditions
CVE: CVE-1999-0298
Remote: Yes
Local: Yes
Published: Feb 05 1997 12:00AM
Updated: Jul 11 2009 02:56AM
Credit: This vulnerability was first reported by Network Associates in an advisory on February 5, 1997.
Vulnerable: Sun SunOS 4.1.3
Slackware Linux 2.0
Not Vulnerable:

Discussion

Ypbind -ypset/-ypsetme Vulnerability

Ypbind is an RPC service that allows NIS clients to locate NIS services on a network. Certain versions of ypbind contain a vulnerability when the service is run with the -ypset and -ypsetme switches than can allow a remote or local user to overwrite certain files on the filesystem. By executing the RPC procedure YPBINDPROC_SETDOMAIN with a path that includes the special path characters '..' it is possible to overwrite or create any file with a '.2' extension. This would allow for example an attacker to overwrite any section 2 man page.

Exploit / POC

Ypbind -ypset/-ypsetme Vulnerability

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].

Solution / Fix

Ypbind -ypset/-ypsetme Vulnerability

Solution:
From the Network Associates advisory:

We suggest that you not invoke ypbind with either the -ypset or -ypsetme options. It would be better practice to define which NIS clients may bind to which NIS servers in local configuration files.

References

Ypbind -ypset/-ypsetme Vulnerability

References:
© CVE.report 2026 |

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report