IBM DB2 buildDasPaths() DASPROF environment variable buffer overflow
| db2-environment-variables-bo (36067) |
Description:
IBM DB2 is vulnerable to a stack-based buffer overflow in the buildDasPaths() function. By setting an overly long DASPROF environment variable, a local attacker could overflow a buffer and execute arbitrary code on the system with root privileges.
*CVSS:
| Base Score: | 7 |
| Access Vector: | Local |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | Complete |
| Integrity Impact: | Complete |
| Availability Impact: | Complete |
| Temporal Score: | 5.2 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
For DB2 Universal Database 8:
Refer to IBM APAR IY99311 for patch, upgrade, or suggested workaround information. See References.
For DB2 Universal Database 9.1:
Refer to IBM APAR IY97346 for patch, upgrade, or suggested workaround information. See References.
References:
- APAR IY95081: MULTIPLE DB2 ENVIRONMENT VARIABLES CAUSE BUFFER OVERFLOW VULNERABILITY AND SYMLINK OVERWRITE VULNERABILITY.
- APAR IY97346: DASPROF env variable - Buffer Overflow Vulnerability.
- APAR IY99311: DASPROF env variable - Buffer Overflow Vulnerability.
- iDefense Labs PUBLIC ADVISORY: 08.16.07: IBM DB2 Universal Database buildDasPaths Buffer Overflow Vulnerability.
- 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-4276: Stack-based buffer overflow in IBM DB2 UDB 8 before Fixpak 15 and 9.1 before Fixpak 3 allows attackers to execute arbitrary code via a long DASPROF and possibly other environment variables, which are copied into the buildDasPaths buffer.
- 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.1
- IBM DB2 Universal Database 8.1 FP13
- IBM DB2 Universal Database 8.1 FP2
- IBM DB2 Universal Database 8.1 FP3
- IBM DB2 Universal Database 8.1 FP4
- IBM DB2 Universal Database 8.1 FP5
- IBM DB2 Universal Database 8.1 FP6
- IBM DB2 Universal Database 8.1 FP7
- IBM DB2 Universal Database 8.1 FP8
- IBM DB2 Universal Database 8.1 FP9
- IBM DB2 Universal Database 8.1 FP10
- IBM DB2 Universal Database 8.1 FP11
- IBM DB2 Universal Database 8.1 FP12
- IBM DB2 Universal Database 8.1 FP14
- IBM DB2 Universal Database 8.1 FP1
Reported:
Aug 14, 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
* 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.
