Debian DSA-4093-1 : openocd - security update

critical Nessus Plugin ID 106213

Synopsis

The remote Debian host is missing a security-related update.

Description

Josef Gajdusek discovered that OpenOCD, a JTAG debugger for ARM and MIPS, was vulnerable to Cross Protocol Scripting attacks. An attacker could craft a HTML page that, when visited by a victim running OpenOCD, could execute arbitrary commands on the victims host.

This fix also sets the OpenOCD default binding to localhost, instead of every network interfaces. This can be changed with the added 'bindto'command argument.

Solution

Upgrade the openocd packages.

For the oldstable distribution (jessie), this problem has been fixed in version 0.8.0-4+deb7u1.

For the stable distribution (stretch), this problem has been fixed in version 0.9.0-1+deb8u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887488

https://security-tracker.debian.org/tracker/source-package/openocd

https://packages.debian.org/source/jessie/openocd

https://packages.debian.org/source/stretch/openocd

https://www.debian.org/security/2018/dsa-4093

Plugin Details

Severity: Critical

ID: 106213

File Name: debian_DSA-4093.nasl

Version: 3.4

Type: local

Agent: unix

Published: 1/22/2018

Updated: 11/13/2018

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: High

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:openocd, cpe:/o:debian:debian_linux:8.0, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 1/21/2018

Reference Information

CVE: CVE-2018-5704

DSA: 4093