----------------------------------------------------------------------

Want to join the Secunia Security Team?

Secunia offers a position as a security specialist, where your daily
work involves reverse engineering of software and exploit code,
auditing of source code, and analysis of vulnerability reports.

http://secunia.com/secunia_security_specialist/

----------------------------------------------------------------------

TITLE:
Shadow "useradd.c" Insecure Mailbox File Permissions

SECUNIA ADVISORY ID:
SA20370

VERIFY ADVISORY:
http://secunia.com/advisories/20370/

CRITICAL:
Less critical

IMPACT:
Privilege escalation

WHERE:
Local system

SOFTWARE:
Shadow 4.x
http://secunia.com/product/4190/

DESCRIPTION:
A security issue has been reported in Shadow, which potentially can
be exploited by malicious, local users to perform certain actions
with escalated privileges.

The security issue is cause due to the "mode" flag not being supplied
to the "open()" function in useradd.c when creating a user's mailbox
file. This causes the mailbox to be created with unpredictable file
permissions and may allow malicious users to read or modify the
mailbox.

The security issue has been reported in version 4.0.7 and prior.

SOLUTION:
Update to version 4.0.8 or later.
ftp://ftp.pld.org.pl/software/shadow/

PROVIDED AND/OR DISCOVERED BY:
Reported by vendor.

ORIGINAL ADVISORY:
http://cvs.pld.org.pl/shadow/NEWS?rev=1.109
http://cvs.pld.org.pl/shadow/src/useradd.c?r1=1.50&r2=1.51

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

----------------------------------------------------------------------