ID CVE-2008-4190
Summary The IPSEC livetest tool in Openswan 2.4.12 and earlier, and 2.6.x through 2.6.16, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the (1) ipseclive.conn and (2) ipsec.olts.remote.log temporary files. NOTE: in many distributions and the upstream version, this tool has been disabled.
References
Vulnerable Configurations
  • cpe:2.3:a:openswan:openswan:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:1.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:1.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:1.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:1.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:1.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:1.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:1.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:1.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:2.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:2.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:2.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:2.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:2.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:2.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:2.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:2.2:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:openswan:openswan:2.3:*:*:*:*:*:*:*
    cpe:2.3:a:openswan:openswan:2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.3:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.3:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.4:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.4:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.5:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.5:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.6:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.6:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.7:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.7:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.8:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.8:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.9:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.9:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.10:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.10:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.11:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.11:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.4.12:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.4.12:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.03:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.03:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.04:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.04:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.05:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.05:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.06:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.06:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.07:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.07:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.08:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.08:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.09:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.09:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.10:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.10:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.11:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.11:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.12:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.12:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.13:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.13:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.14:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.14:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.15:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.15:*:*:*:*:*:*:*
  • cpe:2.3:a:xelerance:openswan:2.6.16:*:*:*:*:*:*:*
    cpe:2.3:a:xelerance:openswan:2.6.16:*:*:*:*:*:*:*
CVSS
Base: 4.4 (as of 29-07-2019 - 14:24)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:P/A:P
oval via4
accepted 2013-04-29T04:01:18.652-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description The IPSEC livetest tool in Openswan 2.4.12 and earlier, and 2.6.x through 2.6.16, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the (1) ipseclive.conn and (2) ipsec.olts.remote.log temporary files. NOTE: in many distributions and the upstream version, this tool has been disabled.
family unix
id oval:org.mitre.oval:def:10078
status accepted
submitted 2010-07-09T03:56:16-04:00
title The IPSEC livetest tool in Openswan 2.4.12 and earlier, and 2.6.x through 2.6.16, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the (1) ipseclive.conn and (2) ipsec.olts.remote.log temporary files. NOTE: in many distributions and the upstream version, this tool has been disabled.
version 18
redhat via4
advisories
rhsa
id RHSA-2009:0402
rpms
  • openswan-0:2.6.14-1.el5_3.2
  • openswan-debuginfo-0:2.6.14-1.el5_3.2
  • openswan-doc-0:2.6.14-1.el5_3.2
refmap via4
bid 31243
bugtraq
  • 20090309 Re: [ GLSA 200903-18 ] Openswan: Insecure temporary file creation
  • 20090310 Re: [ GLSA 200903-18 ] Openswan: Insecure temporary file creation
confirm
debian DSA-1760
exploit-db 9135
mlist [oss-security] 20081030 CVE requests: tempfile issues for aview, mgetty, openoffice, crossfire
secunia
  • 34182
  • 34472
xf openswan-livetest-symlink(45250)
statements via4
contributor Joshua Bressers
lastmodified 2009-03-30
organization Red Hat
statement This issue has been addressed via: https://rhn.redhat.com/errata/RHSA-2009-0402.html
Last major update 29-07-2019 - 14:24
Published 24-09-2008 - 11:42
Last modified 29-07-2019 - 14:24
Back to Top