IBM DB2 Java stored procedure buffer overflow
|db2-javasp-incomplete-bo (78817)||High Risk|
IBM DB2 is vulnerable to a stack-based buffer overflow, caused by improper bounds checking. By creating a specially-crafted Java stored procedure on the DB2 instance and sending an overly long string, a remote authenticated attacker with CREATE PROCEDURE privileges could overflow a buffer and execute arbitrary code on the system with elevated privileges or cause the server to crash.
Note: This vulnerability is due to an incomplete fix for CVE-2012-2197
Refer to IBM Security Bulletin 1614536 for patch, upgrade or suggested workaround information. See References.
- IBM Security Bulletin 1614536: Buffer Overflow Vulnerability in IBM DB2 SQL/PSM Stored Procedure Infrastructure (CVE-2012-4826)..
- BID-56133: Multiple IBM DB2 Products CVE-2012-4826 Remote Stack Buffer Overflow Vulnerability
- CVE-2012-4826: Stack-based buffer overflow in the SQL/PSM (aka SQL Persistent Stored Module) Stored Procedure (SP) infrastructure in IBM DB2 9.1, 9.5, 9.7 before FP7, 9.8, and 10.1 might allow remote authenticated users to execute arbitrary code by debugging a stored procedure.
- OSVDB ID: 86414: IBM DB2 SQL/Persistent Stored Module (PSM) Stored Procedure (SP) Infrastructure Remote Overflow
- SA50921: IBM DB2 SQL/PSM Stored Procedure Debugging Buffer Overflow Vulnerability
- IBM DB2 Universal Database 10.1
- IBM DB2 Universal Database 9.1
- IBM DB2 Universal Database 9.5
- IBM DB2 Universal Database 9.7
- IBM DB2 Universal Database 9.8
Oct 18, 2012
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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* 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.