This alert (and any possible updates) is available at the following URL:
The Openswan project has discovered two vulnerabilities in the XAUTH
Cisco handling code that could be exploited if openswan connects to a
trusted gateway that has been compromised.
Vulnerable versions: openswan 2.6.26 up to and including openswan 2.6.28
Fixed version : openswan 2.6.29 and above
In very specific circumstances, a buffer overflow and arbitrary shell
commands could be sent to a vulnerable openswan client.
These vulnerabilities can only be triggered when openswan is configured to
connect to a malicious Cisco compatible gateway using XAUTH. It requires
openswan to be configured with *xauthclient=yes and remote_peer_type=cisco,
and requires successful phase1 IKE negotiation. This can only happen to a
vulnerable Openswan client when connecting to a trusted and authenticated
gateway using XAUTH.
An Openswan server receiving VPN connections is not affected by this flaw.
The field cisco_banner (later renamed to server_banner) were declared as a
fixed length buffer. If a banner is sent with more then 500 characters,
the buffer will overflow. Additionally, the banner was copied
into fmt_common_shell_out() without being sanitized to make it safe
against exploitable characters, such as single quotes('). This was
introduced in git commit id 3615e17463a, on May 19, 2010 and first
released in openswan 2.6.26.
For those unable to upgrade to the latest openswan 2.6.29 release, a patch
addressing CVE-2010-3308 and CVE-2010-3302 can be found at:
Red Hat would like to thank the Openswan project for reporting this issue.
Upstream acknowledges D. Hugh Redelmeier and Paul Wouters as the original
Created openswan tracking bugs for this issue
Affects: fedora-all [bug 637925]
This issue has been addressed in following products:
Red Hat Enterprise Linux 6
Via RHSA-2010:0892 https://rhn.redhat.com/errata/RHSA-2010-0892.html