Solaris rpcbind file overwrite Vulnerability

BID:67

Info

Solaris rpcbind file overwrite Vulnerability

Bugtraq ID: 67
Class: Unknown
CVE:
Remote: No
Local: Yes
Published: Apr 08 1998 12:00AM
Updated: Apr 08 1998 12:00AM
Credit: This problem may have been found by Nicolas Dubee <[email protected]> on Fri Apr 10 1998 .
Vulnerable: Sun Solaris 2.5.1 _x86
Sun Solaris 2.5.1
Sun Solaris 2.6_x86
Sun Solaris 2.6
Sun Solaris 2.5_x86
Sun Solaris 2.5
Sun Solaris 2.4_x86
Sun Solaris 2.4
Sun Solaris 2.3
Not Vulnerable:

Discussion

Solaris rpcbind file overwrite Vulnerability

The rpcbind program is a server that converts RPC program numbers into universal addresses. When an RPC service is started, it registers itself with rpcbind by telling rpcbind the address at which the RPC service is listening, and the RPC program numbers it is prepared to serve. A vulnerability has been discovered in rpcbind which, if exploited, can be used to overwrite arbitrary files and permit unauthorized system access.

When rpcbind terminates with a SIGTERM or SIGINT, it will flush the current list of registered services to /tmp/portmap.file /tmp/rpcbind.file, without checking for symbolic links etc... It can then be used to trash any file on the fs.

Note that this happens only when rpcbind is explicitly killed by root with SIGTERM or SIGINT (rebooting or shutdowning won't do it since K??rpc sends a SIGKILL signal to rpcbind to prevent this behavior).

The latter half of this discussion is quoted directly from a 1998 message to Bugtraq from Nicolas Dubee. This message is attached in the 'Credit' section of this vulnerability.

Solution / Fix

Solaris rpcbind file overwrite Vulnerability

Solution:
Patches are available to all Sun customers at http://sunsolve.sun.com


Sun Solaris 2.6
  • Sun 105216-03
    sparc


Sun Solaris 2.4_x86

Sun Solaris 2.6_x86
  • Sun 105217-03
    x86


Sun Solaris 2.5

Sun Solaris 2.3
  • Sun 102034-05
    sparc


Sun Solaris 2.5_x86

Sun Solaris 2.4

Sun Solaris 2.5.1 _x86

Sun Solaris 2.5.1

References

Solaris rpcbind file overwrite 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