FreeBSD : mbed TLS (PolarSSL) -- remote code execution (c2f107e1-2493-11e8-b3e8-001cc0382b2f)

High Nessus Plugin ID 107283

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Simon Butcher reports :

- When the truncated HMAC extension is enabled and CBC is used, sending a malicious application packet can be used to selectively corrupt 6 bytes on the peer's heap, potentially leading to a crash or remote code execution. This can be triggered remotely from either side in both TLS and DTLS.

- When RSASSA-PSS signature verification is enabled, sending a maliciously constructed certificate chain can be used to cause a buffer overflow on the peer's stack, potentially leading to crash or remote code execution. This can be triggered remotely from either side in both TLS and DTLS.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?c5679f5d

http://www.nessus.org/u?3d12502e

Plugin Details

Severity: High

ID: 107283

File Name: freebsd_pkg_c2f107e1249311e8b3e8001cc0382b2f.nasl

Version: 1.3

Type: local

Published: 2018/03/12

Updated: 2018/11/10

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

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

CVSS v3.0

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:mbedtls, p-cpe:/a:freebsd:freebsd:polarssl13, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2018/03/10

Vulnerability Publication Date: 2018/02/05

Reference Information

CVE: CVE-2018-0487, CVE-2018-0488