GLSA 200903-18: Openswan: Insecure temporary file creation
Severity: | normal |
Title: | Openswan: Insecure temporary file creation |
Date: | 03/09/2009 |
Bugs: |
|
ID: | 200903-18 |
Synopsis
An insecure temporary file usage has been reported in Openswan, allowing for symlink attacks.Background
Openswan is an implementation of IPsec for Linux.
Affected packages
Package | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
net-misc/openswan | < 2.4.13-r2 | >= 2.4.13-r2 | All supported architectures |
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"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.