FreeBSD : vim -- arbitrary command execution (c11629d3-c8ad-11e6-ae1b-002590263bf5)

high Nessus Plugin ID 96118

Language:

Synopsis

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

Description

Mitre reports :

vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?4452fdfd

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

http://www.nessus.org/u?26998e1c

Plugin Details

Severity: High

ID: 96118

File Name: freebsd_pkg_c11629d3c8ad11e6ae1b002590263bf5.nasl

Version: 3.4

Type: local

Published: 12/27/2016

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS v3

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:neovim, p-cpe:/a:freebsd:freebsd:vim, p-cpe:/a:freebsd:freebsd:vim-console, p-cpe:/a:freebsd:freebsd:vim-lite, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 12/23/2016

Vulnerability Publication Date: 11/22/2016

Reference Information

CVE: CVE-2016-1248

BID: 94478