Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA38327

ncpfs Weakness and Security Issues
Secunia Advisory SA38327
Secunia VIM 4.0 - Free Trial
Release Date 2010-01-29
Last Update 2011-04-13
   
Popularity 3,202 views
Comments 0 comments

Criticality level Not criticalNot critical
Impact Exposure of system information
Exposure of sensitive information
Privilege escalation
DoS
Where Local system
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Unpatched
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
Remediation status Secunia VIM
   
Software:
ncpfs 2.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2010-0788 CVSS score available to Secunia VIM customers
CVE-2010-0790 CVSS score available to Secunia VIM customers
CVE-2010-0791 CVSS score available to Secunia VIM customers
CVE-2011-1679 CVSS score available to Secunia VIM customers
CVE-2011-1680 CVSS score available to Secunia VIM customers
  

Description

A weakness and some security issues have been reported in ncpfs, which can be exploited by malicious, local users to disclose system information and potentially sensitive information, cause a DoS (Denial of Service), and potentially gain escalated privileges.

1) Some security issues are caused due to race conditions within the "ncpmount", "ncpumount", and "ncplogin" utilities, which can be exploited to unmount arbitrary mountpoints or mount Netware shares into arbitrary directories.

2) A weakness is caused due to an error within the "ncpumount" utility, which can be exploited to confirm the existence of arbitrary files.

3) A security issue is caused due to the "ncpmount", "ncpumount", and "ncplogin" utilities potentially leaving a stale "/etc/mtab~" lock file, which can be exploited to prevent other mount utilities from operating correctly.

4) The "ncpmount" and "ncpumount" are not properly handling the SIGXFSZ signal when e.g. adding new file system descriptions to "/etc/mtab", which can be exploited to e.g. corrupt the "/etc/mtab" file or leave a stale "/etc/mtab~" file by setting a low RLIMIT_FSIZE limit.

Note: Successful exploitation may require that the affected utilities are suid root.


Solution
Restrict access to trusted users only.

Provided and/or discovered by
Dan Rosenberg

Changelog
Further details available to Secunia VIM customers

Original Advisory
Dan Rosenberg:
http://archives.neohapsis.com/archives/fulldisclosure/2010-03/0121.html
http://www.openwall.com/lists/oss-security/2011/03/04/9
http://www.openwall.com/lists/oss-security/2011/03/15/6

Red Hat:
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2009-3297

Deep Links
Links available to Secunia VIM customers


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: ncpfs Weakness and Security Issues
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability