SCO UnixWare pkgadd Directory Traversal Bug Lets Local Users Gain Elevated Privileges
SecurityTracker Alert ID: 1019787|
SecurityTracker URL: http://securitytracker.com/id/1019787
(Links to External Site)
Date: Apr 4 2008
Modification of system information, Root access via local system|
Fix Available: Yes Vendor Confirmed: Yes |
A vulnerability was reported in pkgadd on SCO UnixWare. A local user can gain elevated privileges on the target system.|
The software does not properly validate user-supplied input. A local user can set specially crafted environment variable values to cause pkgadd to create or append to arbitrary files on the target system with root privileges.
The vendor was notified on September 4, 2007.
An anonymous researcher reported this vulnerability via iDefense.
A local user can obtain root privileges on the target system.|
The vendor has issued a patch (p534589).|
The vendor's advisory is available at:
Vendor URL: www.sco.com/support/update/download/release.php?rid=324 (Links to External Site)
Input validation error|
Source Message Contents
Date: Thu, 03 Apr 2008 18:47:36 -0400|
Subject: iDefense Security Advisory 04.03.08: SCO UnixWare pkgadd Directory
iDefense Security Advisory 04.03.08
Apr 03, 2008
SCO UnixWare is a UNIX operating system that runs on many OEM platforms.
The pkgadd command is used to install packages on the system. More
information about the product is available from the URL shown below.
Local exploitation of a directory traversal vulnerability within the
pkgadd program distributed with SCO Group Inc's UnixWare operating
system allows attackers to gain root privileges.
By setting an environment variable to a value containing directory
traversal sequences, such as "../", an attacker can cause the program
to create or append to arbitrary files on the system.
Exploitation allows attackers gain root privileges. Access to execute
arbitrary shell commands is required to exploit this issue.
By targeting specific system files, an attacker can add accounts or
otherwise facilitate privilege escalation.
iDefense confirmed the existence of this vulnerability within version
7.1.4 of UnixWare with all patches available as of August 27th, 2007
installed. Previous versions are suspected to be vulnerable.
Changing the permissions of the pkgadd command to only allow root to
execute this program will prevent exploitation of this vulnerability.
# chmod 700 /usr/sbin/pkgadd
VI. VENDOR RESPONSE
SCO has addressed this vulnerability by releasing patches. For more
information, consult their advisory at the following URL.
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2008-0310 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org/), which standardizes names for
VIII. DISCLOSURE TIMELINE
09/04/2007 Initial vendor notification
10/30/2007 Initial vendor response
04/03/2008 Coordinated public disclosure
The discoverer of this vulnerability wishes to remain anonymous.
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Copyright © 2008 iDefense, Inc.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically,
please e-mail firstname.lastname@example.org for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct,
indirect, or consequential loss or damage arising from use of, or
reliance on, this information.
To unsubscribe, go here: