Debian DLA-2822-1 : netkit-rsh - LTS security update

high Nessus Plugin ID 155622

Synopsis

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

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2822 advisory.

- In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685. (CVE-2019-7282)

- An issue was discovered in rcp in NetKit through 0.17. For an rcp operation, the server chooses which files/directories are sent to the client. However, the rcp client only performs cursory validation of the object name returned. A malicious rsh server (or Man-in-The-Middle attacker) can overwrite arbitrary files in a directory on the rcp client machine. This is similar to CVE-2019-6111. (CVE-2019-7283)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the netkit-rsh packages.

For Debian 9 stretch, these problems have been fixed in version 0.17-17+deb9u1.

See Also

https://security-tracker.debian.org/tracker/source-package/netkit-rsh

https://www.debian.org/lts/security/2021/dla-2822

https://security-tracker.debian.org/tracker/CVE-2019-7282

https://security-tracker.debian.org/tracker/CVE-2019-7283

https://packages.debian.org/source/stretch/netkit-rsh

Plugin Details

Severity: High

ID: 155622

File Name: debian_DLA-2822.nasl

Version: 1.4

Type: local

Agent: unix

Published: 11/19/2021

Updated: 11/23/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

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

CVSS Score Source: CVE-2019-7283

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:rsh-client, p-cpe:/a:debian:debian_linux:rsh-server, cpe:/o:debian:debian_linux:9.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/18/2021

Vulnerability Publication Date: 1/31/2019

Reference Information

CVE: CVE-2019-7282, CVE-2019-7283