{"id":"CVE-2011-1018","aliases":["DEBIAN-CVE-2011-1018","DSA-2182-1","EUVD-2011-1035","GHSA-g657-whx2-ph73","RHSA-2011:0324","openSUSE-SU-2024:10097-1"],"status":"published","title":"logwatch.pl in Logwatch 7.3.6 allows remote attackers to execute arbitrary commands via shell...","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.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.18321,"percentile":0.97242,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2011-02-25T18:00:00Z","modified":"2026-10-23T17:47:26Z","exploits":[{"source":"exploitdb","id":"EDB-35386","title":"Logwatch Log File - Special Characters Privilege Escalation","type":"remote","platform":"linux","date":"2011-02-24","verified":true,"url":"https://www.exploit-db.com/exploits/35386"}],"fixes":[{"ecosystem":"Debian:12","package":"logwatch","fixed_in":["7.3.6.cvs20090906-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"logwatch","fixed_in":["7.3.6.cvs20090906-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"logwatch","fixed_in":["7.3.6.cvs20090906-2"],"sources":["osv"]},{"ecosystem":"Debian:5.0","package":"logwatch","fixed_in":["7.3.6.cvs20080702-2lenny1"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"logwatch","fixed_in":["7.3.6.cvs20090906-1squeeze1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"logwatch","fixed_in":["0:7.3-9.el5_6"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"logwatch","fixed_in":["0:7.3.6-49.el6"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"logwatch","fixed_in":["0:7.3.6-49.el6"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"logwatch","fixed_in":["0:7.3.6-49.el6"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"logwatch","fixed_in":["0:7.3.6-49.el6"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"logwatch","fixed_in":["7.4.3-1.4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3.6.cvs20090906-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3.6.cvs20090906-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3.6.cvs20090906-2"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3.6.cvs20080702-2lenny1"}]}],"versions":["7.3.6.cvs20080702-2"]},{"source":"osv","ecosystem":"Debian:6.0","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3.6.cvs20090906-1squeeze1"}]}],"versions":["7.3.6.cvs20090906-1"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.3-9.el5_6"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.3.6-49.el6"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.3.6-49.el6"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.3.6-49.el6"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.3.6-49.el6"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"logwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.3-1.4"}]}]}],"products":[{"vendor":"logwatch","product":"logwatch"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2011/02/24/15","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","fix"]},{"url":"http://sourceforge.net/tracker/?func=detail\u0026aid=3184223\u0026group_id=312875\u0026atid=1316824","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.vupen.com/english/advisories/2011/0581","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/43495","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055585.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.debian.org/security/2011/dsa-2182","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055617.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://secunia.com/advisories/43356","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0533","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2011/02/24/13","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","fix"]},{"url":"http://secunia.com/advisories/43644","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0324.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://secunia.com/advisories/43622","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/46554","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://logwatch.svn.sourceforge.net/viewvc/logwatch/scripts/logwatch.pl?r1=3\u0026r2=26\u0026pathrev=26","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.ubuntu.com/usn/USN-1078-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0596","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055579.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=680237","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","report"]},{"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=4D604843.7040303%40mblmail.net\u0026forum_name=logwatch-devel","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/43734","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securitytracker.com/id?1025165","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1018","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2011:0324","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2011-1018","tags":["report"]},{"url":"https://github.com/advisories/GHSA-g657-whx2-ph73"},{"url":"https://security-tracker.debian.org/tracker/CVE-2011-1018","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2011/rhsa-2011_0324.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1018","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2011-1018","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2011-1018","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.","status":"published","published":"2011-02-25T18:00:00Z","modified":"2024-08-06T22:14:27.22Z","updated_at":"2026-11-02T14:35:38.711857Z"}],"euvd":[{"id":"EUVD-2011-1035","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.","status":"published","published":"2011-02-25T18:00:00Z","modified":"2024-08-06T22:14:27Z","updated_at":"2026-11-03T01:55:58.301107Z"}],"ghsa":[{"id":"GHSA-g657-whx2-ph73","title":"logwatch.pl in Logwatch 7.3.6 allows remote attackers to execute arbitrary commands via shell...","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.","status":"published","published":"2022-05-17T04:52:58Z","modified":"2023-02-10T05:06:26Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:54:01.789224Z"}],"nvd":[{"id":"CVE-2011-1018","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.","status":"published","published":"2011-02-25T19:00:01.32Z","modified":"2026-06-16T23:28:33.88Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:06.042049Z"}],"osv":[{"id":"CVE-2011-1018","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.","status":"published","published":"2011-02-25T19:00:01Z","modified":"2026-04-10T03:41:40.822472Z","updated_at":"2026-11-02T15:43:57.991581Z"},{"id":"DEBIAN-CVE-2011-1018","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.","status":"published","published":"2011-02-25T19:00:01.32Z","modified":"2026-10-23T17:47:26.962927514Z","updated_at":"2026-11-02T15:45:24.612044Z"},{"id":"DSA-2182-1","title":"logwatch - remote code execution","status":"published","published":"2011-03-04T00:00:00Z","modified":"2026-03-09T01:19:05.52297Z","updated_at":"2026-11-02T15:46:15.108335Z"},{"id":"openSUSE-SU-2024:10097-1","title":"logwatch-7.4.3-1.4 on GA media","description":"These are all security issues fixed in the logwatch-7.4.3-1.4 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:10:43.869468Z","updated_at":"2026-11-02T16:58:33.135986Z"},{"id":"RHSA-2011:0324","title":"Red Hat Security Advisory: logwatch security update","status":"published","published":"2024-09-15T19:00:15Z","modified":"2026-06-28T10:04:39Z","updated_at":"2026-11-02T15:53:01.003286Z"}]}}
