-----BEGIN PGP SIGNED MESSAGE-----
AUSCERT External Security Bulletin Redistribution
ESB-1999.015 -- NetBSD Security Advisory 1999-002
Security problem with netstat
10 February 1999
The NetBSD Foundation, Inc. has released the following security advisory
regarding a vulnerability with netstat. This vulnerability may allow local
users to read any kernel memory location.
- -----BEGIN PGP SIGNED MESSAGE-----
NetBSD Security Advisory 1999-002
Topic: Security problem with netstat
Version: NetBSD-current from 19980603 to 19990208.
Severity: Local users are able to read any kernel memory
In the version of netstat between the two dates above, a security hole
exists which will allow non-root users to examine any kernel memory
The code which was added to allow printing of kernel protocol control
blocks does not have strict checks to make certain the memory being
display is a protocol control block. Also, since the block contains
information like TCP sequence numbers, users should generally not be
allowed to examine these blocks.
Solutions and Workarounds
NetBSD-current users should update to a source tree newer than
19990208, or apply this patch and rebuild netstat:
If this action cannot be taken easily, netstat can be disabled for
chmod 555 /usr/bin/netstat
Thanks go to Michael Graff <firstname.lastname@example.org> and Charles Hannum
<email@example.com> for the discovery and resolution of this bug.
Information about NetBSD and NetBSD security can be found at
http://www.NetBSD.ORG/ and http://www.NetBSD.ORG/Security/.
Copyright 1999, The NetBSD Foundation, Inc. All Rights Reserved.
$NetBSD: NetBSD-SA1999-002.txt,v 1.2 1999/02/09 01:27:27 mrg Exp $
- -----BEGIN PGP SIGNATURE-----
- -----END PGP SIGNATURE-----
This security bulletin is provided as a service to AusCERT's members.
As AusCERT did not write the document quoted above, AusCERT has
had no control over its content. The decision to use any or all
of this information is the responsibility of each user or organisation,
and should be done so in accordance with site policies and procedures.
Previous advisories and external security bulletins can be retrieved from:
If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Internet Email: firstname.lastname@example.org
Facsimile: (07) 3365 7031
Telephone: (07) 3365 4417 (International: +61 7 3365 4417)
AusCERT personnel answer during Queensland business hours
which are GMT+10:00 (AEST).
On call after hours for emergencies.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----