Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:12344
HistoryApr 20, 2006 - 12:00 a.m.

AWStats 6.5.x multiple vuln.

2006-04-2000:00:00
vulners.com
46

AWStats 6.5.x multiple vuln.

###############################################
Vuln. discovered by : r0t
Date: 20 april 2006
vendorlink:http://awstats.sourceforge.net/
affected versions: 6.5 (build 1.857) and prior
orginal advisory:
http://pridels.blogspot.com/2006/04/awstats-65x-multiple-vuln.html
###############################################

Vuln. Description:

  1. Cross-Site Scripting

AWStats contains a flaw that allows a remote cross site scripting attack.
This flaw exists because input passed to
"refererpagesfilter","refererpagesfilterex","urlfilterex","urlfilter","hostfilter","hostfilterex"
paremeter in "awstats.pl" isn't properly sanitised before being returned to
the user.
This could allow a user to create a specially crafted URL that would execute
arbitrary code in a user's browser within the trust relationship between the
browser and the server, leading to a loss of integrity.

examples:

/awstats.pl?refererpagesfilter=[XSS]&refererpages
filterex=&output=refererpages&config=unsecured-s
ystems.com&year=2006&month=all

/awstats.pl?refererpagesfilter=&refererpagesfilt
erex=[XSS]&output=refererpages&config=unsecured
-systems.com&year=2006&month=all

/awstats.pl?urlfilter=&urlfilterex=[XSS]&output=
urlentry&config=unsecured-systems.com&year=200
6&month=all

/awstats.pl?urlfilter=[XSS]&urlfilterex=&output=
urlentry&config=unsecured-systems.com&year=200
6&month=all

/awstats.pl?hostfilter=[XSS]&hostfilterex=&output=
allhosts&config=unsecured-systems.com&year=2006&
month=all

/awstats.pl?hostfilter=&hostfilterex=[XSS]&output
=allhosts&config=unsecured-systems.com&year=200
6&month=all

2.Full Path Disclosure.

examples:

/awstats.pl?month=&year=[CODE]
/awstats.pl?pluginmode=[CODE]
/awstats.pl?month=[CODE]

###############################################
Solution:
Edit the source code to ensure that input is properly sanitised.
###############################################
its just today's update…:)
###############################################
More information @ unsecured-systems.com/forum/