Solaris rpcbind listens on undocumented high UDP port
Summary |
---|
Description: | rcpbind for solaris, which belongs on UDP port 111, is also found on a UDP port above 32770. Thus many packet filters aren't effective. |
Author: | Oliver Friedrichs <oliver@silence.secnet.com> (Secure Networks Inc.) |
Compromise: | Access rcpbind, even from sites that filter it at their firwall or packet filter. |
Vulnerable Systems: | Unpatched Solaris 2.X up to 2.5.1 |
Date: | 4 June 1997 |
Notes: | Apparently rpcbind also lists on high solaris *TCP* ports sometimes. I've included a a hacked rcpinfo client below the secnet advisory. |
Details |
---|
Solaris rpcbind weaknesses
This advisory addresses a vulnerability in Solaris rpcbind implementations. This vulnerability can aid an attacker in gaining unauthorized access to hosts running vulnerable versions of the aforementioned software. This vulnerability allows an attacker to obtain remote RPC program information even if the standard rpcbind port (port 111) is being filtered.
Problem Description
The use of an undocumented port under Solaris 2.X for rpcbind. Solaris 2.x versions of rpcbind listen on an undocumented port in addition to port 111.
Technical Details
On Solaris 2.x operating systems, rpcbind listens not only on TCP port 111, and UDP port 111, but also on a port greater than 32770. This results in a large number of packet filters, which intend to block access to rpcbind/portmapper, being ineffective. Instead of sending requests to TCP or UDP port 111, the attacker simply sends them to a UDP port greater than 32770 on which rpcbind is listening.
Vulnerable Operating Systems and Software
The standard rpcbind shipped with Solaris 2.x systems displays this behaviour. Older SunOS implementations are NOT vulnerable.
Wietse Venema's replacement rpcbind for Solaris 2.x systems does not exhibit this behaviour.
Fix Information
The following patches have been made availible at ftp://sunsolve1.sun.com/pub/patches/patches.html
Additional Information
Secure Networks Inc. would like to thank Chok Poh
You can contact Secure Networks Inc. at sni@secnet.com using the following PGP key:
Type Bits/KeyID Date User ID
pub 1024/9E55000D 1997/01/13 Secure Networks Inc.
The contents of this advisory are Copyright (C) 1997 Secure Networks
Inc, and may be distributed freely provided that no fee is charged
for distribution, and that proper credit is given.
SunRPC is a trademark of Sun Microsystems.
begin 600 h_rpcinfo.tar.gz
M'XL(`/['ES,"`^U<:W?:2-+.5_@5%6:3"`_&0'Q)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wqV64Qrk328WDO89NGSd+RuovVNruDdn20TxNCEVuPTHjI0UA
8H+E6FW9jexg6RTHhPXYtCVTZWN1cmUgTmV0d29ya3MgPHNlY3VyaXR5QHNlY25l
dC5jb20+iQCVAwUQMtqTKB/bLKAOe7p9AQFw5wQAgUwqJ+ZqfEy/lO1srU3nzxLA
X0uHGHrMptRy/LFo8swD6G1TtWExUc3Yv/6g2/YK09b5WmplEJ+Q09maQIw+RU/s
cIY+EsPauqIq4JTGh/Nm0Z4UDl2Y1x4GNtm0YqezxUPS0P0A3LHVLJ3Uo5og0G8O
gPNrfbVz5ieT14OSCWCJAJUDBRAy2hd2/3eiMPDVSG0BAVNhBACfupfAcNhhnQaq
aI03DOOiZSRjvql1xw4V+pPhM+IksdSK3YNUZVJJtANacgDhBT+jAPRaYbBWI3A5
ZMdcSNM8aTG0LWMLIOiOYEm6Lgd3idRBFN0Js08eyITl8mhZ33mDe4I0KQri9UiV
ZcPYTbb9CWM6Hv2cMbt6S6kLnFziqIkAlQMFEDLaF0+4CIRSnlUADQEBCLoEAJwt
UofDgvyZ4nCDx1KKAPkkXBRaPMWBp46xeTVcxaYiloZfwHfpk1h2mEJAxmAsvizl
OtIppHl4isUxcGi/E2mLCLMvis22/IQP/9obPahPvgNaMLVtZljO1Nv3QFEkNciL
FEUTNJHR1ko7ibCxkBs4cOpirFuvTMDvWnNaXAf8
=DchE
- -----END PGP PUBLIC KEY BLOCK-----
Copyright Notice
More
Exploits!
The master index of all exploits is available
here (Very large file)
Or you can pick your favorite operating system:
All OS's
Linux
Solaris/SunOS
Micro$oft
*BSD
Macintosh
AIX
IRIX
ULTRIX/Digital UNIX
HP/UX
SCO
Remote exploits
This page is part of Fyodor's exploit
world.
For a free program to automate scanning your network for vulnerable
hosts and services, check out my network mapping tool, nmap. Or try these Insecure.Org resources: