Title: Solaris rpcbind file overwrite Vulnerability
Severity: MODERATE
Description:
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.
Affected Products:
- Sun Solaris 2.3.0
- Sun Solaris 2.4.0
- Sun Solaris 2.4.0_x86
- Sun Solaris 2.5.0
- Sun Solaris 2.5.0_x86
- Sun Solaris 2.5.1
- Sun Solaris 2.5.1_x86
- Sun Solaris 2.6
- Sun Solaris 2.6_x86
References:
- Sun Microsystems: Sun Patch Access Page
- Sun Microsystems: Sun Patches List
- Sun Microsystems: Sunsolve Online(tm)
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.