exploit the possibilities

Facebook Profile Sticker SQL Injection

Facebook Profile Sticker SQL Injection
Posted Feb 7, 2012
Authored by Benjamin Kunz Mejri | Site vulnerability-lab.com

Facebook Profile Sticker suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
MD5 | 0b89275b158dca19039fcd8a0bfc4e61

Facebook Profile Sticker SQL Injection

Change Mirror Download
Title:
======
Facebook Profile Sticker - SQL Injection Vulnerability


Date:
=====
2012-02-03


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


VL-ID:
=====
409


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

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

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 Profile Sticker (apps.facebook.com).


Report-Timeline:
================
2012-02-03: Public or Non-Public Disclosure


Status:
========
Published


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


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


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

Vulnerable Module(s):
[+] Profile Sticker - Facebook 3rd Party Application

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


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


--- SQL Error Logs ---
Fatal error: Uncaught exception DbQueryFailure with message 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 -9 , 9 at line 1 SELECT * FROM stickers
where active = 1 and user > 0 order by times_added desc limit -9 , 9 in /var/www/html/profilestickers/lib/classes/Db.php:47
Stack trace: #0 /var/www/html/profilestickers/ajax_scripts/get_stickers.php(69): Db->query( SELECT * FROM s... ) #1
/var/www/html/profilestickers/index.php(297): include_once( /var/www/html/p... ) #2 {main} thrown in /var/www/html
/profilestickers/lib/classes/Db.php on line 47


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: /myprofilestickers/
File: index.php


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


PoC:
http://apps.facebook.com/myprofilestickers/index.php?page=-1'[SQL-Injection]


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


Credits:
========
Vulnerability Research Laboratory - Benjamin Kunz Mejri


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@vulnerability-lab.com or support@vulnerability-lab.com

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close