what you don't know can hurt you

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
MD5 | 6a99c82db7f5576482f6ca6bec6d7d12

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:

January 2022

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close