CVE-2010-0462
Description
Heap-based buffer overflow in IBM DB2 9.1 before FP9, 9.5 before FP6, and 9.7 before FP2 allows remote authenticated users to have an unspecified impact via a SELECT statement that has a long column name generated with the REPEAT function.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
IBM DB2 - 'REPEAT()' Local Heap Buffer Overflow
source: https://www.securityfocus.com/bid/37976/info
IBM DB2 is prone to a heap-based buffer-overflow vulnerability because the application fails to perform adequate boundary checks on user-supplied data.
Attackers can exploit this issue to execute arbitrary code with elevated privileges or crash the affected application.
The issue affects the following:
IBM DB2 versions prior to 9.1 Fix Pack 9
IBM DB2 9.7
Other versions may also be affected.
SELECT REPEAT(REPEAT('1',1000),1073741825) FROM SYSIBM.SYSDUMMY1
References
- ftp://public.dhe.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v95/APARLIST.TXT
- http://intevydis.blogspot.com/2010/01/ibm-db2-97-heap-overflow.html
- http://securitytracker.com/id?1023509
- http://www-01.ibm.com/support/docview.wss?uid=swg1IC65922
- http://www-01.ibm.com/support/docview.wss?uid=swg1IC65933
- http://www-01.ibm.com/support/docview.wss?uid=swg1IC65935
- http://www-01.ibm.com/support/docview.wss?uid=swg21426108
- http://www-01.ibm.com/support/docview.wss?uid=swg21432298
- http://www.securityfocus.com/bid/37976
- https://exchange.xforce.ibmcloud.com/vulnerabilities/55899
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A14518
- ftp://public.dhe.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v95/APARLIST.TXT
- http://intevydis.blogspot.com/2010/01/ibm-db2-97-heap-overflow.html
- http://securitytracker.com/id?1023509
- http://www-01.ibm.com/support/docview.wss?uid=swg1IC65922
- http://www-01.ibm.com/support/docview.wss?uid=swg1IC65933
- http://www-01.ibm.com/support/docview.wss?uid=swg1IC65935
- http://www-01.ibm.com/support/docview.wss?uid=swg21426108
- http://www-01.ibm.com/support/docview.wss?uid=swg21432298
- http://www.securityfocus.com/bid/37976
- https://exchange.xforce.ibmcloud.com/vulnerabilities/55899
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A14518
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.