Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security VulnWatch
[Top] [All Lists]

[Full-disclosure] iDefense Security Advisory 04.03.08: SCO UnixWare pkga

Subject: [Full-disclosure] iDefense Security Advisory 04.03.08: SCO UnixWare pkgadd Directory Traversal Vulnerability
Date: Thu, 03 Apr 2008 18:47:32 -0400
iDefense Security Advisory 04.03.08
http://labs.idefense.com/intelligence/vulnerabilities/
Apr 03, 2008

I. BACKGROUND

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.

http://www.sco.com/products/unixware714/

II. DESCRIPTION

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.

III. ANALYSIS

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.

IV. DETECTION

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.

V. WORKAROUND

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.

http://www.sco.com/support/update/download/release.php?rid=324

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
security problems.

VIII. DISCLOSURE TIMELINE

09/04/2007  Initial vendor notification
10/30/2007  Initial vendor response
04/03/2008  Coordinated public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

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.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

<Prev in Thread] Current Thread [Next in Thread>
  • [Full-disclosure] iDefense Security Advisory 04.03.08: SCO UnixWare pkgadd Directory Traversal Vulnerability, iDefense Labs <=