Every CVE Search/ Get API key

CVE-2018-5704

Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data...

9.6 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

4.58%Up 2.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.6

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.

Record
CVE-2018-5704
CVSS 3.0
9.6 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS 2.0
9.3 HighAV:N/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-134
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-5704
Updated
2026-11-02
EUVDEUVD-2018-17473 No score

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.

Record
EUVD-2018-17473
Updated
2026-11-03
GitHub AdvisoriesGHSA-6gfh-wrq3-9f83 9.6

Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attempts to use HTTP POST for sending data...

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.

Record
GHSA-6gfh-wrq3-9f83
CVSS 3.0
9.6 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-134
Updated
2026-11-02
OSV 9.6

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.

Record
CVE-2018-5704
CVSS 3.0
9.6 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-5704 9.6

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.

Record
DEBIAN-CVE-2018-5704
CVSS 3.0
9.6 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-5704 9.6

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.

Record
UBUNTU-CVE-2018-5704
CVSS 3.0
9.6 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openocd
Debian:12
before 0.10.0-4
0.10.0-4
openocd
Debian:13
before 0.10.0-4
0.10.0-4
openocd
Debian:14
before 0.10.0-4
0.10.0-4
openocd
Debian:7
before 0.5.0-1+deb7u1, plus listed versions
0.5.0-1
0.5.0-1+deb7u1
openocd
Debian:8
before 0.8.0-4+deb7u1, plus listed versions
0.8.0-4
0.8.0-4+deb7u1
openocd
Debian:9
before 0.9.0-1+deb8u1, plus listed versions
0.9.0-1
0.9.0-1+deb8u1
openocd
Ubuntu:16.04:LTS
before 0.9.0-1+deb8u1build0.16.04.1, plus listed versions
0.9.0-1build1
0.9.0-1+deb8u1build0.16.04.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-5704 is a critical vulnerability (CVSS 9.6) in Openocd Open On-chip Debugger, published January 16, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.58%, the 91st percentile. Fixed in openocd 0.10.0-4.

References

Show 5 moreShow less
MoveEnter Open