GLSA-200703-20 : LSAT: Insecure temporary file creation

medium Nessus Plugin ID 24869

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-200703-20 (LSAT: Insecure temporary file creation)

LSAT insecurely writes in /tmp with a predictable filename.
Impact :

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

There is no known workaround at this time.

Solution

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

See Also

https://security.gentoo.org/glsa/200703-20

Plugin Details

Severity: Medium

ID: 24869

File Name: gentoo_GLSA-200703-20.nasl

Version: 1.15

Type: local

Published: 3/19/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: Medium

Base Score: 4.3

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

Vulnerability Information

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

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

Patch Publication Date: 3/18/2007

Vulnerability Publication Date: 3/18/2007

Reference Information

CVE: CVE-2007-1500

GLSA: 200703-20