GLSA-202107-11 : OpenDoas: Insufficient environment filtering

high Nessus Plugin ID 157037

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202107-11 (OpenDoas: Insufficient environment filtering)

OpenDoas does not properly filter the PATH variable from the resulting shell after escalating privileges.
Impact :

A local attacker with control of a user’s PATH variable could escalate privileges if that user uses OpenDoas with a poisoned PATH variable.
Workaround :

There is no known workaround at this time.

Solution

All OpenDoas users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-admin/doas-6.8.1'

See Also

https://security.gentoo.org/glsa/202107-11

Plugin Details

Severity: High

ID: 157037

File Name: gentoo_GLSA-202107-11.nasl

Version: 1.4

Type: local

Published: 1/24/2022

Updated: 12/21/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.1

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

CVSS Score Source: CVE-2019-25016

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:doas, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/7/2021

Vulnerability Publication Date: 1/28/2021

Reference Information

CVE: CVE-2019-25016

GLSA: 202107-11