exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Facebook Profile Sticker SQL Injection

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

Facebook Profile Sticker suffers from a remote SQL injection vulnerability.

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

Facebook Profile Sticker SQL Injection

Change Mirror Download
Facebook Profile Sticker - SQL Injection Vulnerability




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)

Vulnerability-Lab researcher discovered a remote SQL Injection vulnerability on the 3rd party web
application - Facebook Profile Sticker (apps.facebook.com).

2012-02-03: Public or Non-Public Disclosure




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


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

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


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

Vulnerability Research Laboratory - Benjamin Kunz Mejri

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

Login or Register to add favorites

File Archive:

June 2024

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2022 Packet Storm. All rights reserved.

Security Services
Hosting By