{"id":"CVE-2018-5704","aliases":["DEBIAN-CVE-2018-5704","DLA-1253-1","DSA-4093-1","EUVD-2018-17473","GHSA-6gfh-wrq3-9f83","UBUNTU-CVE-2018-5704"],"status":"published","title":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data...","description":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data to 127.0.0.1 port 4444, which allows remote attackers to conduct cross-protocol scripting attacks, and consequently execute arbitrary commands, via a crafted web site.","severity":{"version":"3.0","score":9.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04582,"percentile":0.91692,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-134"],"published":"2018-01-16T09:00:00Z","modified":"2026-10-23T18:03:07Z","fixes":[{"ecosystem":"Debian:12","package":"openocd","fixed_in":["0.10.0-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"openocd","fixed_in":["0.10.0-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"openocd","fixed_in":["0.10.0-4"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"openocd","fixed_in":["0.5.0-1+deb7u1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"openocd","fixed_in":["0.8.0-4+deb7u1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"openocd","fixed_in":["0.9.0-1+deb8u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"openocd","fixed_in":["0.9.0-1+deb8u1build0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"openocd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"openocd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"openocd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-4"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"openocd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.0-1+deb7u1"}]}],"versions":["0.5.0-1"]},{"source":"osv","ecosystem":"Debian:8","package":"openocd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-4+deb7u1"}]}],"versions":["0.8.0-4"]},{"source":"osv","ecosystem":"Debian:9","package":"openocd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0-1+deb8u1"}]}],"versions":["0.9.0-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"openocd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0-1+deb8u1build0.16.04.1"}]}],"versions":["0.9.0-1build1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"openocd","product":"open_on-chip_debugger"}],"references":[{"url":"https://sourceforge.net/p/openocd/mailman/message/36188041/","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","report"]},{"url":"https://www.debian.org/security/2018/dsa-4093","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00027.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5704"},{"url":"https://github.com/advisories/GHSA-6gfh-wrq3-9f83"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5704","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-5704","tags":["report"]},{"url":"http://openocd.zylin.com/4330","tags":["report"]},{"url":"http://openocd.zylin.com/4331","tags":["report"]},{"url":"http://openocd.zylin.com/4335","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5704","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-5704","description":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data to 127.0.0.1 port 4444, which allows remote attackers to conduct cross-protocol scripting attacks, and consequently execute arbitrary commands, via a crafted web site.","status":"published","published":"2018-01-16T09:00:00Z","modified":"2024-08-05T05:40:51.24Z","updated_at":"2026-11-02T14:35:00.948726Z"}],"euvd":[{"id":"EUVD-2018-17473","description":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data to 127.0.0.1 port 4444, which allows remote attackers to conduct cross-protocol scripting attacks, and consequently execute arbitrary commands, via a crafted web site.","status":"published","published":"2018-01-16T09:00:00Z","modified":"2024-08-05T05:40:51Z","updated_at":"2026-11-03T02:40:10.116776Z"}],"ghsa":[{"id":"GHSA-6gfh-wrq3-9f83","title":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data...","description":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data to 127.0.0.1 port 4444, which allows remote attackers to conduct cross-protocol scripting attacks, and consequently execute arbitrary commands, via a crafted web site.","status":"published","published":"2022-05-14T03:45:28Z","modified":"2023-02-03T05:00:31Z","cvss":[{"version":"3.0","score":9.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-134"],"updated_at":"2026-11-02T14:52:48.49301Z"}],"nvd":[{"id":"CVE-2018-5704","description":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data to 127.0.0.1 port 4444, which allows remote attackers to conduct cross-protocol scripting attacks, and consequently execute arbitrary commands, via a crafted web site.","status":"published","published":"2018-01-16T09:29:00.467Z","modified":"2026-06-17T02:00:37.633Z","cvss":[{"version":"3.0","score":9.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-134"],"updated_at":"2026-11-02T14:04:22.309028Z"}],"osv":[{"id":"CVE-2018-5704","description":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data to 127.0.0.1 port 4444, which allows remote attackers to conduct cross-protocol scripting attacks, and consequently execute arbitrary commands, via a crafted web site.","status":"published","published":"2018-01-16T09:29:00.467Z","modified":"2026-03-15T22:26:20.190198Z","cvss":[{"version":"3.0","score":9.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"DEBIAN-CVE-2018-5704","description":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data to 127.0.0.1 port 4444, which allows remote attackers to conduct cross-protocol scripting attacks, and consequently execute arbitrary commands, via a crafted web site.","status":"published","published":"2018-01-16T09:29:00.467Z","modified":"2026-10-23T18:03:07.205694819Z","cvss":[{"version":"3.0","score":9.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-5704","description":"Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data to 127.0.0.1 port 4444, which allows remote attackers to conduct cross-protocol scripting attacks, and consequently execute arbitrary commands, via a crafted web site.","status":"published","published":"2018-01-16T09:29:00Z","modified":"2025-09-08T16:44:44Z","cvss":[{"version":"3.0","score":9.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:18.33562Z"},{"id":"DLA-1253-1","title":"openocd - security update","status":"published","published":"2018-01-21T00:00:00Z","modified":"2026-03-09T01:01:43.876621Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-4093-1","title":"openocd - security update","status":"published","published":"2018-01-21T00:00:00Z","modified":"2026-03-09T01:18:43.986782Z","updated_at":"2026-11-02T15:46:16.523846Z"}]}}
