GLSA-200502-30 : cmd5checkpw: Local password leak vulnerability

low Nessus Plugin ID 17233

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-200502-30 (cmd5checkpw: Local password leak vulnerability)

Florian Westphal discovered that cmd5checkpw is installed setuid cmd5checkpw but does not drop privileges before calling execvp(), so the invoked program retains the cmd5checkpw euid.
Impact :

Local users that know at least one valid /etc/poppasswd user/password combination can read the /etc/poppasswd file.
Workaround :

There is no known workaround at this time.

Solution

All cmd5checkpw users should upgrade to the latest available version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-mail/cmd5checkpw-0.22-r2'

See Also

https://security.gentoo.org/glsa/200502-30

Plugin Details

Severity: Low

ID: 17233

File Name: gentoo_GLSA-200502-30.nasl

Version: 1.15

Type: local

Published: 3/1/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Low

Base Score: 2.1

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

Vulnerability Information

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

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

Patch Publication Date: 2/25/2005

Vulnerability Publication Date: 2/25/2005

Reference Information

CVE: CVE-2005-0580

GLSA: 200502-30