[UNIX] IBM AIX mklvcopy Privilege Escalation



The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -



IBM AIX mklvcopy Privilege Escalation
------------------------------------------------------------------------


SUMMARY

Local privilege escalation vulnerability exist in IBM AIX mklvcopy which
allows users of local system group to gain root privilege.

DETAILS

Vulnerable Systems:
* IBM AIX 5.3

CVE Information:
<http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1246>
CVE-2006-1246

The mklvcopy shipped with IBM AIX 5.3 is used to increase the number of
copies in each logical partition in LogicalVolume. By default mklvcopy is
set with suid root bit, and can be run by system group users.

mklvcopy contains a vulnerability when calling external commands, which
allows a local attacker to execute arbitrary command as root. Successful
exploitation requires the attacker should gain system group privilege
first.

Workaround:
Remove suid root bit from mklvocpy.
# chmod a-s /usr/sbin/mklvcopy

The vendor has released Patch APAR IY82739 to fix the vulnerability. The
related
link is: <http://www-1.ibm.com/support/docview.wss?uid=isg1IY82739>
http://www-1.ibm.com/support/docview.wss?uid=isg1IY82739

AIX 5 APAR Patch can be downloaded at:
<http://www.ibm.com/servers/eserver/support/unixservers/aixfixes.html>
http://www.ibm.com/servers/eserver/support/unixservers/aixfixes.html

The temporary patch for the vulnerability can be downloaded at:
<ftp://aix.software.ibm.com/aix/efixes/security/mklvcopy_ifix.tar.Z>
ftp://aix.software.ibm.com/aix/efixes/security/mklvcopy_ifix.tar.Z


ADDITIONAL INFORMATION

The original article can be found at:
<http://www.nsfocus.com/english/homepage/research/0602.htm>
http://www.nsfocus.com/english/homepage/research/0602.htm



========================================


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages