Secunia Logo
Netsikker nu! 2008
 
IBM DB2 Multiple Vulnerabilities
Secunia Advisory: SA24213
Release Date: 2007-02-19
Last Update: 2007-08-16
Popularity: 8,812 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

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. phpJobScheduler "installed_config_file" File Inclusion Vulnerabilities // 88 views
2. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 34 views
3. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 34 views
4. CUPS Multiple Vulnerabilities // 30 views
5. CA ARCserve Backup Multiple Vulnerabilities // 29 views
6. Gentoo Portage Insecure Python Module Search Path Security Issue // 27 views
7. Symantec Norton AntiVirus MS-DOS Device Name Handling Weakness // 26 views
8. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 23 views
9. Built2go Real Estate Listings "event_id" SQL Injection // 22 views
10. Fedora update for ruby // 22 views