Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   OS (UNIX)  >   NetBSD Vendors:   NetBSD
NetBSD mail.local(8) Race Condition Lets Local Users Obtain Root Privileges
SecurityTracker Alert ID:  1036429
SecurityTracker URL:
CVE Reference:   CVE-2016-6253   (Links to External Site)
Date:  Jul 22 2016
Impact:   Modification of system information, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 6.0 - 6.0.6, 6.1 - 6.1.5. 7.0 - 7.0.1
Description:   A vulnerability was reported in NetBSD. A local user can obtain root privileges on the target system.

A local user can exploit a race condition in mail.local(8) to change the ownership of arbitrary files or append arbitrary data to arbitrary files to gain root privileges on the target system.

The race condition exists in the delivery of mail between the time that the set user id (suid) root '/usr/libexec/mail.local' application checks the status of a user's mailbox with lstat(2) to verify the file is not a symbolic link (symlink) and the time the application opens the file for writing.

Impact:   A local user can obtain gain root privileges on the target system.
Solution:   The vendor has issued a fix.

The vendor's advisory is available at:

Vendor URL: (Links to External Site)
Cause:   Access control error, State error

Message History:   None.

 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 2021, LLC