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.
https://www.exploit-db.com/exploits/9135
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10078
https://exchange.xforce.ibmcloud.com/vulnerabilities/45250
https://bugzilla.redhat.com/show_bug.cgi?id=460425
https://bugs.gentoo.org/show_bug.cgi?id=235770
http://www.securityfocus.com/bid/31243
http://www.securityfocus.com/archive/1/501640/100/0/threaded
http://www.securityfocus.com/archive/1/501624/100/0/threaded
http://www.redhat.com/support/errata/RHSA-2009-0402.html
http://www.openwall.com/lists/oss-security/2008/10/30/2
http://www.debian.org/security/2009/dsa-1760
http://secunia.com/advisories/34472
http://secunia.com/advisories/34182