5.9
MEDIUM
CVE-2023-31290
Trust Wallet Core Vulnerable Mnemonic Generation
Description

Trust Wallet Core before 3.1.1, as used in the Trust Wallet browser extension before 0.0.183, allows theft of funds because the entropy is 32 bits, as exploited in the wild in December 2022 and March 2023. This occurs because the mt19937 Mersenne Twister takes a single 32-bit value as an input seed, resulting in only four billion possible mnemonics. The affected versions of the browser extension are 0.0.172 through 0.0.182. To steal funds efficiently, an attacker can identify all Ethereum addresses created since the 0.0.172 release, and check whether they are Ethereum addresses that could have been created by this extension. To respond to the risk, affected users need to upgrade the product version and also move funds to a new wallet address.

INFO

Published Date :

April 27, 2023, 5:15 a.m.

Last Modified :

May 10, 2023, 3:27 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2023-31290 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-31290 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 Trustwallet trust_wallet_browser_extension
2 Trustwallet trust_wallet_core
References to Advisories, Solutions, and Tools

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).

(CVE-2023-31290) Trust Wallet Core before 3.1.1, as used in the Trust Wallet browser extension before 0.0.183, allows theft of funds because the entropy is 32 bits, as exploited in the wild in December 2022 and March 2023.

cryptocurrency trustwallet vulnerability

Makefile Python C++

Updated: 4 months, 3 weeks ago
0 stars 2 fork 2 watcher
Born at : May 7, 2024, 3:02 p.m. This repo has been linked 1 different CVEs too.

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

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

The following table lists the changes that have been made to the CVE-2023-31290 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 [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 10, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://blog.ledger.com/Funds-of-every-wallet-created-with-the-Trust-Wallet-browser-extension-could-have-been-stolen/ No Types Assigned https://blog.ledger.com/Funds-of-every-wallet-created-with-the-Trust-Wallet-browser-extension-could-have-been-stolen/ Exploit, Third Party Advisory
    Changed Reference Type https://community.trustwallet.com/t/browser-extension-wasm-vulnerability-postmortem/750787 No Types Assigned https://community.trustwallet.com/t/browser-extension-wasm-vulnerability-postmortem/750787 Vendor Advisory
    Changed Reference Type https://community.trustwallet.com/t/wasm-vulnerability-incident-update-and-recommended-actions/750786 No Types Assigned https://community.trustwallet.com/t/wasm-vulnerability-incident-update-and-recommended-actions/750786 Vendor Advisory
    Changed Reference Type https://github.com/trustwallet/wallet-core/compare/3.1.0...3.1.1 No Types Assigned https://github.com/trustwallet/wallet-core/compare/3.1.0...3.1.1 Patch
    Changed Reference Type https://twitter.com/TrustWallet/status/1649699428733947906 No Types Assigned https://twitter.com/TrustWallet/status/1649699428733947906 Third Party Advisory
    Added CWE NIST CWE-338
    Added CPE Configuration OR *cpe:2.3:a:trustwallet:trust_wallet_browser_extension:*:*:*:*:*:*:*:* versions from (including) 0.0.172 up to (excluding) 0.0.183 *cpe:2.3:a:trustwallet:trust_wallet_core:*:*:*:*:*:*:*:* versions up to (excluding) 3.1.1
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-2023-31290 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-2023-31290 weaknesses.

Exploit Prediction

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

0.14 }} 0.01%

score

0.50282

percentile

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