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]

iDefense Security Advisory 07.09.07: IBM AIX libodm ODMPATH Stack Overfl

Subject: iDefense Security Advisory 07.09.07: IBM AIX libodm ODMPATH Stack Overflow Vulnerability
Date: Tue, 10 Jul 2007 13:10:20 -0400
IBM AIX libodm ODMPATH Stack Overflow Vulnerability

iDefense Security Advisory 07.09.07
http://labs.idefense.com/intelligence/vulnerabilities/
Jul 09, 2007

I. BACKGROUND

AIX applications use libodm to access system settings and device
configuration data stored in the Object Database Manager. The Manager
is responsible for accessing and updating such things as currently
installed software packages and devices. Many of the applications that
use libodm are installed set-uid root.

II. DESCRIPTION

Local exploitation of a buffer overflow vulnerability in IBM Corp.'s AIX
libodm library could allow an attacker to execute arbitrary code on a
targeted host.

The vulnerability exists in the processing of the ODMPATH environment
variable within the odm_searchpath() function. This function reads the
ODMPATH variable from the user provided environment, and then copies it
into a fixed sized stack buffer without properly validating its length.
This results in a stack-based buffer overflow, and allows the saved
return address to be overwritten.

III. ANALYSIS

Exploitation allows an attacker to execute code with root privileges.

Since this is a local attack, an attacker has complete control over the
process environment and can reliably place shellcode at known
addresses. This makes exploitation of this vulnerability trivial.

IV. DETECTION

iDefense has confirmed the existence of this vulnerability in AIX
version 5.3 SP 4. Previous versions may be vulnerable.

V. WORKAROUND

iDefense is currently unaware of any workarounds for this issue.

VI. VENDOR RESPONSE

IBM Corp. has addressed this vulnerability with interim fixes. More
information is available at the following URL.

http://www-1.ibm.com/support/docview.wss?uid=isg1IY97632

VII. CVE INFORMATION

A Mitre Corp. Common Vulnerabilities and Exposures (CVE) number has not
been assigned yet.

VIII. DISCLOSURE TIMELINE

04/02/2007  Initial vendor notification
04/05/2007  Initial vendor response
07/09/2007  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 © 2007 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.

<Prev in Thread] Current Thread [Next in Thread>
  • iDefense Security Advisory 07.09.07: IBM AIX libodm ODMPATH Stack Overflow Vulnerability, iDefense Labs <=