CVE-2018-16151
Last modified
CVE-2018-16151 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 after the encoded algorithm OID during PKCS#1 v1.5 signature verification. Similar to the flaw in the same version of strongSwan regarding digestAlgorithm.parameters, 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 after the encoded algorithm OID during PKCS#1 v1.5 signature verification. Similar to the flaw in the same version of strongSwan regarding digestAlgorithm.parameters, 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.
Metrics
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-16151?
How severe is CVE-2018-16151?
How do I fix CVE-2018-16151?
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-16145The /etc/init.d/opsview-reporting-module script that runs at…
- 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-16152In 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 …
Are you affected by CVE-2018-16151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
