GLSA-200903-18 : Openswan: Insecure temporary file creation

medium Nessus Plugin ID 35816

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-200903-18 (Openswan: Insecure temporary file creation)

Dmitry E. Oboukhov reported that the IPSEC livetest tool does not handle the ipseclive.conn and ipsec.olts.remote.log temporary files securely.
Impact :

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

There is no known workaround at this time.

Solution

All Openswan users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/openswan-2.4.13-r2'

See Also

https://security.gentoo.org/glsa/200903-18

Plugin Details

Severity: Medium

ID: 35816

File Name: gentoo_GLSA-200903-18.nasl

Version: 1.15

Type: local

Published: 3/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: 4.4

Temporal Score: 3.4

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/9/2009

Reference Information

CVE: CVE-2008-4190

BID: 31243

CWE: 59

GLSA: 200903-18