shadow: Unauthorized modification of account information — GLSA 200411-09

A flaw in the chfn and chsh utilities might allow modification of account properties by unauthorized users.

Affected packages

sys-apps/shadow on all architectures
Affected versions < 4.0.5-r1
Unaffected versions >= 4.0.5-r1

Background

shadow provides a set of utilities to deal with user accounts.

Description

Martin Schulze reported a flaw in the passwd_check() function in "libmisc/pwdcheck.c" which is used by chfn and chsh.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All shadow users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-apps/shadow-4.0.5-r1"

References

Release date
November 04, 2004

Latest revision
November 05, 2004: 02

Severity
low

Exploitable
local

Bugzilla entries