Secunia Logo
 
AWStats Multiple Vulnerabilities
Secunia Advisory: SA14299
Release Date: 2005-02-15
Last Update: 2005-08-12
Popularity: 13,169 views

Critical:
Highly critical
Impact: Privilege escalation
DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:AWStats 6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-0435
CVE-2005-0436
CVE-2005-0437
CVE-2005-0438
CVE-2005-1527


Description:
Multiple vulnerabilities have been reported in AWStats, which potentially can be exploited by malicious, local users to gain escalated privileges, and by malicious people to disclose system information, cause a DoS (Denial of Service), or compromise a vulnerable system.

1) An error in "awstats.pl" may disclose log file content when the rawlog plugin is disabled.

Example:
http://[victim]/awstats/awstats.pl?pluginmode=rawlog&loadplugin=rawlog

The vulnerability has been reported in versions 6.3 and prior.

2) Input passed to the "loadplugin" and "pluginmode" parameters is not sufficiently sanitised before being used in an "eval()" expression and may be exploited to cause a DoS.

The vulnerability has been reported in versions 6.3 and prior.

3) Input passed to the "loadplugin" parameter in "awstats.pl" is not properly sanitised before being used to include plugins. This can be exploited to include modules from local resources via directory traversal attacks.

The vulnerability has been reported in versions 6.3 and prior.

4) An error in "awstats.pl" may disclose debug information when the "debug" parameter is specified.

Example:
http://[victim]/awstats/awstats.pl?debug=1

The vulnerability has been reported in versions 6.3 and prior.

5) Input passed as a referrer to the "url" parameter is not properly sanitised before being used. This can be exploited to execute arbitrary Perl code with the privileges of the web server.

Successful exploitation requires that at least one URLPlugin is enabled.

The vulnerability has been reported in versions 6.4 and prior. However, iDEFENSE and the vendor disagree whether or not the vulnerability is exploitable in version 6.4.

Solution:
All vulnerabilities have been fixed in version 6.5.

Provided and/or discovered by:
1-4) GHC
5) Peter Vreugdenhil

Changelog:
2005-02-18: Added CVE references.
2005-02-28: Added link to US-CERT vulnerability note.
2005-03-21: Version 6.4 released. Updated "Solution" section.
2005-08-10: Added information about additional vulnerability.
2005-08-12: Updated advisory with additional information about the 5th vulnerability.

Original Advisory:
iDEFENSE:
http://www.idefense.com/application/poi/display?id=290&type=vulnerabilities

Other References:
US-CERT VU#259785:
http://www.kb.cert.org/vuls/id/259785


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. Symantec Backup Exec for Windows Servers Multiple Vulnerabilities // 40 views
2. Alex Multiple Products File Upload Vulnerability // 36 views
3. HP OpenView Network Node Manager Cross-Site Scripting Vulnerabilities // 34 views
4. ClipShare "chid" SQL Injection Vulnerability // 34 views
5. imlib2 XPM Processing Buffer Overflow Vulnerability // 33 views
6. MauryCMS "c" SQL Injection Vulnerability // 30 views
7. MailScanner "trend-autoupdate" Insecure Temporary Files // 28 views
8. MyTopix "send" SQL Injection Vulnerability // 26 views
9. refbase "headerMsg" Cross-Site Scripting Vulnerability // 25 views
10. P3nfs Insecure Temporary Files // 23 views