Openswan IPsec Livetest Insecure Temporary File Creation Vulnerability

BID:31243

Info

Openswan IPsec Livetest Insecure Temporary File Creation Vulnerability

Bugtraq ID: 31243
Class: Design Error
CVE: CVE-2008-4190
Remote: No
Local: Yes
Published: Aug 24 2008 12:00AM
Updated: Apr 13 2015 09:46PM
Credit: Dmitry E. Oboukhov
Vulnerable: Redhat Enterprise Linux Desktop 5 client
Redhat Enterprise Linux 5 Server
Openswan Openswan 2.6.16
Openswan Openswan 2.4.4
Openswan Openswan 2.4.2
Openswan Openswan 2.4
Openswan Openswan 2.3.1
Openswan Openswan 2.3
Openswan Openswan 2.2
Openswan Openswan 2.1.6
Openswan Openswan 2.1.5
+ Redhat Fedora Core3
Openswan Openswan 2.1.4
Openswan Openswan 2.1.2
Openswan Openswan 2.1.1
Openswan Openswan 1.0.9
Openswan Openswan 1.0.8
Openswan Openswan 1.0.7
Openswan Openswan 1.0.6
Openswan Openswan 1.0.5
Openswan Openswan 1.0.4
MandrakeSoft Enterprise Server 5 x86_64
MandrakeSoft Enterprise Server 5
Gentoo Linux
Debian Linux 5.0 sparc
Debian Linux 5.0 s/390
Debian Linux 5.0 powerpc
Debian Linux 5.0 mipsel
Debian Linux 5.0 mips
Debian Linux 5.0 m68k
Debian Linux 5.0 ia-64
Debian Linux 5.0 ia-32
Debian Linux 5.0 hppa
Debian Linux 5.0 armel
Debian Linux 5.0 arm
Debian Linux 5.0 amd64
Debian Linux 5.0 alpha
Debian Linux 5.0
Debian Linux 4.0 sparc
Debian Linux 4.0 s/390
Debian Linux 4.0 powerpc
Debian Linux 4.0 mipsel
Debian Linux 4.0 mips
Debian Linux 4.0 m68k
Debian Linux 4.0 ia-64
Debian Linux 4.0 ia-32
Debian Linux 4.0 hppa
Debian Linux 4.0 armel
Debian Linux 4.0 arm
Debian Linux 4.0 amd64
Debian Linux 4.0 alpha
Debian Linux 4.0
Not Vulnerable: Openswan Openswan 2.6.20

Discussion

Openswan IPsec Livetest Insecure Temporary File Creation Vulnerability

Openswan creates temporary files in an insecure manner.

An attacker with local access could potentially exploit these issues to perform symbolic-link attacks, overwriting arbitrary files in the context of the affected application.

Successfully mounting a symlink attack may allow the attacker to delete or corrupt sensitive files, which may result in a denial of service. Other attacks may also be possible.

UPDATE (March 9, 2009): The vendor disputes the validity of this issue, stating that the vulnerable code was incomplete and never run from within the application. The vendor also reports that the latest version of Openswan has disabled the offending code.

Exploit / POC

Openswan IPsec Livetest Insecure Temporary File Creation Vulnerability

An attacker uses readily available commands to exploit this issue.

The following exploit is available:

Solution / Fix

Openswan IPsec Livetest Insecure Temporary File Creation Vulnerability

Solution:
Updates are available. Please see the references for details.


Debian Linux 4.0 arm

Debian Linux 5.0 ia-64

Debian Linux 4.0 powerpc

MandrakeSoft Enterprise Server 5 x86_64

Debian Linux 4.0 m68k

Debian Linux 5.0 alpha

Debian Linux 5.0 ia-32

MandrakeSoft Enterprise Server 5

Debian Linux 5.0 s/390

Debian Linux 5.0 mipsel

Debian Linux 4.0 amd64

Debian Linux 4.0 ia-32

Debian Linux 5.0 hppa

Debian Linux 4.0 hppa

Debian Linux 4.0 sparc

Debian Linux 4.0 s/390

Debian Linux 5.0 m68k

Debian Linux 5.0 arm

Debian Linux 4.0 alpha

Debian Linux 4.0 armel

Debian Linux 5.0 armel

Debian Linux 5.0

Debian Linux 4.0

Debian Linux 4.0 mipsel

Debian Linux 5.0 amd64

Debian Linux 5.0 mips

Debian Linux 5.0 powerpc

Debian Linux 4.0 ia-64

Debian Linux 4.0 mips

Debian Linux 5.0 sparc

References

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report