Vulnerability title: SetUID/SetGID Programs Allow Privilege Escalation Via Insecure RPATH In BMC Patrol For AIX
|Product:||Patrol for AIX|
|Fixed version:||9.11.00.01 for 9.11
9.11.10.03 for 9.11.10
9.11.20.02 for 9.11.20
|Reported by:||Tim Brown|
It has been identified that binaries that are executed with elevated privileges (SetGID and SetUID programs) have been compiled in manner that means they searched for libraries in insecure locations.
SUIDFILE='/product/bmc/Patrol3/AIX188.8.131.52-64/best1/9.0.00/bgs/bin/bgscollect' SUIDFILELS='-r-sr-sr-x 1 root system 8745125 Apr 03 2012 /product/bmc/Patrol3/AIX184.108.40.206-64/best1/9.0.00/bgs/bin/bgscollect' RPATH='' RPATHRELATIVE=yes RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
An attacker could place a malicious library in one of the affected directories, which would then be loaded when the affected program is run, leading to privilege escalation in instances where the program runs with privileges that the attacker does not have. For example, if the program is SetUID root, the attacker would obtain root privileges upon exploiting this vulnerability.
The proof of concept exploit code is available.
|13/13/2014||Vendor contact reattempted|
|09/04/2014||Published||31/07/2014||Vendor notified us of fix||05/08/2014||Advisory updated|
Copyright © Portcullis Computer Security Limited 2014, All rights reserved worldwide. Permission is hereby granted for the electronic redistribution of this information. It is not to be edited or altered in any way without the express written consent of Portcullis Computer Security Limited.
The information herein contained may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user’s risk. In no event shall the author/distributor (Portcullis Computer Security Limited) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.