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

Samsung 860 Pro 256GB SSD 2.5" SATA III 6Gb/s Solid State Drive MZ-76P256
$59.99
Samsung 860 Pro 256GB SSD 2.5NEW Samsung V-NAND SSD 850 EVO - 250GB - Internal 2.5" Solid State Drive
$65.0
NEW Samsung V-NAND SSD 850 EVO - 250GB - Internal 2.5USB 3.0 To SATA 2.5 Inch Laptop Hard Disk Drive SSD Adapter Converter Cable Wire
$4.8
USB 3.0 To SATA 2.5 Inch Laptop Hard Disk Drive SSD Adapter Converter Cable Wire picture


Discussions

No Discussions have been posted on this vulnerability.