Openswan: Insecure temporary file creation

2009-03-09T00:00:00
ID GLSA-200903-18
Type gentoo
Reporter Gentoo Foundation
Modified 2009-03-09T00:00:00

Description

Background

Openswan is an implementation of IPsec for Linux.

Description

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.

Resolution

All Openswan users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-misc/openswan-2.4.13-r2"