exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

IBM DB2 Privilege Escalation

IBM DB2 Privilege Escalation
Posted Jun 4, 2014
Authored by Tim Brown | Site portcullis-security.com

setuid and setgid programs can escalate privileges via insecure RPATH use in IBM DB2 systems.

tags | advisory
advisories | CVE-2014-0907
SHA-256 | 40679a4e85d6d23356386f0877e57636c158e282cb759a60f37f439933615e4e

IBM DB2 Privilege Escalation

Change Mirror Download
Vulnerability title: SetUID/SetGID Programs Allow Privilege Escalation
Via Insecure RPATH In IBM DB2
CVE: CVE-2014-0907
Vendor: IBM
Product: DB2
Affected version: V9.1, V9.5, V9.7, V10.1 and V10.5
Fixed version: V9.7 FP9a, V10.1 FP3a, V10.1 FP4 and V10.5 FP3a
Reported by: Tim Brown

Details:

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

SUIDFILE='/db2/db2gpe/sqllib/acs/acscim' SUIDFILELS='-rwsr-x--- 1 root
dbgpeadm 43848124 04 Oct 2012 /db2/db2gpe/sqllib/acs/acscim'
RPATH='../../common/unx/supincl/pegcim251/lib' RPATHRELATIVE=yes
RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/db2/db2gpe/sqllib/acs/acsnnas' SUIDFILELS='-rwsr-x--- 1 root
dbgpeadm 43399984 04 Oct 2012 /db2/db2gpe/sqllib/acs/acsnnas'
RPATH='../../common/unx/supincl/ontapsdk16/lib/aix' RPATHRELATIVE=yes
RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/db2/db2gpe/sqllib/acs/acsnsan' SUIDFILELS='-rwsr-x--- 1 root
dbgpeadm 46767866 04 Oct 2012 /db2/db2gpe/sqllib/acs/acsnsan'
RPATH='../../common/unx/supincl/ontapsdk16/lib/aix' RPATHRELATIVE=yes
RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/db2/db2gpe/sqllib/adm/db2iclean' SUIDFILELS='-r-sr-x--- 1
root dbgpeadm 23157 25 May 2013 /db2/db2gpe/sqllib/adm/db2iclean'
RPATH='.' RPATHRELATIVE=yes RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/db2/db2gpp/sqllib/acs/acscim' SUIDFILELS='-rwsr-x--- 1 root
dbgppadm 43848124 04 Oct 2012 /db2/db2gpp/sqllib/acs/acscim'
RPATH='../../common/unx/supincl/pegcim251/lib' RPATHRELATIVE=yes
RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/db2/db2gpp/sqllib/acs/acsnnas' SUIDFILELS='-rwsr-x--- 1 root
dbgppadm 43399984 04 Oct 2012 /db2/db2gpp/sqllib/acs/acsnnas'
RPATH='../../common/unx/supincl/ontapsdk16/lib/aix' RPATHRELATIVE=yes
RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/db2/db2gpp/sqllib/acs/acsnsan' SUIDFILELS='-rwsr-x--- 1 root
dbgppadm 46767866 04 Oct 2012 /db2/db2gpp/sqllib/acs/acsnsan'
RPATH='../../common/unx/supincl/ontapsdk16/lib/aix' RPATHRELATIVE=yes
RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/db2/db2gpp/sqllib/adm/db2iclean' SUIDFILELS='-r-sr-x--- 1
root dbgppadm 23157 25 May 2013 /db2/db2gpp/sqllib/adm/db2iclean'
RPATH='.' RPATHRELATIVE=yes RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes
SUIDFILE='/hpadmin/swrepo/sqllib/adm/db2iclean' SUIDFILELS='-r-sr-x--- 1
root 226 23157 06 May 2013 /hpadmin/swrepo/sqllib/adm/db2iclean'
RPATH='.' RPATHRELATIVE=yes RPATHLS=N/A RAPTHEXISTS=N/A ISBAD=yes


Further details at:
https://www.portcullis-security.com/security-research-and-downloads/security-advisories/cve-2014-0907/


Copyright:
Copyright (c) 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.
Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    28 Files
  • 7
    May 7th
    3 Files
  • 8
    May 8th
    4 Files
  • 9
    May 9th
    54 Files
  • 10
    May 10th
    12 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    17 Files
  • 14
    May 14th
    11 Files
  • 15
    May 15th
    17 Files
  • 16
    May 16th
    13 Files
  • 17
    May 17th
    22 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    17 Files
  • 21
    May 21st
    18 Files
  • 22
    May 22nd
    7 Files
  • 23
    May 23rd
    111 Files
  • 24
    May 24th
    27 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close