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

Facebook A+ Academy SQL Injection

Facebook A+ Academy SQL Injection
Posted Nov 8, 2011
Authored by Vulnerability Laboratory | Site vulnerability-lab.com

Facebook A+ Academy suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
SHA-256 | 00181d6cd709814063c9de08d37c59956a971a4025105147f42767427f12d3a8

Facebook A+ Academy SQL Injection

Change Mirror Download
Title:
======
Facebook A+ Academy - SQL Injection Vulnerability


Date:
=====
2011-11-08


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


VL-ID:
=====
276


Introduction:
=============
The application is currently included and viewable by all facebook users.
The service is an external 3rd party application sponsored by the A+ Academy.

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

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 - A+ Academy

(apps.facebook.com).


Report-Timeline:
================
2011-09-17: Vendor Notification
2011-09-19: Vendor Response/Feedback
2011-11-08: Public or Non-Public Disclosure


Status:
========
Published


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

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


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


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

Vulnerable Module(s):
[+] A+ Academy- Facebook 3rd Party Application

Affected Application:
[+] http://apps.facebook.com/aplusacademy/


--- SQL Error Logs/Exceptions ---
Database Error
Message: MySQL Query fail: SELECT * FROM students WHERE fb_id=
MySQL Error: 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
Date: Monday, September 19, 2011 at 5:14:22 AM
Database Error
Message: Result ID: could not be freed.
MySQL Error: 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
Date: Monday, September 19, 2011 at 5:14:22 AM
---

Picture(s):
../1.png


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

URL: http://apps.facebook.com
Path: /aplusacademy/
File: add_info.php


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


PoC:
http://apps.facebook.com/aplusacademy/add_info.php?=-1%27


Solution:
=========
Use the prepared statement class to fix the sql injection vulnerability & filter sql error requests.
Set error(0) to prevent against information disclosure via exceptions or error reports.


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


Credits:
========
Vulnerability Research Laboratory - N/A Anonymous


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
Phone: 01776757259

Login or Register to add favorites

File Archive:

December 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close