Debian DSA-3118-1 : strongswan - security update

medium Nessus Plugin ID 80361

Synopsis

The remote Debian host is missing a security-related update.

Description

Mike Daskalakis reported a denial of service vulnerability in charon, the IKEv2 daemon for strongSwan, an IKE/IPsec suite used to establish IPsec protected links.

The bug can be triggered by an IKEv2 Key Exchange (KE) payload that contains the Diffie-Hellman (DH) group 1025. This identifier is from the private-use range and only used internally by libtls for DH groups with custom generator and prime (MODP_CUSTOM). As such the instantiated method expects that these two values are passed to the constructor. This is not the case when a DH object is created based on the group in the KE payload. Therefore, an invalid pointer is dereferenced later, which causes a segmentation fault.

This means that the charon daemon can be crashed with a single IKE_SA_INIT message containing such a KE payload. The starter process should restart the daemon after that, but this might increase load on the system. Remote code execution is not possible due to this issue, nor is IKEv1 affected in charon or pluto.

Solution

Upgrade the strongswan packages.

For the stable distribution (wheezy), this problem has been fixed in version 4.5.2-1.5+deb7u6.

For the upcoming stable distribution (jessie), this problem has been fixed in version 5.2.1-5.

See Also

https://packages.debian.org/source/wheezy/strongswan

https://www.debian.org/security/2015/dsa-3118

Plugin Details

Severity: Medium

ID: 80361

File Name: debian_DSA-3118.nasl

Version: 1.8

Type: local

Agent: unix

Published: 1/6/2015

Updated: 1/11/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:strongswan, cpe:/o:debian:debian_linux:7.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 1/5/2015

Reference Information

CVE: CVE-2014-9221

DSA: 3118