Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200606-06 ] AWStats: Remote execution of arbitrary code
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Advocate
Advocate


Joined: 12 May 2004
Posts: 2663

PostPosted: Wed Jun 07, 2006 8:26 pm    Post subject: [ GLSA 200606-06 ] AWStats: Remote execution of arbitrary co Reply with quote

Gentoo Linux Security Advisory

Title: AWStats: Remote execution of arbitrary code (GLSA 200606-06)
Severity: high
Exploitable: remote
Date: June 07, 2006
Updated: May 28, 2009
Bug(s): #130487
ID: 200606-06

Synopsis


AWStats contains a bug in the sanitization of the input parameters which
can lead to the remote execution of arbitrary code.


Background


AWStats is an advanced log file analyzer and statistics generator.


Affected Packages

Package: www-misc/awstats
Vulnerable: < 6.5-r1
Unaffected: >= 6.5-r1
Architectures: All supported architectures


Description


Hendrik Weimer has found that if updating the statistics via the
web frontend is enabled, it is possible to inject arbitrary code via a
pipe character in the "migrate" parameter. Additionally, r0t has
discovered that AWStats fails to properly sanitize user-supplied input
in awstats.pl.


Impact


A remote attacker can execute arbitrary code on the server in the
context of the application running the AWStats CGI script if updating
of the statistics via web frontend is allowed. Nonetheless, all
configurations are affected by a cross-site scripting vulnerability in
awstats.pl, allowing a remote attacker to execute arbitrary scripts
running in the context of the victim's browser.


Workaround


Disable statistics updates using the web frontend to avoid code
injection. However, there is no known workaround at this time
concerning the cross-site scripting vulnerability.


Resolution


All AWStats users should upgrade to the latest version:
Code:
# emerge --sync
    # emerge --ask --oneshot --verbose ">=www-misc/awstats-6.5-r1"


References

CVE-2006-1945
CVE-2006-2237


Last edited by GLSA on Sat Sep 06, 2014 4:22 am; edited 3 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum