Secunia Logo  
 
IBM DB2 Multiple Vulnerabilities
Secunia Advisory: SA24213
Release Date: 2007-02-19
Last Update: 2007-08-16
Popularity: 9,277 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

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

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-1027
CVE-2007-1086
CVE-2007-1087
CVE-2007-1088


Description:
Some vulnerabilities have been reported in IBM DB2, which can be exploited by malicious, local users to gain escalated privileges.

1) Some vulnerabilities are caused due to several DB2 binaries accessing files insecurely and having the setuid bit set. This can be exploited to create or append data to arbitrary files via symlink attacks.

2) A vulnerability is caused due to several DB2 binaries accessing files insecurely and having the setuid bit set. This can be exploited to create or append data to arbitrary files via symlink attacks and supplying the DB2INSTANCE environment variable.

Successful exploitation of (1) and (2) allows gaining root privileges.

NOTE: Windows systems are not affected.

3) A boundary error when copying data from an environment variable can be exploited to cause a heap-based buffer overflow.

4) An unspecified boundary error exists, which can be exploited to cause a stack-based buffer overflow via an overly long environment variable.

Successful exploitation of (4) allows execution of arbitrary code.

The vulnerabilities are reported in DB2 Universal Database 9.1 and 8.

Solution:
DB2 Universal Database 9.1:
Update to version 9 Fix Pack 2.

DB2 Universal Database 8:
Update to version 8.1 FixPak 15.

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

Changelog:
2007-02-22: Added CVE reference.
2007-02-23: Updated "Description" section. Added information from iDefense. Added links to original advisories. Added information about version 8. Updated "Solution" section.
2007-03-02: Added CVE reference.
2007-04-13: Updated "Solution" section, changing fix date for version 8 from "April 2007" to "mid 2007" based on updates by IBM. Added additional link to IBM advisory.
2007-08-16: Updated "Solution" section for version 8.

Original Advisory:
iDefense:
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=480
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=481

Other References:
IBM:
http://www-1.ibm.com/support/docview.wss?uid=swg21255745
http://www-1.ibm.com/support/docview.wss?uid=swg21255747
http://www-1.ibm.com/support/docview.wss?uid=swg1IY94817
http://www-1.ibm.com/support/docview.wss?uid=swg1IY94833


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

Today
New advisories: 8
New vulnerabilities: 20
Updated advisories: 12

Less // 179 views
Red Hat update for kernel
Less // 174 views
Ubuntu update for bind9
Less // 166 views
Ubuntu update for ntp
Less // 173 views
Red Hat update for bind

8th Jan, 2009
New advisories: 24
New vulnerabilities: 99
Updated advisories: 26


Solutions | More...  


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.

Most Popular - 3 Hours

1. CuteNews Cross-Site Scripting and PHP Code Execution Vulnerabilities // 72 views
2. XOOPS "mydirname" PHP Code Injection Vulnerability // 67 views
3. Ubuntu update for ntp // 45 views
4. Ubuntu update for bind9 // 38 views
5. Red Hat update for bind // 38 views
6. Serv-U Denial of Service Vulnerability // 36 views
7. Sun Solaris Samba "smbd" Information Disclosure Vulnerability // 35 views
8. Red Hat update for kernel // 34 views
9. Sun Java JDK / JRE Multiple Vulnerabilities // 28 views
10. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 28 views