AIX 6.1 TL 2 : libC (IZ56205)
High Nessus Plugin ID 64343
SynopsisThe remote AIX host is missing a security patch.
DescriptionThere is a an error in the handling of the _LIB_INIT_DBG and
_LIB_INIT_DBG_FILE environment variables in a debugging component of the XL C++ runtime library. A local user can exploit this error when executing setuid root programs linked with the XL C++ runtime library, and thereby create arbirtrary, world writeable files owned by root.
The successful exploitation of this vulnerability allows a local user to create arbitrary files and execute arbitrary code as the root user.
Note that in AIX 6.1 the debugging component moved from libC.a to libc.a. This means that the fix is delivered by updating the XL C++ runtime on AIX 5.3 and earlier, and by updating the bos.rte.libc fileset on AIX 6.1.
The following libraries are vulnerable :
AIX 5.3 and earlier: /usr/lpp/xlC/lib/libC.a
AIX 6.1: /usr/ccs/lib/libc.a /usr/ccs/lib/libp/libc.a.
SolutionInstall the appropriate interim fix.