Vulnerability Assessment & Network Security Forums

If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.

Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200606-02] shadow: Privilege escalation

Vulnerability Assessment Details

[GLSA-200606-02] shadow: Privilege escalation

Vulnerability Assessment Summary
shadow: Privilege escalation

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200606-02
(shadow: Privilege escalation)

When the mailbox is created in useradd, the "open()" function does
not receive the three arguments it expects while O_CREAT is present,
which leads to random permissions on the created file, before fchmod()
is executed.


Depending on the random permissions given to the mailbox file
which is at this time owned by root, a local user may be able to open
this file for reading or writing, or even executing it, maybe as the
root user.


There is no known workaround at this time.


All shadow users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/shadow-4.0.15-r2"

Network Security Threat Level: Medium

Networks Security ID:

Vulnerability Assessment Copyright: (C) 2006 Michel Arboi

Cables, Connectors

ASUS M4A88T-M/USB3 AMD AM3 Phenom/Athlon Motherboard + 4GB Corsair DDR3 RAM NAS
ASUS M4A88T-M/USB3 AMD AM3 Phenom/Athlon Motherboard + 4GB Corsair DDR3 RAM NAS pictureGigabyte AMD GA-AM1M-S2H Motherboard
Gigabyte AMD GA-AM1M-S2H Motherboard pictureApple iMac 20" 2008 A1224 2.66GHz Logic Board Motherboard 820-2223-A AS IS
Apple iMac 20Acer Aspire R7-571 15.6" Intel I5-3337U Motherboard LA-A001P AS IS READ
Acer Aspire R7-571 15.6


No Discussions have been posted on this vulnerability.