Tried, Tested and Proven

Vulnerability title: SetUID/SetGID Programs Allow Privilege Escalation Via Insecure RPATH In Compaq/Hewlett Packard Glance For Linux

CVE: CVE-2014-2630
Vendor: Compaq/Hewlett Packard
Product: Glance for Linux
Affected version: 11.00 and subsequent
Fixed version: HPSBMU03086 rev.3
Reported by: Tim Brown

Details:

It has been identified that binaries that are executed with elevated privileges (SetGID and SetUID programs) in Compaq/HP’s Glance for Linux have been compiled in manner that means they searched for libraries in insecure locations.

SUIDFILE='/opt/perf/bin/xglance-bin' SUIDFILELS='-r-sr-xr-x 1 root bin 1301384 Dec 7 2012 /opt/perf/bin/xglance-bin' RPATH='-L/lib64' RPATHRELATIVE=yes RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/opt/perf/bin/xglance-bin' SUIDFILELS='-r-sr-xr-x 1 root bin 1301384 Dec 7 2012 /opt/perf/bin/xglance-bin' RPATH='-L/lib64' RPATHRELATIVE=yes RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes

Impact:

An attacker could place a malicious library in one of the above 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.

Exploit:

Exploit code is not required.

Vendor status:

26/02/2014 Advisory created
28/02/2014 Vendor contacted
03/03/2014 Vendor working on a fix
01/04/2014 Update requested from vender
04/04/2014 Vendor requested additional information
03/06/2014 Update requested from vender
04/06/2014 Vendor responded with update
11/08/2014 Fix confirmed and released
22/10/2014 Published
Copyright:

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.

Disclaimer:

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.