Rapid7 Vulnerability & Exploit Database

CESA-2003:058: shadow-utils security update

Back to Search

CESA-2003:058: shadow-utils security update

Severity
4
CVSS
(AV:L/AC:L/Au:N/C:P/I:P/A:N)
Published
03/03/2003
Created
07/25/2018
Added
03/12/2010
Modified
07/04/2017

Description

Updated shadow-utils packages are now available. These updated packages correct a bug that caused the useradd tool to create mail spools with incorrect permissions.

The shadow-utils package includes programs for converting UNIX password files to the shadow password format, plus programs for managing user and group accounts. One of these programs is useradd, which is used to create or update new user information. When creating a user account, the version of useradd included in CentOS packages creates a mail spool file with incorrectly-set group ownership. Instead of setting the file's group ownership to the "mail" group, it is set to the user's primary group. On systems where other users share the same primary group, this would allow those users to be able to read and write other user mailboxes. These errata packages contain an updated patch to useradd. Where a mail group exists, mailboxes will be created with group mail having read and write permissions. Otherwise the mailbox will be created without group read and write permissions. All users are advised to upgrade to these updated packages and also to check the /var/spool/mail directory to ensure that mailboxes have correct permissions.

Solution(s)

  • centos-upgrade-shadow-utils

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;