what you don't know can hurt you

Facebook View My Calendar SQL Injection

Facebook View My Calendar SQL Injection
Posted Feb 14, 2012
Authored by Mahamed Saad

Facebook View My Calendar suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
MD5 | 5412acbca43786ccf3dca2791d2031df

Facebook View My Calendar SQL Injection

Change Mirror Download
Facebook view my calendar - 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
view my calendar Development Team.

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

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)

Ninja-Sec discovered a remote SQL Injection vulnerability on the 3rd party
application - Facebook Life Smile (apps.facebook.com).

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




A remote SQL Injection vulnerability is detected on the Facebook Life Smile
The vulnerability allows an attacker (remote) to inject/execute own sql
statements on the affected fb application dbms.

Vulnerable Module(s):
[+] Life Smile - Facebook 3rd Party

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

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

Sql Error


Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE[42000]: Syntax error or access violation: 1064 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 'order by mon ASC' at line 3' in
/home/ashishl/public_html/calendar/index.php:157 Stack trace: #0
/home/ashishl/public_html/calendar/index.php(157): PDOStatement->execute()
#1 {main} thrown in /home/ashishl/public_html/calendar/index.php on line 157


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

URL: http://apps.facebook.com/
Path: /viewmycalendar/
File: index.php


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



Real World Demo :


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

Ninja-Sec Research Laboratory - Mohamed Saad (Anti-Trust)

The information provided in this advisory is provided as it is without any
warranty. Ninja-Sec disclaims all warranties,
either expressed or implied, including the warranties of merchantability
and capability for a particular purpose. Ninja-Sec 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 Ninja-Sec.com 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 Ninja-Sec. Permission to
electronically redistribute this alert in its unmodified form is granted.
All other rights, including the use of
other media, are reserved by Ninja-Sec or its suppliers.

Copyright © 2012|Ninja-Sec

Website: www.Ninja-Sec.com
Contact: NinjaSec007@gmail.com


RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

October 2019

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2019 Packet Storm. All rights reserved.

Security Services
Hosting By