CVE-2018-5704 Command injection in n/a

Critical 9.6 Published Updated

Remote attackers can execute arbitrary commands on OpenOCD via cross-protocol scripting attacks from a crafted website.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-5704?

CVE-2018-5704 is a critical command injection vulnerability in Debian Debian Linux, published on 16 Jan 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-134

Which versions are affected by CVE-2018-5704?

It affects 2 products.

Products include Debian Debian Linux, Openocd Open On-Chip Debugger.

How do I fix CVE-2018-5704?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2018-5704 being exploited?

There is no known exploitation of CVE-2018-5704 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-5704, DLA-1253-1, DSA-4093-1, GHSA-6gfh-wrq3-9f83, UBUNTU-CVE-2018-5704.

Is CVE-2018-5704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free