GLSA-200410-25 : Netatalk: Insecure tempfile handling in etc2ps.sh

low Nessus Plugin ID 15567

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-200410-25 (Netatalk: Insecure tempfile handling in etc2ps.sh)

The etc2ps.sh script creates temporary files in world-writeable directories with predictable names.
Impact :

A local attacker could create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When etc2ps.sh is executed, this would result in the file being overwritten with the rights of the user running the utility, which could be the root user.
Workaround :

There is no known workaround at this time.

Solution

All Netatalk users should upgrade to the latest version:
# emerge sync # emerge -pv '>=net-fs/netatalk-1.6.4-r1' # emerge '>=net-fs/netatalk-1.6.4-r1'

See Also

https://security.gentoo.org/glsa/200410-25

Plugin Details

Severity: Low

ID: 15567

File Name: gentoo_GLSA-200410-25.nasl

Version: 1.18

Type: local

Published: 10/26/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.7

CVSS v2

Risk Factor: Low

Base Score: 2.1

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

Vulnerability Information

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

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

Patch Publication Date: 10/25/2004

Vulnerability Publication Date: 9/30/2004

Reference Information

CVE: CVE-2004-0974

GLSA: 200410-25