Multiple vendor ypxfrd daemon file disclosure
| ypxfrd-file-disclosure (10329) |
Description:
A vulnerability in multiple vendor implementations of the ypxfrd daemon could allow a local or remote attacker to read any file on the system. When the getdbm procedure is called, an attacker could send map and domain arguments to the /var/yp/domain/map file that contain "dot" or "slash" characters, which would allow the attacker to gain access to databases outside of the /var/yp directory. An attacker could exploit this vulnerability to read any file on the server and possibly gain elevated privileges.
Platforms Affected:
- Compaq, Tru64 4.0f
- Compaq, Tru64 4.0g
- Compaq, Tru64 5.0a
- Compaq, Tru64 5.1
- Compaq, Tru64 5.1a
- HP, HP-UX 10.20
- HP, HP-UX 10.26
- HP, HP-UX 11.00
- HP, HP-UX 11.11
- HP, HP-UX 11.22
- SCO, Caldera OpenServer 5.0.5
- SCO, Caldera OpenServer 5.0.6
- Sun, Solaris 2.6
- Sun, Solaris 7.0
- Sun, Solaris 8
- Sun, Solaris 9
- Sun, Solaris
Remedy:
For HP Tru64 UNIX:
Apply the appropriate Early Release Patches (ERPs) for your system, as listed in Compaq SECURITY BULLETIN: SSRT2339 (ypxfrd) and SSRT2368 (ypserv) HP Tru64 UNIX Potential Security Vulnerability. See References.
For Caldera OpenServer 5.0.5 and 5.0.6:
Upgrade to the appropriate fixed binaries, as listed in Caldera International, Inc. Security Advisory CSSA-2002-SCO.40. See References.
For Sun Solaris:
Apply the appropriate patch for your system, as listed below. Refer to Sun Alert ID: 47903 for more information. See References.
SPARC:
Solaris 2.6: 108890-02 or later
Solaris 7: 106541-24 or later
Solaris 8: 109328-03 or later
Solaris 9: 113579-01 or later
X86:
Solaris 2.6: 108891-02 or later
Solaris 7: 106542-24 or later
Solaris 8: 109329-03 or later
For HP-UX:
Apply the appropriate patch for your system, as listed in HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0401-306. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Obtain Information
References:
- BugTraq Mailing List, Thu Oct 10 2002 - 11:39:26 CDT, Multiple vendor ypxfrd map handling vulnerability at http://archives.neohapsis.com/archives/bugtraq/2002-10/0140.html.
- Caldera International, Inc. Security Advisory CSSA-2002-SCO.40, OpenServer 5.0.5 OpenServer 5.0.6 : ypxfrd remote file access vulnerability at ftp://ftp.caldera.com/pub/updates/OpenServer/CSSA-2002-SCO.40/CSSA-2002-SCO.40.txt.
- CIAC Information Bulletin O-046, HP 'ypxfrd' daemon Vulnerability at http://www.ciac.org/ciac/bulletins/o-046.shtml.
- Compaq SECURITY BULLETIN , SSRT2339 (ypxfrd) and SSRT2368 (ypserv) HP Tru64 UNIX Potential Security Vulnerability at http://archives.neohapsis.com/archives/bugtraq/2002-10/0136.html. (From Neohapsis archive)
- Sun Alert ID: 47903, Security Vulnerability in the ypserv(1M) and ypxfrd(1M) Daemons at http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F47903&zone_32=47903.
- BID-5912: Multiple Platforms ypxfrd Remote File Disclosure Vulnerability
- BID-5937: ypxfrd Local File Disclosure Vulnerability
- CVE-2002-1199: The getdbm procedure in ypxfrd allows local users to read arbitrary files, and remote attackers to read databases outside /var/yp, via a directory traversal and symlink attack on the domain and map arguments.
- US-CERT VU#538033: ypxfrd daemon fails to properly validate user supplied arguments in getdbm procedure
Reported:
Oct 07, 2002
The information within this database may change without notice. 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. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
