AWStats 6.5, and possibly other versions, allows remote authenticated users to execute arbitrary code by using the configdir parameter to awstats.pl to upload a configuration file whose name contains shell metacharacters, then access that file using the LogFile directive.
bugs.debian.org/cgi-bin/bugreport.cgi?bug=365910
secunia.com/advisories/20164
secunia.com/advisories/20283
secunia.com/advisories/20502
secunia.com/advisories/20710
www.debian.org/security/2006/dsa-1075
www.novell.com/linux/security/advisories/2006_33_awstats.html
www.osreviews.net/reviews/comm/awstats
www.securityfocus.com/bid/18327
www.vupen.com/english/advisories/2006/1998
usn.ubuntu.com/290-1/