SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (File Transfer/Sharing)  >   ncpfs Vendors:   Vandrovec, Petr
(Red Hat Issues Fix) ncpfs Access Control Bug Lets Local Users Access Files and Buffer Overflow May Let Local Users Execute Arbitrary Code
SecurityTracker Alert ID:  1013983
SecurityTracker URL:  http://securitytracker.com/id/1013983
CVE Reference:   CVE-2005-0013, CVE-2005-0014   (Links to External Site)
Date:  May 17 2005
Impact:   Disclosure of system information, Disclosure of user information, Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 2.2.6
Description:   Two vulnerabilities were reported in ncpfs. A local user can access arbitrary files with elevated privileges. A local user may also be able to execute arbitrary code with elevated privileges.

The ncp_fopen_nwc() function in 'ncpfs-2.2.0.18/lib/ncplib.c' does not properly control access to files. The function does not check to make sure that the file ownership matches the uid of the calling user. As a result, a local user can invoke ncpmount to cause ncpfs to access a file that the user would otherwise not be permitted to access [CVE: CVE-2005-0013].

The opt_set_volume_after_parsing_all_options() function in 'ncpfs-2.2.5/sutil/ncplogin.c' does not properly validate the length of user-supplied command line parameters. A local user can supply a specially crafted path value to trigger a buffer overflow, potentially allowing the local user to execute arbitrary code with elevated privileges [CVE: CVE-2005-0014].

Erik Sjolund is credited with discovering these flaws.

Impact:   A local user can access arbitrary files with elevated privileges.

A local user may also be able to execute arbitrary code with elevated privileges.

Solution:   Red Hat has released a fix.

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/ncpfs-2.2.0.18-6.EL2.src.rpm
97fc82b06243d3344766a6c83d7ce2cc ncpfs-2.2.0.18-6.EL2.src.rpm

i386:
8000785605e0093e0a51689a63fa56c9 ipxutils-2.2.0.18-6.EL2.i386.rpm
d38e5b535f4fc5a14d456a13b22c0532 ncpfs-2.2.0.18-6.EL2.i386.rpm

ia64:
1a46f4110cccbcebfc679f1371774c88 ipxutils-2.2.0.18-6.EL2.ia64.rpm
4e5a20f0012d01b177762ed8c557105f ncpfs-2.2.0.18-6.EL2.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/ncpfs-2.2.0.18-6.EL2.src.rpm
97fc82b06243d3344766a6c83d7ce2cc ncpfs-2.2.0.18-6.EL2.src.rpm

ia64:
1a46f4110cccbcebfc679f1371774c88 ipxutils-2.2.0.18-6.EL2.ia64.rpm
4e5a20f0012d01b177762ed8c557105f ncpfs-2.2.0.18-6.EL2.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/ncpfs-2.2.0.18-6.EL2.src.rpm
97fc82b06243d3344766a6c83d7ce2cc ncpfs-2.2.0.18-6.EL2.src.rpm

i386:
8000785605e0093e0a51689a63fa56c9 ipxutils-2.2.0.18-6.EL2.i386.rpm
d38e5b535f4fc5a14d456a13b22c0532 ncpfs-2.2.0.18-6.EL2.i386.rpm

Cause:   Access control error, Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  2.1

Message History:   This archive entry is a follow-up to the message listed below.
Jan 28 2005 ncpfs Access Control Bug Lets Local Users Access Files and Buffer Overflow May Let Local Users Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2005:371-01] Moderate: ncpfs security update


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Moderate: ncpfs security update
Advisory ID:       RHSA-2005:371-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-371.html
Issue date:        2005-05-17
Updated on:        2005-05-17
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2005-0013
- ---------------------------------------------------------------------

1. Summary:

An updated ncpfs package is now available.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386

3. Problem description:

Ncpfs is a file system that understands the Novell NetWare(TM) NCP
protocol.

A bug was found in the way ncpfs handled file permissions. ncpfs did not
sufficiently check if the file owner matched the user attempting to access
the file, potentially violating the file permissions. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2005-0013 to this issue.

All users of ncpfs are advised to upgrade to this updated package, which
contains backported fixes for this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains
the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/ncpfs-2.2.0.18-6.EL2.src.rpm
97fc82b06243d3344766a6c83d7ce2cc  ncpfs-2.2.0.18-6.EL2.src.rpm

i386:
8000785605e0093e0a51689a63fa56c9  ipxutils-2.2.0.18-6.EL2.i386.rpm
d38e5b535f4fc5a14d456a13b22c0532  ncpfs-2.2.0.18-6.EL2.i386.rpm

ia64:
1a46f4110cccbcebfc679f1371774c88  ipxutils-2.2.0.18-6.EL2.ia64.rpm
4e5a20f0012d01b177762ed8c557105f  ncpfs-2.2.0.18-6.EL2.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/ncpfs-2.2.0.18-6.EL2.src.rpm
97fc82b06243d3344766a6c83d7ce2cc  ncpfs-2.2.0.18-6.EL2.src.rpm

ia64:
1a46f4110cccbcebfc679f1371774c88  ipxutils-2.2.0.18-6.EL2.ia64.rpm
4e5a20f0012d01b177762ed8c557105f  ncpfs-2.2.0.18-6.EL2.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/ncpfs-2.2.0.18-6.EL2.src.rpm
97fc82b06243d3344766a6c83d7ce2cc  ncpfs-2.2.0.18-6.EL2.src.rpm

i386:
8000785605e0093e0a51689a63fa56c9  ipxutils-2.2.0.18-6.EL2.i386.rpm
d38e5b535f4fc5a14d456a13b22c0532  ncpfs-2.2.0.18-6.EL2.i386.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

6. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0013

7. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2005 Red Hat, Inc.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCigGHXlSAg2UNWIIRAtl7AKCOfSLuoLuVYgw5H3iBbsClu32O8wCeMhFr
kjOtpDzSbnsvvSRmSM0k5BY=
=mihg
-----END PGP SIGNATURE-----


-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC