{"api_version":"1","generated_at":"2026-07-22T22:29:37+00:00","cve":"CVE-2011-1018","urls":{"html":"https://cve.report/CVE-2011-1018","api":"https://cve.report/api/cve/CVE-2011-1018.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2011-1018","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-1018"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"redhat","published_at":"2011-02-25 19:00:01","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-20","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=680237","name":"https://bugzilla.redhat.com/show_bug.cgi?id=680237","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"680237 – (CVE-2011-1018) CVE-2011-1018 logwatch: Privilege escalation due improper sanitization of special characters in log file names","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2011/dsa-2182","name":"http://www.debian.org/security/2011/dsa-2182","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-2182-1 logwatch","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/46554","name":"http://www.securityfocus.com/bid/46554","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Logwatch Log File Special Characters Local Privilege Escalation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://secunia.com/advisories/43622","name":"http://secunia.com/advisories/43622","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian update for logwatch - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/43495","name":"http://secunia.com/advisories/43495","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Logwatch Command Injection Vulnerability - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/43356","name":"http://secunia.com/advisories/43356","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Ubuntu update for logwatch  - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2011/0596","name":"http://www.vupen.com/english/advisories/2011/0596","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2011/0533","name":"http://www.vupen.com/english/advisories/2011/0533","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://logwatch.svn.sourceforge.net/viewvc/logwatch/scripts/logwatch.pl?r1=3&r2=26&pathrev=26","name":"http://logwatch.svn.sourceforge.net/viewvc/logwatch/scripts/logwatch.pl?r1=3&r2=26&pathrev=26","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"404 Not Found","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"http://www.securitytracker.com/id?1025165","name":"http://www.securitytracker.com/id?1025165","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityTracker: LogWatch Filename Processing Flaw Lets Remote Users Execute Arbitrary Code","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html","name":"http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] SUSE Security Summary Report: SUSE-SR:2011:005","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/43734","name":"http://secunia.com/advisories/43734","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Alerts - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2011/0581","name":"http://www.vupen.com/english/advisories/2011/0581","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055585.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055585.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 13 Update: logwatch-7.3.6-55.fc13","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2011/02/24/13","name":"http://www.openwall.com/lists/oss-security/2011/02/24/13","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"oss-security - CVE Request -- logwatch: Privilege escalation due improper sanitization\n of special characters in log file names","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://sourceforge.net/tracker/?func=detail&aid=3184223&group_id=312875&atid=1316824","name":"http://sourceforge.net/tracker/?func=detail&aid=3184223&group_id=312875&atid=1316824","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Logwatch / Bugs / #13 special chracters in log file names break logwatch","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055617.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055617.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 15 Update: logwatch-7.3.6-66.20110203svn25.fc15","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1078-1","name":"http://www.ubuntu.com/usn/USN-1078-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1078-1: Logwatch vulnerability | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=4D604843.7040303%40mblmail.net&forum_name=logwatch-devel","name":"http://sourceforge.net/mailarchive/forum.php?thread_name=4D604843.7040303%40mblmail.net&forum_name=logwatch-devel","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Logwatch / Thread: [Logwatch-devel] Remote command execution issue with root privileges","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2011/02/24/15","name":"http://www.openwall.com/lists/oss-security/2011/02/24/15","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"oss-security - Re: CVE Request -- logwatch: Privilege escalation\n due improper sanitization of special characters in log file names","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055579.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055579.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 14 Update: logwatch-7.3.6-60.fc14","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0324.html","name":"http://www.redhat.com/support/errata/RHSA-2011-0324.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/43644","name":"http://secunia.com/advisories/43644","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Red Hat update for logwatch - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2011:0324","name":"MISC:https://access.redhat.com/errata/RHSA-2011:0324","refsource":"MITRE","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/security/cve/CVE-2011-1018","name":"MISC:https://access.redhat.com/security/cve/CVE-2011-1018","refsource":"MITRE","tags":[],"title":"access.redhat.com | CVE-2011-1018","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1018","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1018","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2011","cve_id":"1018","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"logwatch","cpe5":"logwatch","cpe6":"7.3.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T22:14:27.220Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"[oss-security] 20110224 Re: CVE Request -- logwatch: Privilege escalation due improper sanitization of special characters in log file names","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2011/02/24/15"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://sourceforge.net/tracker/?func=detail&aid=3184223&group_id=312875&atid=1316824"},{"name":"ADV-2011-0581","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2011/0581"},{"name":"43495","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/43495"},{"name":"FEDORA-2011-2318","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055585.html"},{"name":"DSA-2182","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2011/dsa-2182"},{"name":"FEDORA-2011-2396","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055617.html"},{"name":"43356","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/43356"},{"name":"ADV-2011-0533","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2011/0533"},{"name":"SUSE-SR:2011:005","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html"},{"name":"[oss-security] 20110224 CVE Request -- logwatch: Privilege escalation due improper sanitization of special characters in log file names","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2011/02/24/13"},{"name":"43644","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/43644"},{"name":"RHSA-2011:0324","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2011-0324.html"},{"name":"43622","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/43622"},{"name":"46554","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/46554"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://logwatch.svn.sourceforge.net/viewvc/logwatch/scripts/logwatch.pl?r1=3&r2=26&pathrev=26"},{"name":"USN-1078-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1078-1"},{"name":"ADV-2011-0596","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2011/0596"},{"name":"FEDORA-2011-2328","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055579.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=680237"},{"name":"[Logwatch-devel] 20110216 Remote command execution issue with root privileges","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=4D604843.7040303%40mblmail.net&forum_name=logwatch-devel"},{"name":"43734","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/43734"},{"name":"1025165","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://www.securitytracker.com/id?1025165"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2011-02-16T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2014-02-06T20:57:02.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"[oss-security] 20110224 Re: CVE Request -- logwatch: Privilege escalation due improper sanitization of special characters in log file names","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2011/02/24/15"},{"tags":["x_refsource_CONFIRM"],"url":"http://sourceforge.net/tracker/?func=detail&aid=3184223&group_id=312875&atid=1316824"},{"name":"ADV-2011-0581","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2011/0581"},{"name":"43495","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/43495"},{"name":"FEDORA-2011-2318","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055585.html"},{"name":"DSA-2182","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2011/dsa-2182"},{"name":"FEDORA-2011-2396","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055617.html"},{"name":"43356","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/43356"},{"name":"ADV-2011-0533","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2011/0533"},{"name":"SUSE-SR:2011:005","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html"},{"name":"[oss-security] 20110224 CVE Request -- logwatch: Privilege escalation due improper sanitization of special characters in log file names","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2011/02/24/13"},{"name":"43644","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/43644"},{"name":"RHSA-2011:0324","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2011-0324.html"},{"name":"43622","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/43622"},{"name":"46554","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/46554"},{"tags":["x_refsource_CONFIRM"],"url":"http://logwatch.svn.sourceforge.net/viewvc/logwatch/scripts/logwatch.pl?r1=3&r2=26&pathrev=26"},{"name":"USN-1078-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1078-1"},{"name":"ADV-2011-0596","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2011/0596"},{"name":"FEDORA-2011-2328","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055579.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=680237"},{"name":"[Logwatch-devel] 20110216 Remote command execution issue with root privileges","tags":["mailing-list","x_refsource_MLIST"],"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=4D604843.7040303%40mblmail.net&forum_name=logwatch-devel"},{"name":"43734","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/43734"},{"name":"1025165","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://www.securitytracker.com/id?1025165"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2011-1018","datePublished":"2011-02-25T18:00:00.000Z","dateReserved":"2011-02-14T00:00:00.000Z","dateUpdated":"2024-08-06T22:14:27.220Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2011-02-25 19:00:01","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-20","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:logwatch:logwatch:7.3.6:*:*:*:*:*:*:*","matchCriteriaId":"3FBD0E67-747B-4A0A-9589-DDB72686FC59"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2011","CveId":"1018","Ordinal":"1","Title":"CVE-2011-1018","CVE":"CVE-2011-1018","Year":"2011"},"notes":[{"CveYear":"2011","CveId":"1018","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2011-1018"},{"CveYear":"2011","CveId":"1018","Ordinal":"2","NoteData":"2011-02-25","Type":"Other","Title":"Published"},{"CveYear":"2011","CveId":"1018","Ordinal":"3","NoteData":"2014-02-06","Type":"Other","Title":"Modified"}]}}}