Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


IBM DB2 Multiple Vulnerabilities Advisory Available in German 

Secunia Advisory: SA29784  
Release Date: 2008-04-16
Last Update: 2008-07-31

Critical:
Less critical
Impact: Unknown
Manipulation of data
Privilege escalation
Where: Local system
Solution Status: Partial Fix

Software:DB2 Universal Database 8.x
IBM DB2 9.x

CVE reference:CVE-2007-5664 (Secunia mirror)
CVE-2007-5758 (Secunia mirror)



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.

Version 8 FixPak 16:
http://www-1.ibm.com/support/docview.wss?uid=swg21256235

NOTE: Reportedly, vulnerability #2 is not fixed in version 8.x.

Version 9.1 Fix Pack 4a:
http://www-1.ibm.com/support/docview.wss?uid=swg21255572

Version 9.5 Fix Pack 1:
http://www-1.ibm.com/support/docview.wss?uid=swg21287889

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

Changelog:
2008-04-22: Added vulnerability #3 and link to "Original Advisory" section.
2008-05-16: Added vulnerability #4 and #5. Updated "Original Advisory" and "Other References" section.
2008-07-31: Updated "Solution" section with information about vulnerability #2 in DB2 8.x. Added link to "Original Advisory" section.

Original Advisory:
IBM (IZ19155):
ftp://ftp.software.ibm.com/ps/product...lish-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:
SA29022:
http://secunia.com/advisories/29022/



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.

24 Related Secunia Security Advisories, displaying 10

1. IBM DB2 CLR Stored Procedures Privilege Escalation and Denial of Service
2. DB2 Multiple Vulnerabilities
3. IBM DB2 Multiple Vulnerabilities
4. IBM DB2 UDB Multiple Vulnerabilities
5. IBM DB2 Multiple Vulnerabilities and Security Issue
6. IBM DB2 UDB Authentication Unspecified Vulnerability
7. IBM DB2 Multiple Vulnerabilities
8. IBM DB2 Universal Database Denial of Service and Buffer Overflows
9. IBM DB2 Fenced UserID Directory Access Authentication Bypass
10. IBM DB2 Authorisation Bypass Vulnerability

Show all related advisories


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
phpBB reveals user IPs
2.
HP TCP/IP Services for OpenVMS Finger Format String Vulnerability
3.
Adium MSN SLP Message Integer Overflow Vulnerabilities
4.
Blogn Cross-Site Scripting and Cross-Site Request Forgery
5.
GpsDrive "geo-code" Insecure Temporary Files
6.
Novell eDirectory Multiple Vulnerabilities
7.
geo-* Insecure Temporary Files
8.
Sun Solaris Kernel Covert Channel Security Bypass
9.
Acoustica Mixcraft ".mx4" File Processing Buffer Overflow
10.
Novell Forum TCL Command Injection Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia