CVE-2008-4190: Medium severity xelerance openswan vulnerability

Published Aug 28, 2008
·
Updated

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.

Other sources

The Openswan's IPSEC livetest tool is prone to symlink attacks.

Affected file: /usr/libexec/ipsec/livetest

Relevant part of the code:

39 wget -o /dev/null -O /tmp/ipseclive.conn "http://192.168.0.1/olts/?leftid=$leftid&$leftrsasigkey&version=$version" 40 41 sh < /tmp/ipseclive.conn 42 ipsec eroute.pl 43 leftid=echo $leftid | sed "s/@//" 44 ipsec whack --delete --name olts-$leftid >> /tmp/ipsec.olts.local.log 45 wget -o /dev/null -O /tmp/ipsec.olts.remote.log "http://192.168.0.1/olts/log.php?leftid=$leftid"

A malicious user could precreate symlink to each of the files (tmp/ipseclive.conn, /tmp/ipsec.olts.remote.log), which could allow him to destroy the target of the symlink via running the " # ipsec livetest" command by the superuser of the host.

References:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496374

Red Hat

Affected Software

51 affected components
Openswan Openswan=1.0.4
Openswan Openswan=1.0.5
Openswan Openswan=1.0.6
Openswan Openswan=1.0.7
Openswan Openswan=1.0.8
Openswan Openswan=1.0.9
Openswan Openswan=2.1.1
Openswan Openswan=2.1.2
Openswan Openswan=2.1.4
Openswan Openswan=2.1.5
Openswan Openswan=2.1.6
Openswan Openswan=2.2
Openswan Openswan=2.3
Xelerance Openswan=2.3.1
Xelerance Openswan=2.4.0
Xelerance Openswan=2.4.1
Xelerance Openswan=2.4.2
Xelerance Openswan=2.4.3
Xelerance Openswan=2.4.4
Xelerance Openswan=2.4.5
Xelerance Openswan=2.4.6
Xelerance Openswan=2.4.7
Xelerance Openswan=2.4.8
Xelerance Openswan=2.4.9
Xelerance Openswan=2.4.10
Xelerance Openswan=2.4.11
Xelerance Openswan=2.4.12
Xelerance Openswan=2.6.03
Xelerance Openswan=2.6.04
Xelerance Openswan=2.6.05
Xelerance Openswan=2.6.06
Xelerance Openswan=2.6.07
Xelerance Openswan=2.6.08
Xelerance Openswan=2.6.09
Xelerance Openswan=2.6.10
Xelerance Openswan=2.6.11
Xelerance Openswan=2.6.12
Xelerance Openswan=2.6.13
Xelerance Openswan=2.6.14
Xelerance Openswan=2.6.15
Xelerance Openswan=2.6.16
Xelerance Openswan=2.4.1
Xelerance Openswan=2.4.3
Xelerance Openswan=2.4.5
Xelerance Openswan=2.4.6
Xelerance Openswan=2.4.7
Xelerance Openswan=2.4.8
Xelerance Openswan=2.4.9
Xelerance Openswan=2.4.10
Xelerance Openswan=2.4.11
Xelerance Openswan=2.4.12

Event History

Aug 28, 2008
Data Sourced
08:52 AM
DescriptionSeverityAffected Software
Sep 24, 2008
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2008-4190?

CVE-2008-4190 is considered to have a moderate severity due to its potential for arbitrary file overwrite and code execution by local users.

2

How do I fix CVE-2008-4190?

To mitigate CVE-2008-4190, upgrade to Openswan version 2.4.13 or later, or apply available patches.

3

Which versions are affected by CVE-2008-4190?

CVE-2008-4190 affects Openswan versions 2.4.12 and earlier, as well as versions 2.6.0 to 2.6.16.

4

Is CVE-2008-4190 exploitable remotely?

CVE-2008-4190 is not exploitable remotely as it requires local user access to perform the symlink attack.

5

What type of vulnerability is CVE-2008-4190?

CVE-2008-4190 is a symlink attack vulnerability that allows local users to manipulate file handling and execute arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203