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

SecurityTracker
Archives


Try our Premium Alert Service
 
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





Category:   Application (File Transfer/Sharing)  >   ncpfs Vendors:   Vandrovec, Petr
ncpfs Access Control Bug Lets Local Users Access Files and Buffer Overflow May Let Local Users Execute Arbitrary Code
SecurityTracker Alert ID:  1013019
SecurityTracker URL:  http://securitytracker.com/id/1013019
CVE Reference:   CVE-2005-0013, CVE-2005-0014   (Links to External Site)
Date:  Jan 28 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:   The vendor has released a fixed version (2.2.6), available at:

ftp://platan.vc.cvut.cz/pub/linux/ncpfs/

Cause:   Access control error, Boundary error
Underlying OS:  Linux (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Jan 31 2005 (Gentoo Issues Fix) ncpfs Access Control Bug Lets Local Users Access Files and Buffer Overflow May Let Local Users Execute Arbitrary Code
Gentoo has released a fix.
May 17 2005 (Red Hat Issues Fix) ncpfs Access Control Bug Lets Local Users Access Files and Buffer Overflow May Let Local Users Execute Arbitrary Code
Red Hat has released a fix.



 Source Message Contents



[Original Message Not Available for Viewing]


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 2018, SecurityGlobal.net LLC