GLSA-200909-10 : LMBench: Insecure temporary file usage

medium Nessus Plugin ID 40918

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-200909-10 (LMBench: Insecure temporary file usage)

Dmitry E. Oboukhov reported that the rccs and STUFF scripts do not handle '/tmp/sdiff.#####' temporary files securely. NOTE: There might be further occurances of insecure temporary file usage.
Impact :

A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.
Workaround :

There is no known workaround at this time.

Solution

LMBench has been removed from Portage. We recommend that users unmerge LMBench:
# emerge --unmerge app-benchmarks/lmbench

See Also

https://security.gentoo.org/glsa/200909-10

Plugin Details

Severity: Medium

ID: 40918

File Name: gentoo_GLSA-200909-10.nasl

Version: 1.11

Type: local

Published: 9/10/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.9

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

Vulnerability Information

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

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

Patch Publication Date: 9/9/2009

Reference Information

CVE: CVE-2008-4968

CWE: 59

GLSA: 200909-10