Secunia Logo
Netsikker nu! 2008
 
Joomla BSQ Sitestats Component Multiple Vulnerabilities
Secunia Advisory: SA21859
Release Date: 2006-09-29
Last Update: 2007-03-06
Popularity: 4,551 views

Critical:
Highly critical
Impact: Cross Site Scripting
Manipulation of data
System access
Where: From remote
Solution Status: Vendor Patch

Software:BSQ Sitestats 1.x (component for Joomla)

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-7124
CVE-2006-7122
CVE-2006-7123


Description:
Secunia Research has discovered some vulnerabilities in the BSQ Sitestats component for Joomla, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks, and to compromise a vulnerable system.

1) Input passed to the "ip" form field parameter when performing an IP Address Lookup is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a logged in administrator's browser session in context of an affected site.

2) Input passed to multiple parameters when importing the ip-to-country.csv file is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code when an administrator is tricked into importing a malicious ip-to-country.csv file.

3) Input passed via the "HTTP Referer", the "HTTP User Agent", and the "HTTP Accept Language" Header in bsqtemplateinc.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

4) Input passed to the "baseDir" parameter in components/com_bsq_sitestats/external/rssfeeds.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.

Successful exploitation requires that "register_globals" is enabled.

The vulnerabilities have been confirmed in version 1.8.0. Other versions may also be affected.

Solution:
Update to version 2.2.1.

Provided and/or discovered by:
Sven Krewitt, Secunia Research.

Changelog:
2006-10-10: Updated advisory.
2007-03-06: Added CVE reference.

Original Advisory:
http://secunia.com/secunia_research/2006-63/


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. CUPS Multiple Vulnerabilities // 40 views
2. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 39 views
3. CA ARCserve Backup Multiple Vulnerabilities // 37 views
4. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 36 views
5. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 35 views
6. phpBB reveals user IPs // 28 views
7. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 27 views
8. FUJITSU Interstage Products Apache Tomcat Security Bypass // 26 views
9. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 25 views
10. Built2go Real Estate Listings "event_id" SQL Injection // 24 views