Date: 18 May 2000
References: ESB-2000.092
Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
===========================================================================
AUSCERT External Security Bulletin Redistribution
ESB-2000.098 -- FreeBSD-SA-00:18 [REVISED]
gnapster/knapster port allows remote users to view local files
18 May 2000
===========================================================================
AusCERT Security Bulletin Summary
---------------------------------
Product: gnapster
knapster
Vendor: FreeBSD
Operating System: FreeBSD
Unix
Platform: N/A
Impact: Access Privileged Data
Access Required: Remote
Ref: ESB-2000.092
- --------------------------BEGIN INCLUDED TEXT--------------------
- -----BEGIN PGP SIGNED MESSAGE-----
=============================================================================
FreeBSD-SA-00:18 Security Advisory
FreeBSD, Inc.
Topic: gnapster/knapster ports allows remote users to view local files
Category: ports
Module: gnapster/knapster
Announced: 2000-05-09
Reissued: 2000-05-16
Credits: Fixed by vendor.
Knapster vulnerability pointed out by:
Tom Daniels <daniels@CERIAS.PURDUE.EDU> via BugTraq
Affects: Ports collection.
Corrected: 2000-04-29 (gnapster)
2000-05-01 (knapster)
Vendor status: Updated version released.
FreeBSD only: NO
I. Background
Gnapster and knapster are clients for the Napster file-sharing network.
II. Problem Description
The gnapster port (version 1.3.8 and earlier), and the knapster port
(version 0.9 and earlier) contain a vulnerability which allows remote
napster users to view any file on the local system which is accessible
to the user running gnapster/knapster. Gnapster and knapster do not
run with elevated privileges, so it is only the user's regular
filesystem access permissions which are involved.
Note that there may be further undiscovered bugs in these and other
napster clients leading to a similar vulnerability. System
administrators and users should exercise discretion in installing a
napster client on their system.
The gnapster/knapster ports are not installed by default, nor are they
"part of FreeBSD" as such: they are part of the FreeBSD ports
collection, which contains over 3200 third-party applications in a
ready-to-install format. The ports collection shipped with FreeBSD 4.0
contains this problem since it was discovered after the release.
FreeBSD makes no claim about the security of these third-party
applications, although an effort is underway to provide a security
audit of the most security-critical ports.
III. Impact
Remote users can view files accessible to the user running the
gnapster/knapster client.
If you have not chosen to install a napster client, then your system
is not vulnerable to this problem.
IV. Workaround
Deinstall the gnapster and/or knapster port/package, if you you have
installed them.
V. Solution
One of the following:
1) Upgrade your entire ports collection and rebuild the gnapster
and/or knapster port.
2) Reinstall a new package dated after the correction date, obtained from:
[gnapster]
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-3-stable/audio/gnapster-1.3.9.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/audio/gnapster-1.3.9.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-4-stable/audio/gnapster-1.3.9.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5-current/audio/gnapster-1.3.9.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-5-current/audio/gnapster-1.3.9.tgz
[knapster]
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-3-stable/audio/knapster-0.10.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/audio/knapster-0.10.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-4-stable/audio/knapster-0.10.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5-current/audio/knapster-0.10.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-5-current/audio/knapster-0.10.tgz
3) download a new port skeleton for the gnapster/knapster ports from:
http://www.freebsd.org/ports/
and use it to rebuild the port(s).
4) Use the portcheckout utility to automate option (3) above. The
portcheckout port is available in /usr/ports/devel/portcheckout or the
package can be obtained from:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/devel/portcheckout-1.0.tgz
VI. Revision History
v1.0 2000-05-09 Initial release
v1.1 2000-05-16 Update to note that knapster 0.9 is also vulnerable and
broaden warning to include all napster clients.
- -----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBOSMRPVUuHi5z0oilAQHclAP/X+2Xdki6PUEZ/fCHdwZTLEC0kQNenOJ9
oWxWFuI4z3jpylQ3CweIoo9akx32ZzyIVHTViG3mF2BC+NRQShl1aXu2MYqy6vKc
c4R+oHxx2OeYSQo4Q8rS8Ttxa543ynXg9wLBL0vtGMq07GtVYTXpg1+Ooi+QKe2o
9JMpcxAohAQ=
=2iHQ
- -----END PGP SIGNATURE-----
- --------------------------END INCLUDED TEXT--------------------
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.
NOTE: This is only the original release of the security bulletin. It may
not be updated when updates to the original are made. If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.
Contact information for the authors of the original document is included
in the Security Bulletin above. If you have any questions or need further
information, please contact them directly.
Previous advisories and external security bulletins can be retrieved from:
http://www.auscert.org.au/Information/advisories.html
If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).
Internet Email: auscert@auscert.org.au
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-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key
iQCVAwUBOXXSnih9+71yA2DNAQFCOQP7B1Sds99fnTtJIze9CduG115/GMsT626W
Lbnn1dWvM95KbwaiLL+sBSGQ0PYQw6rNfaKsooRIRLPQcLsmsgxL0FKOAPA5Z+EY
jrimx0Ij0hJpworgKZOnMsV3DeNsnO4yLGeHQqE4iCuWCrHaAARn3XUmwNfZfpBR
Nl2Rlp5c1xY=
=8j3t
-----END PGP SIGNATURE-----
|