{"api_version":"1","generated_at":"2026-07-23T08:33:54+00:00","cve":"CVE-2015-1418","urls":{"html":"https://cve.report/CVE-2015-1418","api":"https://cve.report/api/cve/CVE-2015-1418.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-1418","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-1418"},"summary":{"title":"CVE-2015-1418","description":"The do_ed_script function in pch.c in GNU patch through 2.7.6, and patch in FreeBSD 10.1 before 10.1-RELEASE-p17, 10.2 before 10.2-BETA2-p3, 10.2-RC1 before 10.2-RC1-p2, and 0.2-RC2 before 10.2-RC2-p1, allows remote attackers to execute arbitrary commands via a crafted patch file, because a '!' character can be passed to the ed program.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-02-05 16:29:00","updated_at":"2018-04-07 01:29:00"},"problem_types":["CWE-200"],"metrics":[],"references":[{"url":"http://www.securitytracker.com/id/1033188","name":"1033188","refsource":"SECTRACK","tags":["Third Party Advisory","VDB Entry"],"title":"FreeBSD patch(1) Lets Remote Users Execute Arbitrary Commands on the Target System - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-15:18.bsdpatch.asc","name":"FreeBSD-SA-15:18","refsource":"FREEBSD","tags":["Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://ftp.openbsd.org/pub/OpenBSD/patches/5.7/common/013_patch.patch.sig","name":"https://ftp.openbsd.org/pub/OpenBSD/patches/5.7/common/013_patch.patch.sig","refsource":"MISC","tags":[],"title":"","mime":"text/x-diff","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.debian.org/894667","name":"https://bugs.debian.org/894667","refsource":"MISC","tags":[],"title":"#894667 - beep: CVE-2018-0492 - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rachelbythebay.com/w/2018/04/05/bangpatch/","name":"http://rachelbythebay.com/w/2018/04/05/bangpatch/","refsource":"MISC","tags":[],"title":"patch runs ed, and ed can run anything","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/76236","name":"76236","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-1418","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1418","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"1418","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"10.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1418","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"10.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1418","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"10.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"1418","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"10.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-1418","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The do_ed_script function in pch.c in GNU patch through 2.7.6, and patch in FreeBSD 10.1 before 10.1-RELEASE-p17, 10.2 before 10.2-BETA2-p3, 10.2-RC1 before 10.2-RC1-p2, and 0.2-RC2 before 10.2-RC2-p1, allows remote attackers to execute arbitrary commands via a crafted patch file, because a '!' character can be passed to the ed program."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://ftp.openbsd.org/pub/OpenBSD/patches/5.7/common/013_patch.patch.sig","refsource":"MISC","url":"https://ftp.openbsd.org/pub/OpenBSD/patches/5.7/common/013_patch.patch.sig"},{"name":"76236","refsource":"BID","url":"http://www.securityfocus.com/bid/76236"},{"name":"1033188","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1033188"},{"name":"FreeBSD-SA-15:18","refsource":"FREEBSD","url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-15:18.bsdpatch.asc"},{"name":"http://rachelbythebay.com/w/2018/04/05/bangpatch/","refsource":"MISC","url":"http://rachelbythebay.com/w/2018/04/05/bangpatch/"},{"name":"https://bugs.debian.org/894667","refsource":"MISC","url":"https://bugs.debian.org/894667"}]}},"nvd":{"publishedDate":"2018-02-05 16:29:00","lastModifiedDate":"2018-04-07 01:29:00","problem_types":["CWE-200"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9.3},"severity":"HIGH","exploitabilityScore":8.6,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"1418","Ordinal":"78274","Title":"CVE-2015-1418","CVE":"CVE-2015-1418","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"1418","Ordinal":"1","NoteData":"The do_ed_script function in pch.c in GNU patch through 2.7.6, and patch in FreeBSD 10.1 before 10.1-RELEASE-p17, 10.2 before 10.2-BETA2-p3, 10.2-RC1 before 10.2-RC1-p2, and 0.2-RC2 before 10.2-RC2-p1, allows remote attackers to execute arbitrary commands via a crafted patch file, because a '!' character can be passed to the ed program.","Type":"Description","Title":null},{"CveYear":"2015","CveId":"1418","Ordinal":"2","NoteData":"2018-02-05","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"1418","Ordinal":"3","NoteData":"2018-04-06","Type":"Other","Title":"Modified"}]}}}