what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Facebook Fit-ify! SQL Injection

Facebook Fit-ify! SQL Injection
Posted Dec 18, 2011
Authored by longrifle0x, Vulnerability Laboratory | Site vulnerability-lab.com

The third party Facebook Fit-ify! application suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
SHA-256 | 7befae7869033a1d6cbc262699ddf205b78c1fa4f38651a571230cdbb46efb14

Facebook Fit-ify! SQL Injection

Change Mirror Download
Title:
======
Facebook Fit-ify! - SQL Injection Vulnerability


Date:
=====
2011-12-18


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=337


VL-ID:
=====
337


Introduction:
=============
The application is currently included and viewable by all facebook users.
The service is an external 3rd party application sponsored by the Facebook Fit-ify! Development Team.

(Copy from the Vendors Homepage: http://facebook.com/pages/I-may-be-gone-some-time/)

Facebook is a social networking service and website launched in February 2004, operated and privately owned
by Facebook, Inc. As of July 2011, Facebook has more than 750 million active users. Users may create
a personal profile, add other users as friends, and exchange messages, including automatic notifications when
they update their profile. Facebook users must register before using the site. Additionally, users may join
common-interest user groups, organized by workplace, school or college, or other characteristics.

(Copy of the Vendor Website: http://en.wikipedia.org/wiki/Facebook)


Abstract:
=========
Vulnerability-Lab researcher discovered a remote SQL Injection vulnerability on the 3rd party web
application - Fit-ify! (apps.facebook.com).


Report-Timeline:
================
2011-11-22: Vendor Notification
2011-12-18: Public or Non-Public Disclosure


Status:
========
Published


Exploitation-Technique:
=======================
Remote


Severity:
=========
High


Details:
========
A SQL Injection vulnerability is detected on the Fit-ify! facebook application (apps.facebook).
The vulnerability allows an attacker (remote) to inject/execute own sql statements on the affected fb application dbms.

Vulnerable Module(s):
[+] Fit-ify! - Facebook 3rd Party Application

Vulnerable Param(s)/File(s):
[+] 143596152351911?sk=app_8209307103

Affected Application:
[+] facebook.com/pages/I-may-be-gone-some-time/


--- SQL Error Logs ---
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/fitify/fitify.com/lib.php on line 196
You haven\\\'t recorded any work-outs yet. Time to get outside and start exercising!
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/fitify/fitify.com/lib.php on line 538
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/fitify/fitify.com/lib.php on line 538
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/fitify/fitify.com/lib.php on line 538
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/fitify/fitify.com/lib.php on line 245

Picture(s):
../1.png


Proof of Concept:
=================
The vulnerability can be exploited by remote attackers. For demonstration or reproduce ...

URL: facebook.com/pages
Path: /I-may-be-gone-some-time/
Request: 143596152351911?sk=app_8209307103

Example:
http://[FACEBOOK]/[PAGE]/[FILE]?[PARAM]=[ID]&[SQL Injection]


PoC:
http://www.facebook.com/pages/I-may-be-gone-some-time/143596152351911?sk=app_8209307103[SQL-Injection]


Solution:
=========
Use the prepared statement class to fix the sql injection vulnerability & filter sql error requests.
Set error(0) to prevent against information disclosure via exceptions or error reports.


Risk:
=====
The security risk of the application sql injection vulnerabilities are estimated as high(+).


Credits:
========
Vulnerability Laboratory Researcher - Ucha G. (longrifle0x)


Disclaimer:
===========
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-
Lab. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of
other media, are reserved by Vulnerability-Lab or its suppliers.

Copyright © 2011|Vulnerability-Lab






--
Website: www.vulnerability-lab.com ; vuln-lab.com or vuln-db.com
Contact: admin@vulnerability-lab.com or support@vulnerability-lab.com

Login or Register to add favorites

File Archive:

March 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    13 Files
  • 3
    Mar 3rd
    15 Files
  • 4
    Mar 4th
    0 Files
  • 5
    Mar 5th
    0 Files
  • 6
    Mar 6th
    16 Files
  • 7
    Mar 7th
    31 Files
  • 8
    Mar 8th
    16 Files
  • 9
    Mar 9th
    13 Files
  • 10
    Mar 10th
    9 Files
  • 11
    Mar 11th
    0 Files
  • 12
    Mar 12th
    0 Files
  • 13
    Mar 13th
    10 Files
  • 14
    Mar 14th
    6 Files
  • 15
    Mar 15th
    17 Files
  • 16
    Mar 16th
    22 Files
  • 17
    Mar 17th
    13 Files
  • 18
    Mar 18th
    0 Files
  • 19
    Mar 19th
    0 Files
  • 20
    Mar 20th
    16 Files
  • 21
    Mar 21st
    13 Files
  • 22
    Mar 22nd
    5 Files
  • 23
    Mar 23rd
    6 Files
  • 24
    Mar 24th
    47 Files
  • 25
    Mar 25th
    0 Files
  • 26
    Mar 26th
    0 Files
  • 27
    Mar 27th
    0 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close