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:
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 email@example.com
Subject: ncpfs Weakness and Security Issues
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.