sepo

Facebook A+ Academy - SQL Injection Vulnerability

Nov 10th, 2011
642
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. Introduction:
  2. =============
  3. The application is currently included and viewable by all facebook users.
  4. The service is an external 3rd party application sponsored by the A+ Academy.
  5.  
  6. (Copy from the Vendors Homepage: http://apps.facebook.com/aplusacademy/)
  7.  
  8. Facebook is a social networking service and website launched in February 2004, operated and privately owned
  9. by Facebook, Inc. As of July 2011, Facebook has more than 750 million active users. Users may create
  10. a personal profile, add other users as friends, and exchange messages, including automatic notifications when
  11. they update their profile. Facebook users must register before using the site. Additionally, users may join
  12. common-interest user groups, organized by workplace, school or college, or other characteristics.
  13.  
  14. (Copy of the Vendor Website: http://en.wikipedia.org/wiki/Facebook)
  15.  
  16.  
  17. Abstract:
  18. =========
  19. Vulnerability-Lab researcher discovered a remote SQL Injection vulnerability on the 3rd party web application - A+ Academy
  20.  
  21. (apps.facebook.com).
  22.  
  23.  
  24. Report-Timeline:
  25. ================
  26. 2011-09-17: Vendor Notification
  27. 2011-09-19: Vendor Response/Feedback
  28. 2011-11-08: Public or Non-Public Disclosure
  29.  
  30.  
  31. Status:
  32. ========
  33. Published
  34.  
  35.  
  36. Affected Products:
  37. ==================
  38.  
  39. Exploitation-Technique:
  40. =======================
  41. Remote
  42.  
  43.  
  44. Severity:
  45. =========
  46. High
  47.  
  48.  
  49. Details:
  50. ========
  51. A SQL Injection vulnerability is detected on the A+ Academy facebook application (apps.facebook).
  52. The vulnerability allows an attacker (remote) to inject/execute own sql statements on the affected fb application dbms.
  53.  
  54. Vulnerable Module(s):
  55. [+] A+ Academy- Facebook 3rd Party Application
  56.  
  57. Affected Application:
  58. [+] http://apps.facebook.com/aplusacademy/
  59.  
  60.  
  61. --- SQL Error Logs/Exceptions ---
  62. Database Error
  63. Message: MySQL Query fail: SELECT * FROM students WHERE fb_id=
  64. MySQL Error: You have an error in your SQL syntax; check the manual that corresponds
  65. to your MySQL server version for the right syntax to use near ` at line 1
  66. Date: Monday, September 19, 2011 at 5:14:22 AM
  67. Database Error
  68. Message: Result ID: could not be freed.
  69. MySQL Error: You have an error in your SQL syntax; check the manual that corresponds
  70. to your MySQL server version for the right syntax to use near ` at line 1
  71. Date: Monday, September 19, 2011 at 5:14:22 AM
  72. ---
  73.  
  74. Solution:
  75. =========
  76. Use the prepared statement class to fix the sql injection vulnerability & filter sql error requests.
  77. Set error(0) to prevent against information disclosure via exceptions or error reports.
  78.  
  79.  
  80. Risk:
  81. =====
  82. The security risk of the sql injection vulnerability is estimated as high.
  83.  
  84.  
Advertisement
Add Comment
Please, Sign In to add comment