SecurityContext

CVE-2018-5704: OpenOCD - Command Injection

  • Cve: CVE-2018-5704
  • Name: OpenOCD - Command Injection
  • 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.
  • Impact: Remote attackers can execute arbitrary commands on the affected system via crafted web pages, leading to potential full system compromise.
  • Remediation: Update to the latest version of OpenOCD where this issue is fixed.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to host malicious website
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.6
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Epss score: 0.04582
  • Epss percentile: 0.91857
  • Assignee: [email protected]
  • Published at: 2018-01-16T09:29:00Z
  • Age in days: 3234
  • Modified at: 2026-06-17T02:00:37Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-5704
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-134Use of Externally-Controlled Format String

Public exploits

UrlSourceAdded date
https://sourceforge.net/p/openocd/mailman/message/36188041/nvd2018-01-16

References

Same in every row:

  • Source: nvd
UrlTags
https://sourceforge.net/p/openocd/mailman/message/36188041/Exploit, Patch, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/01/msg00027.htmlThird Party Advisory
https://www.debian.org/security/2018/dsa-4093Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
openocd:open_on-chip_debugger= 0.10.0nonvd/v1/products/openocd/open_on-chip_debugger
debian:debian_linux= 9.0, = 8.0nonvd/v1/products/debian/debian_linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-01-16
  • Remote: yes
  • Exposed hosts: 4706702
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports