CVE-2020-28498
Apache Elliptic Secp256k1 Public Key Disclosure Vulnerability
Description
The package elliptic before 6.5.4 are vulnerable to Cryptographic Issues via the secp256k1 implementation in elliptic/ec/key.js. There is no check to confirm that the public key point passed into the derive function actually exists on the secp256k1 curve. This results in the potential for the private key used in this implementation to be revealed after a number of ECDH operations are performed.
INFO
Published Date :
Feb. 2, 2021, 7:15 p.m.
Last Modified :
Oct. 16, 2024, 1:45 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.0
Exploitability Score :
2.2
Public PoC/Exploit Available at Github
CVE-2020-28498 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-28498
.
URL | Resource |
---|---|
https://github.com/christianlundkvist/blog/blob/master/2020_05_26_secp256k1_twist_attacks/secp256k1_twist_attacks.md | Third Party Advisory |
https://github.com/indutny/elliptic/commit/441b7428b0e8f6636c42118ad2aaa186d3c34c3f | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1069836 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-ELLIPTIC-1064899 | Patch Third Party Advisory |
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).
In this article, we will implement a Twist Attack with an example and show how, using certain points on the secp256k1 elliptic curve, we can get partial private key values and restore a Bitcoin Wallet within 5-15 minutes using “Sagemath pollard rho function: (discrete_log_rho)” and “ Chinese Remainder Theorem” .
attack attacker bitcoin bitcoin-wallet blockchain blockchain-technology cryptocurrency exploit exploiting exploiting-vulnerabilities hack hacking vulnerabilities vulnerability vulnerability-scanners
HTML JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-28498
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-28498
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.
-
CPE Deprecation Remap by [email protected]
Oct. 16, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:elliptic_project:elliptic:*:*:*:*:*:node.js:*:* versions from (excluding) 6.5.4 OR *cpe:2.3:a:indutny:elliptic:*:*:*:*:*:node.js:*:* versions from (excluding) 6.5.4 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 08, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:N/A:N) Changed Reference Type https://github.com/christianlundkvist/blog/blob/master/2020_05_26_secp256k1_twist_attacks/secp256k1_twist_attacks.md No Types Assigned https://github.com/christianlundkvist/blog/blob/master/2020_05_26_secp256k1_twist_attacks/secp256k1_twist_attacks.md Third Party Advisory Changed Reference Type https://github.com/indutny/elliptic/commit/441b7428b0e8f6636c42118ad2aaa186d3c34c3f No Types Assigned https://github.com/indutny/elliptic/commit/441b7428b0e8f6636c42118ad2aaa186d3c34c3f Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1069836 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1069836 Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JS-ELLIPTIC-1064899 No Types Assigned https://snyk.io/vuln/SNYK-JS-ELLIPTIC-1064899 Patch, Third Party Advisory Added CWE NIST CWE-327 Added CPE Configuration OR *cpe:2.3:a:elliptic_project:elliptic:*:*:*:*:*:node.js:*:* versions up to (excluding) 6.5.4 -
CVE Modified by [email protected]
Feb. 03, 2021
Action Type Old Value New Value Changed Description All versions of package elliptic are vulnerable to Cryptographic Issues via the secp256k1 implementation in elliptic/ec/key.js. There is no check to confirm that the public key point passed into the derive function actually exists on the secp256k1 curve. This results in the potential for the private key used in this implementation to be revealed after a number of ECDH operations are performed. The package elliptic before 6.5.4 are vulnerable to Cryptographic Issues via the secp256k1 implementation in elliptic/ec/key.js. There is no check to confirm that the public key point passed into the derive function actually exists on the secp256k1 curve. This results in the potential for the private key used in this implementation to be revealed after a number of ECDH operations are performed. Removed Reference https://github.com/indutny/elliptic/pull/244/commits [No Types Assigned] Added Reference https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1069836 [No Types Assigned] Added Reference https://github.com/indutny/elliptic/commit/441b7428b0e8f6636c42118ad2aaa186d3c34c3f [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-28498
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-2020-28498
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.14 }} 0.02%
score
0.50771
percentile