FreeBSD : vim -- multiple vulnerabilities in the netrw module (0e1e3789-d87f-11dd-8ecd-00163e000016)

high Nessus Plugin ID 35283

Synopsis

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

Description

Jan Minar reports :

Applying the ``D'' to a file with a crafted file name, or inside a directory with a crafted directory name, can lead to arbitrary code execution.

Lack of sanitization throughout Netrw can lead to arbitrary code execution upon opening a directory with a crafted name.

The Vim Netrw Plugin shares the FTP user name and password across all FTP sessions. Every time Vim makes a new FTP connection, it sends the user name and password of the previous FTP session to the FTP server.

Solution

Update the affected packages.

See Also

https://www.openwall.com/lists/oss-security/2008/10/16/2

https://www.rdancer.org/vulnerablevim-netrw.html

https://www.rdancer.org/vulnerablevim-netrw.v2.html

https://www.rdancer.org/vulnerablevim-netrw.v5.html

https://www.rdancer.org/vulnerablevim-netrw-credentials-dis.html

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

Plugin Details

Severity: High

ID: 35283

File Name: freebsd_pkg_0e1e3789d87f11dd8ecd00163e000016.nasl

Version: 1.14

Type: local

Published: 1/2/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:vim, p-cpe:/a:freebsd:freebsd:vim-console, p-cpe:/a:freebsd:freebsd:vim-gnome, p-cpe:/a:freebsd:freebsd:vim-gtk2, 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: 1/2/2009

Vulnerability Publication Date: 10/16/2008

Reference Information

CVE: CVE-2008-3076

CWE: 78