SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Welcome to SecurityTracker!
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  OS (Linux)  >  ncpfs Vendors:  kernel.org
(Red Hat Issues Fix for RH Linux) Linux Kernel ncpfs Stack Overflow Lets Local Users Gain Elevated Privileges
SecurityTracker Alert ID:  1009101
CVE Reference:  CAN-2004-0010   (Links to External Site)
Date:  Feb 18 2004
Impact:  Execution of arbitrary code via local system, Root access via local system, User access via local system
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): Red Hat Linux 9
Description:  A vulnerability was reported in the Linux 2.6 kernel in ncpfs. A local user can gain elevated privileges on the target system.

It is reported that ncp_lookup() does not validate name component lengths. A local user can cause data to overflow onto the stack, resulting in the execution of arbitrary code.

Arjan van de Ven is credited with discovering this flaw.

[Editor's note: It is not clear if the 2.4 kernel or any other kernel series is affected.]

Impact:  A local user can gain elevated privileges on the target system.
Solution:  Red Hat has issued a fix.

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/kernel-2.4.20-30.9.src.rpm

athlon:
ftp://updates.redhat.com/9/en/os/ath lon/kernel-2.4.20-30.9.athlon.rpm
ftp://updates.redhat.com/9/en/os/athlon/kernel-smp-2.4.20-30.9.athlon.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/kernel-2.4.20 -30.9.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/kernel-BOOT-2.4.20-30.9.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/kernel-doc-2.4.20-30.9.i386.rpm
ftp://updat es.redhat.com/9/en/os/i386/kernel-source-2.4.20-30.9.i386.rpm

i686:
ftp://updates.redhat.com/9/en/os/i686/kernel-2.4.20-30.9.i686.rpm
ftp://updates.redhat.com/9/en/o s/i686/kernel-bigmem-2.4.20-30.9.i686.rpm
ftp://updates.redhat.com/9/en/os/i686/kernel-smp-2.4.20-30.9.i686.rpm

The verification checksums are:

MD5 sum Package Name

49493c8d5d9ddc2a4a9972ece04a6d8f 9/en/os/SRPMS/kernel-2.4.20-30.9.src.rpm
470b90ee4107de230f10f8a2a7d4 1c07 9/en/os/athlon/kernel-2.4.20-30.9.athlon.rpm
19b1e5ac305d1154272fc24f67e4b178 9/en/os/athlon/kernel-smp-2.4.20-30.9.athlon.rpm
f4d5fe1bc347ce6f4cd14f4044806a1c 9/en/os/i386/kernel-2.4.20-30.9.i386.rpm
56e1dbffc0ef2cc8b9437dac17125741 9/en/os/i386/kernel-BOOT-2.4.20-30.9.i386.rpm
4e2f8db760ab6fea751199a5a65c049c 9/en/os/i386/kernel-doc-2.4.20-30.9.i386.rpm
10b2197124f4e73546b85011b2907996 9/en/os/i386/kernel-source-2.4.20-30.9.i386.rpm
59cb85fd47dad7a60c141b6514643aa2 9/en/os/i686/kernel-2.4.20-30.9.i686.rpm
6aa14556eb3c01efcca8141269b9ec94 9/en/os/i686/kernel-bigmem-2.4.20-30.9.i686.rpm
cf3483753eaa7eb0eec8d5cef943f04a 9/en/os/i686/kernel-smp-2.4.20-30.9.i686.rpm

Vendor URL:  www.kernel.org/ (Links to External Site)
Cause:  Boundary error
Underlying OS:  Linux (Red Hat Linux)
Reported By:  bugzilla@redhat.com
Message History:   This archive entry is a follow-up to the message listed below.
Feb 18 2004 Linux Kernel ncpfs Stack Overflow Lets Local Users Gain Elevated Privileges



 Source Message Contents

Date:  Wed, 18 Feb 2004 07:04 -0500
From:  bugzilla@redhat.com
Subject:  [Full-Disclosure] [RHSA-2004:065-01] Updated kernel packages resolve security vulnerabilities

 

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

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

Synopsis:          Updated kernel packages resolve security vulnerabilities
Advisory ID:       RHSA-2004:065-01
Issue date:        2004-02-18
Updated on:        2004-02-18
Product:           Red Hat Linux
Keywords:          VMA privesc
Cross references:  
Obsoletes:         RHSA-2003:417
CVE Names:         CAN-2004-0003 CAN-2004-0010 CAN-2004-0075 CAN-2004-0077
- ---------------------------------------------------------------------

1. Topic:

Updated kernel packages that fix security vulnerabilities which may allow
local users to gain root privileges are now available.  These packages also
resolve other minor issues.

2. Relevant releases/architectures:

Red Hat Linux 9 - athlon, i386, i686

3. Problem description:

The Linux kernel handles the basic functions of the operating system.

Paul Starzetz discovered a flaw in return value checking in mremap() in the
Linux kernel versions 2.4.24 and previous that may allow a local attacker
to gain root privileges.  No exploit is currently available; however this
issue is exploitable. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-0077 to this issue.

The Vicam USB driver in kernel versions prior to 2.4.25 does not use the
copy_from_user function to access userspace, which crosses security
boundaries.  The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-0075 to this issue.

Arjan van de Ven discovered a flaw in ncp_lookup() in ncpfs that could
allow local privilege escalation.  ncpfs is only used to allow a system to
mount volumes of NetWare servers or print to NetWare printers.  The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2004-0010 to this issue.

Alan Cox found issues in the R128 Direct Render Infrastructure that could
allow local privilege escalation. The Common Vulnerabilities and Exposures
project (cve.mitre.org) has assigned the name CAN-2004-0003 to this issue.

All users are advised to upgrade to these errata packages, which contain
backported security patches that correct these issues.   

Red Hat would like to thank Paul Starzetz from ISEC for reporting the issue
CAN-2004-0077.

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.

If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate.  The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

113517 - RHEL 3.0 smp hang using prctl( PR_SET_PDEATHSIG

6. RPMs required:

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/kernel-2.4.20-30.9.src.rpm

athlon:
ftp://updates.redhat.com/9/en/os/athlon/kernel-2.4.20-30.9.athlon.rpm
ftp://updates.redhat.com/9/en/os/athlon/kernel-smp-2.4.20-30.9.athlon.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/kernel-2.4.20-30.9.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/kernel-BOOT-2.4.20-30.9.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/kernel-doc-2.4.20-30.9.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/kernel-source-2.4.20-30.9.i386.rpm

i686:
ftp://updates.redhat.com/9/en/os/i686/kernel-2.4.20-30.9.i686.rpm
ftp://updates.redhat.com/9/en/os/i686/kernel-bigmem-2.4.20-30.9.i686.rpm
ftp://updates.redhat.com/9/en/os/i686/kernel-smp-2.4.20-30.9.i686.rpm



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------

49493c8d5d9ddc2a4a9972ece04a6d8f 9/en/os/SRPMS/kernel-2.4.20-30.9.src.rpm
470b90ee4107de230f10f8a2a7d41c07 9/en/os/athlon/kernel-2.4.20-30.9.athlon.rpm
19b1e5ac305d1154272fc24f67e4b178 9/en/os/athlon/kernel-smp-2.4.20-30.9.athlon.rpm
f4d5fe1bc347ce6f4cd14f4044806a1c 9/en/os/i386/kernel-2.4.20-30.9.i386.rpm
56e1dbffc0ef2cc8b9437dac17125741 9/en/os/i386/kernel-BOOT-2.4.20-30.9.i386.rpm
4e2f8db760ab6fea751199a5a65c049c 9/en/os/i386/kernel-doc-2.4.20-30.9.i386.rpm
10b2197124f4e73546b85011b2907996 9/en/os/i386/kernel-source-2.4.20-30.9.i386.rpm
59cb85fd47dad7a60c141b6514643aa2 9/en/os/i686/kernel-2.4.20-30.9.i686.rpm
6aa14556eb3c01efcca8141269b9ec94 9/en/os/i686/kernel-bigmem-2.4.20-30.9.i686.rpm
cf3483753eaa7eb0eec8d5cef943f04a 9/en/os/i686/kernel-smp-2.4.20-30.9.i686.rpm

These packages are GPG signed by Red Hat for security.  Our key is
available from https://www.redhat.com/security/keys.html

You can verify each package with the following command:
    
    rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    
    md5sum <filename>


8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0003
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0010
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0075
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0077

9. Contact:

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

Copyright 2003 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFAM1SlXlSAg2UNWIIRAmkjAJ0ar8YWgla1PtCnIADu/mNjabPv2QCfbaYT
ctffXauxk1TjsaAEgozb4vI=
=Z02q
-----END PGP SIGNATURE-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2004, SecurityGlobal.net LLC