[Full-disclosure] Facebook Game Store - SQL Injection Vulnerability



Title:
======
Facebook Game Store - SQL Injection Vulnerability


Date:
=====
2012-02-04


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


VL-ID:
=====
408


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

(Copy from the Vendors Homepage: http://apps.facebook.com/game_store/)

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 - Facebook Game Store (apps.facebook.com).


Report-Timeline:
================
2012-02-02: Vendor Notification
2012-02-02: Developer Notification
2012-02-04: Public or Non-Public Disclosure


Status:
========
Published


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


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


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

Vulnerable Module(s):
[+] Game Store - Facebook 3rd Party Application

Vulnerable Param(s)/File(s):
[+] game_detail.php


Affected Application:
[+] apps.facebook.com/game_store/


--- SQL Error Logs --- Heading Tabs
Facebook User 06 December 11 04:41:pm
user: test
--
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for
the right syntax to use near / at line 1


Picture(s):
../1.png


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

URL: http://apps.facebook.com/
Path: /game_store/
File: game_detail.php


Example:
http://[APP-SERVER]/[SERVICE-APP]/[FILE].[PHP]?=[SQL Injection]


PoC:
http://apps.facebook.com/game_store/game_detail.php?gameid=13959[SQL-Injection]&Act=en[SQL-Injection]


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


Credits:
========
Vulnerability Research Laboratory - Benjamin Kunz Mejri (Rem0ve)


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 © 2012|Vulnerability-Lab




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


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/



Relevant Pages

  • [Full-disclosure] eFront Community++ v3.6.10 - SQL Injection Vulnerability
    ... Tailored with larger organizations in mind, eFront Community ++ offers solutions for the management of companies most ... A Vulnerability Lab Researcher discovered a sql injection vulnerability on eFronts Community ++ v3.6.10 Application. ... profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. ...
    (Full-Disclosure)
  • [Full-disclosure] JPM Article Script 6 - SQL Injection Vulnerability
    ... JPM Article Script 6 - SQL Injection Vulnerability ... A Vulnerability Laboratory Researchers discovered a SQL Injection Vulnerability on JPMs Article Script 6 Web Application. ... profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. ...
    (Full-Disclosure)
  • [Suspected Spam] eFront Community++ v3.6.10 - SQL Injection Vulnerability
    ... Tailored with larger organizations in mind, eFront Community ++ offers solutions for the management of companies most ... A Vulnerability Lab Researcher discovered a sql injection vulnerability on eFronts Community ++ v3.6.10 Application. ... profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. ...
    (Bugtraq)
  • [Full-disclosure] eFront Enterprise Edition v3.6.9 - SQL Injection Vulnerability
    ... Tailored with larger organizations in mind, eFront Enterprise offers solutions for the management of companies most ... An anonymous researcher of the vulnerability Lab Team discovered a critical SQL Injection vulnerability on eFront CMS v3.6.9 ... profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. ...
    (Full-Disclosure)
  • SecurityFocus Microsoft Newsletter #240
    ... GlobalSCAPE Secure FTP Server Remote Buffer Overflow Vulnera... ... PostgreSQL TSearch2 Design Error Vulnerability ... Microsoft May Advance Notification Unspecified Security Vuln... ... Invision Power Board Login.PHP SQL Injection Vulnerability ...
    (Focus-Microsoft)