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.

Impact

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.

Workaround

There is no known workaround at this time.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1174


Solution:
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
$52.99
ASUS M4A88T-M/USB3 AMD AM3 Phenom/Athlon Motherboard + 4GB Corsair DDR3 RAM NAS pictureGigabyte AMD GA-AM1M-S2H Motherboard
$15.0
Gigabyte AMD GA-AM1M-S2H Motherboard pictureApple iMac 20" 2008 A1224 2.66GHz Logic Board Motherboard 820-2223-A AS IS
$24.02
Apple iMac 20Acer Aspire R7-571 15.6" Intel I5-3337U Motherboard LA-A001P AS IS READ
$40.0
Acer Aspire R7-571 15.6


Discussions

No Discussions have been posted on this vulnerability.