|
 |
|
AWStats Cross-Site Scripting and Full Path Disclosure
|
|
|
|
|
Secunia Advisory:
|
SA19725
|
|
|
Release Date:
|
2006-04-19
|
|
Last Update:
|
2006-07-20
|
|
|
Critical:
|

Less critical
|
|
Impact:
|
Cross Site Scripting Exposure of system information
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | AWStats 6.x
|
| | CVE reference: | CVE-2006-1945 (Secunia mirror) CVE-2006-3681 (Secunia mirror) CVE-2006-3682 (Secunia mirror)
|
|
|
This advisory is currently marked as unpatched! - Companies can be alerted when a patch is released! |
|
|
Description: r0t has discovered some vulnerabilities in AWStats, which can be exploited by malicious people to disclose system information and conduct cross-site scripting attacks.
1) Some input isn't 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.
Examples:
http://[host]/awstats.pl?config=[code]
http://[host]/awstats.pl?refererpagesfilter=[code]&refererpagesfilterex=&output=refererpages&config=[config]&year=2006&month=all
http://[host]/awstats.pl?refererpagesfilter=&refererpagesfilterex=[code]&output=refererpages&config=[config]&year=2006&month=all
http://[host]/awstats.pl?urlfilter=&urlfilterex=[code]&output=urlentry&config=[config]&year=2006&month=all
http://[host]//awstats.pl?urlfilter=[code]&urlfilterex=&output=urlentry&config=[config]&year=2006&month=all
http://[host]/awstats.pl?hostfilter=[code]&hostfilterex=&output=allhosts&config=[config]&year=2006&month=all
http://[host]/awstats.pl?hostfilter=&hostfilterex=[code]&output=allhosts&config=[config]&year=2006&month=all
The "diricons" parameter is reportedly also affected.
2) The problem is that it is possible to disclose the full path to the installation by supplying an invalid "config" parameter to "awstats.pl".
The vulnerabilities have been confirmed in version 6.5. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised and verified.
Provided and/or discovered by: r0t
1) Additional information provided by OS Reviews.
Changelog: 2006-04-20: Added additional vulnerabilities provided by r0t.
2006-04-27: Added CVE reference.
2006-05-05: Added additional information provided by OS Reviews.
2006-07-20: Added CVE reference.
2006-07-20: Added CVE reference.
Original Advisory: http://pridels.blogspot.com/2006/04/awstats-65-vuln.html
http://pridels.blogspot.com/2006/04/awstats-65x-multiple-vuln.html
http://www.osreviews.net/reviews/comm/awstats
|
|
|
|
|
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.
|
|
|
|
4 Related Secunia Security Advisories
|
|
|
1. AWStats "configdir" Arbitrary Configuration File Loading
|
|
2. AWStats "migrate" Shell Command Injection Vulnerability
|
|
3. AWStats Multiple Vulnerabilities
|
|
4. AWStats "configdir" Parameter Arbitrary Command Execution
|
|
|
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.
|
|
|
|

|
 |
Secunia PSI Scan | Patch | Track Free Download
|
|
|
Secunia Poll
|
|
|
|
|
 |
|
|
Most Popular Advisories
|
|
|
|
|
|