Secunia Logo
 
AWStats Totals Cross-site Scripting and PHP Code Execution
Secunia Advisory: SA31630
Release Date: 2008-08-27
Last Update: 2008-09-11
Popularity: 1,650 views

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

Software:AWStats Totals 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-3921
CVE-2008-3922


Description:
Emory University has reported some vulnerabilities in AWStats Totals, which can be exploited by malicious people to conduct cross-site scripting attacks or to compromise a vulnerable system.

1) Input passed via the "month" and "year" parameters is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

2) Input passed via the "sort" parameter to the "multisort()" function is not properly sanitised before being used to generate PHP code. This can be exploited to execute arbitrary PHP commands by constructing specially crafted "sort" parameters.

The vulnerabilities are reported in versions prior to 1.15.

Solution:
Update to version 1.15.
http://www.telartis.nl/xcms/awstats/

Provided and/or discovered by:
Emory University

Changelog:
2008-09-11: Added CVE reference.

Original Advisory:
http://userwww.service.emory.edu/~ekenda2/EMORY-2008-01.txt


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. Apple iPhone / iPod touch Multiple Vulnerabilities // 47 views
2. vBulletin Visitor Messages Script Insertion Vulnerability // 28 views
3. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 26 views
4. EMC Control Center SAN Manager Multiple Vulnerabilities // 26 views
5. Softbiz Classifieds Script "msg" Cross-Site Scripting Vulnerability // 25 views
6. xt:Commerce SQL Injection Vulnerability // 25 views
7. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 24 views
8. SemanticScuttle Cross-Site Scripting Vulnerabilities // 24 views
9. phpJobScheduler "installed_config_file" File Inclusion Vulnerabilities // 23 views
10. Checkpoint VPN-1 Information Disclosure Vulnerability // 23 views