Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA29784

IBM DB2 Multiple Vulnerabilities
Secunia Advisory SA29784
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2008-04-16
Last Update 2008-07-31
   
Popularity 7,504 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Unknown
Manipulation of data
Privilege escalation
Where Local system
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Partial Fix
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
IBM DB2 9.x
IBM DB2 Universal Database 8.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2007-5664 CVSS available in Customer Area
CVE-2007-5758 CVSS available in Customer Area
  

Description

Some vulnerabilities have been reported in IBM DB2, where one has an unknown impact, while others can be exploited by malicious, local users to perform certain actions with escalated privileges or gain escalated privileges.

1) A boundary error within the set-uid root db2dasrrm program can be exploited to cause a stack-based buffer overflow by setting the DASPROF environment variable to a specially crafted, overly long string.

Successful exploitation allows execution of arbitrary code with root privileges.

2) The "dasRecoveryIndex", "dasRecoveryIndex.tmp", ".dasRecoveryIndex.lock", and "dasRecoveryIndex.cor" files are created insecurely when the db2dasrrm program is started. This can be exploited via symlink attacks to overwrite arbitrary files with root privileges.

Successful exploitation requires access to an account that is allowed to start and stop the DB2 Administration Server (e.g. "dasusr1" or the "db2adm1" group).

These vulnerabilities are reported in version 9.1 (Fix Pack 4 and Fix Pack 3) on Linux. Other versions may also be affected.

3) An unspecified error exists related to the DB2FMP process. No further information is currently available.

4) A boundary error can be exploited to cause a buffer overflow in the DAS server process, which allows execution of arbitrary code with escalated privileges.

5) Two vulnerabilities can be exploited to overwrite arbitrary files or to execute arbitrary code on an affected system.

For more information see vulnerabilities #2 and #3 in:
SA29022

Vulnerabilities #3 to #5 are reported in versions prior to 9.5 Fixpak 1.


Solution
Update to the latest versions.
Further details available in Customer Area

Provided and/or discovered by
1) Discovered by an anonymous person and reported via iDefense Labs.
2) Joshua J. Drake, iDefense Labs.

Changelog
Further details available in Customer Area

Original Advisory
IBM (IZ19155):
ftp://ftp.software.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v95/APARLIST.TXT
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ12379
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ10776
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ10917
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ07125

iDefense:
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=689
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=688

Other references
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: IBM DB2 Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability