CVE-2023-31290 Weak cryptography in n/a

Medium 5.9 Published Updated

Insufficient entropy in mnemonic generation allows attackers to predict wallet addresses and steal funds from Trust Wallet users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-31290?

CVE-2023-31290 is a medium-severity vulnerability in n/a, published on 27 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-338

Which versions are affected by CVE-2023-31290?

It affects 2 products.

Products include Trustwallet Trust Wallet Browser Extension, Trustwallet Trust Wallet Core.

How do I fix CVE-2023-31290?

No fix has been published for CVE-2023-31290 yet. Limit exposure of the affected software until one is available.

Is CVE-2023-31290 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31290 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-pm4f-pggw-8jwc.

Is CVE-2023-31290 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free