awstats.cgi in AWStats before 7.0 on Windows accepts a configdir parameter in the URL, which allows remote attackers to execute arbitrary commands via a crafted configuration file located at a UNC share pathname.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2010-4337
http://www.kb.cert.org/vuls/id/870532
http://www.exploitdevelopment.com/Vulnerabilities/2010-WEB-001.html