7.5
HIGH
CVE-2018-16152
StrongSwan GMP RSA Excess Data Forgery Vulnerability
Description

In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in the gmp plugin in strongSwan 4.x and 5.x before 5.7.0, the RSA implementation based on GMP does not reject excess data in the digestAlgorithm.parameters field during PKCS#1 v1.5 signature verification. Consequently, a remote attacker can forge signatures when small public exponents are being used, which could lead to impersonation when only an RSA signature is used for IKEv2 authentication. This is a variant of CVE-2006-4790 and CVE-2014-1568.

INFO

Published Date :

Sept. 26, 2018, 9:29 p.m.

Last Modified :

Nov. 21, 2024, 3:52 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2018-16152 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Strongswan strongswan

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-16152 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-16152 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00032.html
    Added Reference https://security.gentoo.org/glsa/201811-16
    Added Reference https://usn.ubuntu.com/3771-1/
    Added Reference https://www.debian.org/security/2018/dsa-4305
    Added Reference https://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-%28cve-2018-16151%2C-cve-2018-16152%29.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-%28cve-2018-16151%2C-cve-2018-16152%29.html [No types assigned]
    Removed Reference MITRE https://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-(cve-2018-16151,-cve-2018-16152).html
  • CVE Modified by [email protected]

    Mar. 30, 2020

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 01, 2019

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 01, 2019

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 19, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://security.gentoo.org/glsa/201811-16 No Types Assigned https://security.gentoo.org/glsa/201811-16 Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3771-1/ No Types Assigned https://usn.ubuntu.com/3771-1/ Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2018/dsa-4305 No Types Assigned https://www.debian.org/security/2018/dsa-4305 Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00032.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/09/msg00032.html Mailing List, Third Party Advisory
    Changed Reference Type https://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-(cve-2018-16151,-cve-2018-16152).html No Types Assigned https://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-(cve-2018-16151,-cve-2018-16152).html Mitigation, Patch, Technical Description, Vendor Advisory
    Added CWE CWE-347
    Added CPE Configuration OR *cpe:2.3:a:strongswan:strongswan:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (including) 4.6.4 *cpe:2.3:a:strongswan:strongswan:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.7.0
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • CVE Modified by [email protected]

    Nov. 27, 2018

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201811-16 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 27, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4305 [No Types Assigned]
    Added Reference https://usn.ubuntu.com/3771-1/ [No Types Assigned]
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00032.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-16152 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-16152 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.24 }} 0.18%

score

0.85188

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability