Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200606-02 ] shadow: Privilege escalation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Veteran
Veteran


Joined: 12 May 2004
Posts: 1471

PostPosted: Wed Jun 07, 2006 3:26 pm    Post subject: [ GLSA 200606-02 ] shadow: Privilege escalation Reply with quote

Gentoo Linux Security Advisory

Title: shadow: Privilege escalation (GLSA 200606-02)
Severity: normal
Exploitable: local
Date: June 07, 2006
Bug(s): #133615
ID: 200606-02

Synopsis

A security issue in shadow allows a local user to perform certain actions with escalated privileges.

Background

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

Affected Packages

Package: sys-apps/shadow
Vulnerable: < 4.0.15-r2
Unaffected: >= 4.0.15-r2
Architectures: All supported architectures


Description

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.

Resolution

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


References

CVE-2006-1174
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum