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

Medium Nessus Plugin ID 35816


The remote Gentoo host is missing one or more security-related patches.


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.


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

See Also

Plugin Details

Severity: Medium

ID: 35816

File Name: gentoo_GLSA-200903-18.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2009/03/10

Modified: 2016/05/16

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.4

Temporal Score: 3.8

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

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

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: 2009/03/09

Reference Information

CVE: CVE-2008-4190

BID: 31243

OSVDB: 49096

GLSA: 200903-18

CWE: 59