GLSA-200803-23 : Website META Language: Insecure temporary file usage

low Nessus Plugin ID 31594

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-200803-23 (Website META Language: Insecure temporary file usage)

Temporary files are handled insecurely in the files wml_backend/p1_ipp/ipp.src, wml_contrib/wmg.cgi, and wml_backend/p3_eperl/eperl_sys.c, allowing users to overwrite or delete arbitrary files with the privileges of the user running the program.
Impact :

Local users can exploit the insecure temporary file vulnerabilities via symlink attacks to perform certain actions with escalated privileges.
Workaround :

Restrict access to the temporary directory to trusted users only.

Solution

All Website META Language users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/wml-2.0.11-r3'

See Also

https://security.gentoo.org/glsa/200803-23

Plugin Details

Severity: Low

ID: 31594

File Name: gentoo_GLSA-200803-23.nasl

Version: 1.15

Type: local

Published: 3/17/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

CVSS v2

Risk Factor: Low

Base Score: 3.6

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

Vulnerability Information

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

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

Patch Publication Date: 3/15/2008

Reference Information

CVE: CVE-2008-0665, CVE-2008-0666

CWE: 59

GLSA: 200803-23