REDHAT-BUG-532940: Race Condition

Published Nov 4, 2009
·
Updated

Several race condition flaws were found in samba-client, fuse and ncpfs packages:

a, Ronald Volgers found a race condition in the samba-client's mount.cifs utility. Local, unprivileged user could use this flaw to conduct symlink attacks, leading to disclosure of sensitive information, or, possibly to privilege escalation.

Upstream bug report: https://bugzilla.samba.org/showbug.cgi?id=6853

Upstream Samba patches: http://git.samba.org/?p=samba.git;a=commit;h=3ae5dac462c4ed0fb2cd94553583c56fce2f9d80 http://git.samba.org/?p=samba.git;a=commit;h=a065c177dfc8f968775593ba00dffafeebb2e054 http://git.samba.org/?p=samba.git;a=commit;h=a0c31ec1c8d1220a5884e40d9ba6b191a04a24d5

Issue severity note for Red Hat Enteprise Linux: ------------------------------------------------

The mount.cifs binary, as shipped within samba-client package on Red Hat Enterprise Linux 4 and 5, is NOT shipped with setuid root bit enabled by default (local, unprivileged users on these systems are NOT able to mount custom CIFS filesystem shares), which mitigates the impact of the vulnera- bility.

b, Dan Rosenberg found a race condition in the FUSE's fusermount's utility by performing FUSE filesystem(s) unmount operation (it was not performed atomically). A local, unprivileged user could use this flaw to cause a denial of service (unprivileged unmount of FUSE filesystem share(s) owned by privileged user) via symlink attack involving FUSE share(s) belonging to privileged user.

Issue severity note for Red Hat Enterprise Linux: -------------------------------------------------

The "fusermount" utility, as shipped within "fuse" package in Red Hat Enterprise Linux 5 IS shipped with setuid root bit enabled by default, but the unprivileged user to be able to mount custom FUSE filesystem, he needs prior to be the member of special "fuse" users group (user membership in this group is granted by privileged user), which mitigates the impact of the vulnerability.

c, Dan Rosenberg found race conditions in the ncpfs ncpmount and ncpumount utilities. Local, unprivileged user could use these flaws to conduct symlink attacks, leading to denial of service (ncpumount), disclosure of sensitive information, or, possibly to privilege escalation (ncpmount).

Issue severity note for Fedora: -------------------------------

The "ncpmount and ncpumount" utilities, as shipped within "ncpfs" package in Fedora release of 11 and 12 are NOT shipped with setuid root bit enabled by default (unprivileged, local users are NOT able to mount / umount custom remote NCP shares), which mitigates the impact of the flaws.

Acknowledgements:

Red Hat would like to thank Dan Rosenberg for responsibly reporting these flaws.

Affected Software

5 affected components
Samba samba-client
Samba Samba
Samba mount.cifs
fuse FUSE
ncpfs ncpfs

Event History

Nov 4, 2009
Data Sourced
via Red Hat·12:45 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-532940?

The severity of REDHAT-BUG-532940 is considered high due to the potential for sensitive information disclosure through symlink attacks.

2

How do I fix REDHAT-BUG-532940?

To fix REDHAT-BUG-532940, you should update the samba-client, fuse, and ncpfs packages to their latest versions that contain the security patches.

3

Who is affected by REDHAT-BUG-532940?

Local, unprivileged users who have access to mount.cifs in samba-client are primarily affected by REDHAT-BUG-532940.

4

What type of vulnerabilities does REDHAT-BUG-532940 represent?

REDHAT-BUG-532940 represents race condition vulnerabilities that can lead to symlink attacks.

5

Is there a workaround for REDHAT-BUG-532940?

While a formal workaround may not be recommended, limiting user access to mounting operations may mitigate the risk temporarily.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
REDHAT-BUG-532940 - Race Condition - SecAlerts