GLSA-200710-10 : SKK Tools: Insecure temporary file creation

medium Nessus Plugin ID 27045

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-200710-10 (SKK Tools: Insecure temporary file creation)

skkdic-expr.c insecurely writes temporary files to a location in the form $TMPDIR/skkdic$PID.{pag,dir,db}, where $PID is the process ID.
Impact :

A local attacker could create symbolic links in the directory where the temporary files are written, pointing to a valid file somewhere on the filesystem that is writable by the user running the SKK software. When SKK writes the temporary file, the target valid file would then be overwritten with the contents of the SKK temporary file.
Workaround :

There is no known workaround at this time.

Solution

All SKK Tools users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-i18n/skktools-1.2-r1'

See Also

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

Plugin Details

Severity: Medium

ID: 27045

File Name: gentoo_GLSA-200710-10.nasl

Version: 1.14

Type: local

Published: 10/15/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 4.4

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

Vulnerability Information

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

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

Patch Publication Date: 10/12/2007

Reference Information

CVE: CVE-2007-3916

CWE: 59

GLSA: 200710-10