Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Not critical

ncpfs Weakness and Security Issues

-

Release Date:  2010-01-29    Last Update:  2011-04-13    Views:  3,530

Secunia Advisory SA38327

Where:

Local system

Impact:

Exposure of system information, Exposure of sensitive information, Privilege escalation, DoS

Solution Status:

Unpatched

Software:

CVE Reference(s):

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

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-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability