IBM DB2 file creation privilege escalation

db2-multiple-file-create (36104) The risk level is classified as MediumMedium Risk

Description:

IBM DB2 could allow a local attacker to gain elevated privileges on the system, caused by multiple vulnerabilities related to the insecure creation of files by DB2. An attacker could exploit this vulnerability using unknown attack vectors possibly involving the OSSEMEMDBG or TRC_LOG_FILE environment variables to create arbitrary files with elevated privileges.

*CVSS:

Base Score: 4.2
  Access Vector: Local
  Access Complexity: High
  Authentication: Not Required
  Confidentiality Impact: None
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 3.1
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Privileges

Remedy:

For DB2 Universal Database 8:
Refer to IBM APAR IY98101 for patch, upgrade, or suggested workaround information. See References.

For DB2 Universal Database 9.1:
Refer to IBM APAR IY98011 for patch, upgrade, or suggested workaround information. See References.

For DB2 Universal Database 9.1:
Refer to IBM APAR IY98210 for patch, upgrade, or suggested workaround information. See References.

References:

  • APAR IY98011: Security vulnerability with db2licd, and the OSSEMEMDBG and TRC_LOG_FILE environment variables.
  • APAR IY98101: Security vulnerability with db2licd, and the OSSEMEMDBG and TRC_LOG_FILE environment variables.
  • APAR IY98210: Symlink Security Vulnerability when DB2 opens files, running as root.
  • iDefense Labs PUBLIC ADVISORY: 08.16.07: IBM DB2 Universal Database Multiple File Creation Vulnerabilities.
  • VIM Mailing list, Sat Aug 18 21:05:56 UTC 2007: Recent DB2 Vulnerabilities .
  • BID-25339: IBM DB2 Universal Database Multiple Unspecified Vulnerabilities
  • CVE-2007-4272: Multiple vulnerabilities in IBM DB2 UDB 8 before Fixpak 15 and 9.1 before Fixpak 3 allow local users to create arbitrary files via (1) unspecified vectors where an attacker's umask is honored, (2) /etc/ld.so.preload, (3) certain cron data file locations, and other unspecified vectors possibly involving the (4) OSSEMEMDBG or (5) TRC_LOG_FILE environment variable in db2licd (db2licm).
  • SA26471: IBM DB2 Multiple Vulnerabilities
  • SECTRACK ID: 1018581: IBM DB2 Multiple Bugs Let Local Users Gain Root Privileges
  • VUPEN/ADV-2007-2912: IBM DB2 Universal Database Denial of Service and Code Execution Issues

Platforms Affected:

  • IBM DB2 Universal Database 8.0 FP7a
  • IBM DB2 Universal Database 8.0
  • IBM DB2 Universal Database 8.0 FP1
  • IBM DB2 Universal Database 8.0 FP14
  • IBM DB2 Universal Database 8.0 FP13
  • IBM DB2 Universal Database 8.0 FP12
  • IBM DB2 Universal Database 8.0 FP11
  • IBM DB2 Universal Database 8.0 FP10
  • IBM DB2 Universal Database 8.0 FP9a
  • IBM DB2 Universal Database 8.0 FP9
  • IBM DB2 Universal Database 8.0 FP8a
  • IBM DB2 Universal Database 8.0 FP8
  • IBM DB2 Universal Database 8.0 FP7b
  • IBM DB2 Universal Database 8.0 FP7
  • IBM DB2 Universal Database 8.0 FP6c
  • IBM DB2 Universal Database 8.0 FP6b
  • IBM DB2 Universal Database 8.0 FP6a
  • IBM DB2 Universal Database 8.0 FP6
  • IBM DB2 Universal Database 8.0 FP5
  • IBM DB2 Universal Database 8.0 FP4a
  • IBM DB2 Universal Database 8.0 FP4
  • IBM DB2 Universal Database 8.0 FP3
  • IBM DB2 Universal Database 8.0 FP2
  • IBM DB2 Universal Database 9.1
  • IBM DB2 Universal Database 9.1 FP2
  • IBM DB2 Universal Database 9.1 FP3

Reported:

Aug 15, 2007

The information within this database 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 (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database 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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.