Bug 491895 (CVE-2009-0790) - CVE-2009-0790 openswan: ISAKMP DPD remote DoS
Summary: CVE-2009-0790 openswan: ISAKMP DPD remote DoS
Alias: CVE-2009-0790
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 491907 491908
TreeView+ depends on / blocked
Reported: 2009-03-24 15:09 UTC by Tomas Hoger
Modified: 2019-09-29 12:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-12-04 22:38:01 UTC

Attachments (Terms of Use)
Upstream patch (685 bytes, patch)
2009-03-24 15:16 UTC, Tomas Hoger
no flags Details | Diff

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:0402 0 normal SHIPPED_LIVE Important: openswan security update 2009-03-30 16:52:33 UTC

Description Tomas Hoger 2009-03-24 15:09:44 UTC
Openswan upstream is going to release security advisory for Openswan and Strongswan describing following flaw:

A vulnerability in the Dead Peer Detection (RFC-3706) code was found by
Gerd v. Egidy of Intra2net AG affecting all Openswan and all Strongswan

A malicious (or expired ISAKMP) R_U_THERE or R_U_THERE_ACK Dead Peer
Detection packet can cause the pluto IKE daemon to crash and restart. No
authentication or encryption is required to trigger this bug. One spoofed
UDP packet can cause the pluto IKE daemon to restart and be unresponsive
for a few seconds while restarting.

Affected versions:
Openswan-2.6.20 and earlier
Strongswan-4.2.13 and earlier

Comment 1 Tomas Hoger 2009-03-24 15:16:06 UTC
Created attachment 336484 [details]
Upstream patch

Comment 9 Tomas Hoger 2009-03-25 10:45:44 UTC
The version of openswan as shipped in Red Hat Enterprise Linux 5 differs from current upstream versions in the default value of plutorestartoncrash which controls automatic restart of pluto daemon after the crash.  It seems that this was intended to default to yes, but mistakenly defaulted to no in certain versions.  Upstream changelog mentions fix for this introduced in 2.6.15:

 [ ... ]
* Change (back) defaults of plutorestartoncrash and uniqueids from
  no to yes. The new parser mistakenly did not set these [paul]

Defaults can be checked using the following command:
  ipsec addconn --configsetup

To enable automatic pluto restart on crashes, plutorestartoncrash=yes needs to be added to "config setup" section of ipsec.conf.

Comment 10 Tomas Hoger 2009-03-30 16:31:41 UTC
Public now via:

Comment 11 errata-xmlrpc 2009-03-30 16:52:36 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2009:0402 https://rhn.redhat.com/errata/RHSA-2009-0402.html

Comment 12 Vincent Danen 2009-12-04 22:38:01 UTC
Current Fedora is shipping with 2.6.21 or later, so this does not affect Fedora.

Note You need to log in before you can comment on or make changes to this bug.