Joomla BSQ Sitestats Script Insertion and SQL Injection
Secunia Advisory: SA22142
Release Date: 2006-10-18
Last Update: 2007-03-06
Popularity: 4,452 views

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

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

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-7125
CVE-2006-7126


Description:
Secunia Research has discovered some vulnerabilities in the BSQ Sitestats component for Joomla, which can be exploited by malicious people to conduct script insertion or SQL injection attacks.

1) Input passed via the "HTTP Referer" Header is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which is executed in an administrative user's browser session in context of an affected site when the site statistics are viewed.

2) Input passed via the URI string 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.

The vulnerabilities are confirmed in version 1.8.0 and 2.2.1. Other versions may also be affected.

Solution:
The vulnerabilities have been fixed in version 2.2.2.

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

Changelog:
2007-03-06: Added CVE reference.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2006-65/


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. Zeroboard Two Vulnerabilities // 54 views
2. Zeroboard Multiple Vulnerabilities // 52 views
3. Sun Java JDK / JRE Multiple Vulnerabilities // 49 views
4. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 28 views
5. Php Blue Dragon CMS activecontent.php File Inclusion // 28 views
6. Zeroboard ".htaccess" File Upload Vulnerability // 26 views
7. VLC Media Player Multiple Vulnerabilities // 25 views
8. Cisco Secure ACS EAP Packet Denial of Service // 24 views
9. HP OpenView Select Identity Connectors Information Disclosure // 23 views
10. Zeroboard Multiple Script Insertion Vulnerabilities // 22 views