strongSwan up to 5.5.2 gmp Plugin mpz_powm_sec Crafted Certificate input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.3$0-$5k0.00

A vulnerability classified as problematic was found in strongSwan up to 5.5.2 (Network Encryption Software). Affected by this vulnerability is the function mpz_powm_sec of the component gmp Plugin. The manipulation as part of a Crafted Certificate leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect availability. The summary by CVE is:

The gmp plugin in strongSwan before 5.5.3 does not properly validate RSA public keys before calling mpz_powm_sec, which allows remote peers to cause a denial of service (floating point exception and process crash) via a crafted certificate.

The bug was discovered 05/31/2017. The weakness was published 06/08/2017 by OSS-Fuzz (Website). It is possible to read the advisory at debian.org. This vulnerability is known as CVE-2017-9022 since 05/16/2017. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 100577 (Debian DLA-973-1 : strongswan security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196796 (Ubuntu Security Notification for Strongswan Vulnerabilities (USN-3301-1)).

Upgrading to version 5.5.3 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (100577). Similar entry is available at 102116.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB Meta Temp Score: 6.3

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 100577
Nessus Name: Debian DLA-973-1 : strongswan security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703866
OpenVAS Name: Debian Security Advisory DSA 3866-1 (strongswan - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: strongSwan 5.5.3

Timelineinfo

05/16/2017 🔍
05/30/2017 +14 days 🔍
05/31/2017 +1 days 🔍
06/01/2017 +1 days 🔍
06/02/2017 +1 days 🔍
06/08/2017 +6 days 🔍
06/08/2017 +0 days 🔍
06/08/2017 +0 days 🔍
12/08/2022 +2009 days 🔍

Sourcesinfo

Advisory: USN-3301-1
Researcher: OSS-Fuzz (OSS-Fuzz)
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-9022 (🔍)
OVAL: 🔍

SecurityFocus: 98760 - strongSwan CVE-2017-9022 Denial of Service Vulnerability

See also: 🔍

Entryinfo

Created: 06/08/2017 23:30
Updated: 12/08/2022 09:25
Changes: 06/08/2017 23:30 (81), 10/14/2019 18:38 (2), 12/26/2020 14:56 (3), 12/08/2022 09:25 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!