20777 : NetBSD NIS Hostname Lookup Remote Overflow
Printer | http://osvdb.org/20777 | Email This | Edit Vulnerability

Views This Week

2

Views All Time

49

Info

Last Modified

10 months ago

Percent Complete

100%

Disclosure

Aug 04, 2000

Discovery

Unknown

Dates

Exploit

Unknown

Solution

Unknown

Description

A remote overflow exists in NetBSD. The hostname lookup code of the network information service (NIS) fails to check bounds on incoming match responses (IPv4 addresses) from NIS servers, resulting in a buffer overflow. With a specially crafted request, an attacker can hijack an account or gain elevated privileges, resulting in a loss of integrity.

Classification

Location: Remote/Network Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Unavailable
Disclosure: OSVDB Verified

Technical

This vulnerability is only present when the "hosts" line in /etc/nsswitch.conf has "nis" in it.

Solution

Upgrade to version 1.4.3 or higher or 1.5 or higher, as it has been reported to fix this vulnerability. In addition, NetBSD has released a patch for some older versions. It is also possible to correct the flaw by implementing the following workaround: turn NIS hostname lookup off by editing /etc/nsswitch.conf and removing "nis" from the "hosts" line.

Products

NetBSD Foundation, Inc.
Watch-list
NetBSD
Watch-list
1.3
1.3.x
1.4
1.4.1
1.4.2
1.5_ALPHA

References

Credit

  • Jun-ichiro itojun Hagino - itojunBrand New Doo Dooopenbsd.org -

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and 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 copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use