Public Vulnerability Reports

IBM AIX libC _LIB_INIT_DBG Arbitrary File Creation Vulnerability



IBM's AIX is a Unix operating system based on System V, which runs on the PowerPC (PPC) architecture. For more information, visit the product website at the following URL.


Local exploitation of an arbitrary file creation vulnerability in IBM Corp.'s Advanced Interactive eXecutive (AIX) Operating System allows attackers to execute arbitrary code with super-user privileges.

This vulnerability exists due to the handling of several environment variables. The libC.a library will open files as specified by the "_LIB_INIT_DBG" and "_LIB_INIT_DBG_FILE" variables. The attacker's "umask" will be honored, allowing them to create world-writable files, owned by root, in arbitrary locations on the system.


Exploitation of this vulnerability allows attackers to execute arbitrary code with super-user privileges. In order to exploit this vulnerability an attacker must be able to execute a set-uid binary linked with the "libC.a" library. In default installations, several binaries may be executed by any user with a local account; no special group membership is needed.


iDefense has confirmed the existence of this vulnerability in IBM Corp.'s AIX version 5.3. Other versions may also be affected.


iDefense is currently unaware of any effective workaround for this issue.


IBM has released a patch which addresses this issue. For more information, consult their advisory at the following URL:


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


02/25/2009 - Initial Contact
03/03/2009 - Initial Response
08/04/2009 - IBM proposed release date of August 4th, 2009
08/04/2009 - Coordinated public disclosure


This vulnerability was reported to iDefense by Karol Wiesek.

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2009 Verisign, 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 customer service 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.