mailing list archives
iDefense Security Advisory 04.03.08: SCO UnixWare pkgadd Directory Traversal Vulnerability
From: iDefense Labs <labs-no-reply () idefense com>
Date: Thu, 03 Apr 2008 18:47:32 -0400
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 customerservice () idefense com 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.
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/
- iDefense Security Advisory 04.03.08: SCO UnixWare pkgadd Directory Traversal Vulnerability iDefense Labs (Apr 03)