Bugtraq mailing list archives

[ GLSA 200501-44 ] ncpfs: Multiple vulnerabilities


From: Thierry Carrez <koon () gentoo org>
Date: Sun, 30 Jan 2005 19:55:45 +0100

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200501-44
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: ncpfs: Multiple vulnerabilities
      Date: January 30, 2005
      Bugs: #77414
        ID: 200501-44

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

The ncpfs utilities contain multiple flaws, potentially resulting in
the remote execution of arbitrary code or local file access with
elevated privileges.

Background
==========

ncpfs is a NCP protocol network filesystem driver that allows access to
NetWare services, to mount volumes of NetWare servers or print to
NetWare print queues.

Affected packages
=================

    -------------------------------------------------------------------
     Package       /  Vulnerable  /                         Unaffected
    -------------------------------------------------------------------
  1  net-fs/ncpfs       < 2.2.6                               >= 2.2.6

Description
===========

Erik Sjolund discovered two vulnerabilities in the programs bundled
with ncpfs: there is a potentially exploitable buffer overflow in
ncplogin (CAN-2005-0014), and due to a flaw in nwclient.c, utilities
using the NetWare client functions insecurely access files with
elevated privileges (CAN-2005-0013).

Impact
======

The buffer overflow might allow a malicious remote NetWare server to
execute arbitrary code on the NetWare client. Furthermore, a local
attacker may be able to create links and access files with elevated
privileges using SUID ncpfs utilities.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All ncpfs users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-fs/ncpfs-2.2.6"

References
==========

  [ 1 ] CAN-2005-0013
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0013
  [ 2 ] CAN-2005-0014
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0014
  [ 3 ] ncpfs ChangeLog
        ftp://platan.vc.cvut.cz/pub/linux/ncpfs/Changes-2.2.6

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200501-44.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security () gentoo org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

Attachment: signature.asc
Description: OpenPGP digital signature


Current thread: