FreeBSD : Dropbear -- two vulnerabilities (60931f98-55a7-11e7-8514-589cfc0654e1)

high Nessus Plugin ID 101217

Language:

Synopsis

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

Description

Matt Johnston reports :

Fix double-free in server TCP listener cleanup A double-free in the server could be triggered by an authenticated user if dropbear is running with -a (Allow connections to forwarded ports from any host) This could potentially allow arbitrary code execution as root by an authenticated user.

Fix information disclosure with ~/.ssh/authorized_keys symlink.
Dropbear parsed authorized_keys as root, even if it were a symlink.
The fix is to switch to user permissions when opening authorized_keys.

Solution

Update the affected package.

See Also

https://matt.ucc.asn.au/dropbear/CHANGES

http://www.nessus.org/u?886c845e

Plugin Details

Severity: High

ID: 101217

File Name: freebsd_pkg_60931f9855a711e78514589cfc0654e1.nasl

Version: 3.4

Type: local

Published: 7/5/2017

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

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: High

Base Score: 8.1

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:dropbear, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 7/3/2017

Vulnerability Publication Date: 5/18/2017

Reference Information

CVE: CVE-2017-9078, CVE-2017-9079