Tried, Tested and Proven

Vulnerability title: SetUID/SetGID Programs Allow Privilege Escalation Via Insecure RPATH In Multiple HP Products For Linux

CVE: CVE-2013-6216
Vendor: HP
Product: HP Array Configuration Utility
HP Array Diagnostics Utility
HP ProLiant Array Diagnostics
SmartSSD Wear Gauge Utility Running on Linux
Affected version: 9.40
Fixed version: N/A
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='/opt/hp/hpadu/bld/hpipcclient' SUIDFILELS='-rwsr-sr-- 1 root hpsmh 32752 Dec 13 2012 /opt/hp/hpadu/bld/hpipcclient' RPATH='' RPATHRELATIVE=yes RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/opt/compaq/cpqacuxe/bld/hpipcclient' SUIDFILELS='-rwsr-Sr-- 1 root root 32752 Dec 13 2012 /opt/compaq/cpqacuxe/bld/hpipcclient' 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.

Vendor status:

26/02/2014 Advisory created
28/02/2014 Vendor contacted
03/03/2014 Vendor investigating vulnerability
03/12/2014 Vendor confirmed vulnerability
02/04/2014 CVE provided by HP
07/04/2014 HP Bulletin released
09/04/2014 Published

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.