shadow: Unauthorized modification of account information
Gentoo Linux Security Advisory
||GLSA 200411-09 / shadow
||November 04, 2004
||November 05, 2004: 02
All supported architectures
A flaw in the chfn and chsh utilities might allow modification of account
properties by unauthorized users.
shadow provides a set of utilities to deal with user accounts.
Martin Schulze reported a flaw in the passwd_check() function in
"libmisc/pwdcheck.c" which is used by chfn and chsh.
A logged-in local user with an expired password may be able to use chfn and
chsh to change his standard shell or GECOS information (full name, phone
number...) without being required to change his password.
There is no known workaround at this time.
All shadow users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/shadow-4.0.5-r1"