Shadow-utils useradd insecure file permission

shadow-utils-useradd-file-permission (26958) The risk level is classified as MediumMedium Risk

Description:

Shadow-utils could allow a local attacker to obtain sensitive information. The installation useradd.c utility creates the user's mail spool file with insecure permissions. A local attacker could exploit this vulnerability to read or modify the user's mailbox.

*CVSS:

Base Score: 3.9
  Access Vector: Local
  Access Complexity: High
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 2.9
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Obtain Information

Remedy:

Upgrade to the latest version of Shadow-utils (4.0.8 or later), available from the Shadow-utils Web site. See References.

For VMware ESX 3.0.1:
Apply Patch Bundle ESX-1001692, available from the VMware Web site. See References.

For VMware ESX 3.0.0:
Apply Patch Bundle ESX-1001207, available from the VMware Web site. See References.

For VMware ESX 3.0.2:
Apply Patch Bundle ESX-1001726, available from the VMware Web site. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-06-02 for patch, upgrade, or suggested workaround information. See References.

For Avaya (shadow-utils):
Refer to ASA-2007-249 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

  • Full-Disclosure Mailing List, Wed Sep 19 2007 - 21:15:23 CDT: VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player.
  • Shaow-utils CVS Repository: Shaow-utils CVS Repository.
  • VMware Security-announce Mailing list, Wed Sep 19 19:15:23 PDT 2007: VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player.
  • VMware, Inc. Web site: Download Patch ESX-1001207 for VMware ESX Server 3.0.0.
  • VMware, Inc. Web site: Download Patch ESX-1001692 for VMware ESX Server 3.0.1.
  • VMware, Inc. Web site: Download Patch ESX-1001726 for VMware ESX Server 3.0.2.
  • ASA-2007-249: shadow-utils security and bug fix update (RHSA-2007-0276)
  • ASA-2007-326: shadow-utils security and bug fix update (RHSA-2007-0431)
  • BID-18111: Shadow-Utils 'useradd' Local Insecure Permissions Vulnerability
  • CVE-2006-1174: useradd in shadow-utils before 4.0.3, and possibly other versions before 4.0.8, does not provide a required argument to the open function when creating a new user mailbox, which causes the mailbox to be created with unpredictable permissions and possibly allows attackers to read or modify the mailbox.
  • GLSA-200606-02: shadow: Privilege escalation
  • MDKSA-2006:090: Updated shadow-utils packages fix mailbox creation vulnerability
  • RHSA-2007-0276: Low: shadow-utils security and bug fix update
  • RHSA-2007-0431: Low: shadow-utils security and bug fix update
  • SA20370: Shadow "useradd.c" Insecure Mailbox File Permissions
  • SA25896: Avaya Products Shadow "useradd.c" Insecure Mailbox File Permissions
  • SA26909: VMware ESX Server Multiple Security Updates
  • SECTRACK ID: 1018221: shadow-utils `useradd` Unsafe Mailbox Folder Permissions May Let Local Users Read/Write Mail
  • US-CERT VU#312692: Shadow Utils useradd utility sets incorrect file permissions
  • VUPEN/ADV-2006-2006: Shadow-utils useradd Utility Insecure Mail Spool File Permission Vulnerability
  • VUPEN/ADV-2007-3229: VMware Products Command Execution and Security Bypass Vulnerabilities

Platforms Affected:

  • Avaya Application Enablement Services 4.0
  • Avaya Communication Manager 2.0
  • Avaya Communication Manager 2.0.1
  • Avaya Communication Manager 2.1
  • Avaya Communication Manager 2.1.1
  • Avaya Communication Manager 2.2
  • Avaya Communication Manager 2.2.1
  • Avaya Communication Manager 2.2.2
  • Avaya Communication Manager 3.0
  • Avaya Communication Manager 3.0.1
  • Avaya Communication Manager 3.1
  • Avaya Communication Manager 3.1.1
  • Avaya Communication Manager 3.1.2
  • Avaya Communication Manager 3.1.3
  • Avaya Communication Manager 3.1.4
  • Avaya Communication Manager 4.0
  • Avaya Communication Manager 4.0.1
  • Avaya Communication Manager 4.0.3
  • Avaya Converged Communications Server 3.1.1
  • Avaya Message Networking 3.1
  • Avaya Message Storage Server 3.0
  • Debian Shadow-utils 4.0.7 and prior
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux LE2005 X86_64
  • MandrakeSoft Mandrake Linux LE2005
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 AS
  • VMware ESX Server 3.0.0
  • VMware ESX Server 3.0.1
  • VMware ESX Server 3.0.2

Reported:

May 28, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.