CVE-2018-16152
Last modified
CVE-2018-16152 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.89% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Strongswan | Strongswan | >= 4.0.0, <= 4.6.4 |
| Strongswan | Strongswan | >= 5.0.0, < 5.7.0 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
References
- https://lists.debian.org/debian-lts-announce/2018/09/msg00032.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201811-16Third Party Advisory
- https://usn.ubuntu.com/3771-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4305Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00032.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201811-16Third Party Advisory
- https://usn.ubuntu.com/3771-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4305Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-16152?
How severe is CVE-2018-16152?
How do I fix CVE-2018-16152?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-16146The web management console of Opsview Monitor 5.4.x before 5…
- CVE-2018-16147The data parameter of the /settings/api/router endpoint in O…
- CVE-2018-16148The diagnosticsb2ksy parameter of the /rest endpoint in Opsv…
- CVE-2018-16149In sig_verify() in x509.c in axTLS version 2.1.3 and before,…
- CVE-2018-16150In sig_verify() in x509.c in axTLS version 2.1.3 and before,…
- CVE-2018-16151In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in …7.5
- CVE-2018-16153An issue was discovered in Apereo Opencast 4.x through 10.x …7.5
- CVE-2018-16156In PaperStream IP (TWAIN) 1.42.0.5685 (Service Update 7), th…7.8
- CVE-2018-16157waimai Super Cms 20150505 has a logic flaw allowing attacker…
- CVE-2018-16158Eaton Power Xpert Meter 4000, 6000, and 8000 devices before …
- CVE-2018-16159The Gift Vouchers plugin through 2.0.1 for WordPress allows …
- CVE-2018-16160SecureCore Standard Edition Version 2.x allows an attacker t…
Are you affected by CVE-2018-16152?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
