CVE-2023-31290
Trustwallet Trust Wallet Browser Extension vulnerability
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.
Affected products
Trust Wallet Browser Extension, Trust Wallet Core. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Trustwallet Trust Wallet Browser Extension runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- community.trustwallet.com/t/browser-extension-wasm-vulnerability-postmortem/750787 · Vendor Advisory
- community.trustwallet.com/t/wasm-vulnerability-incident-update-and-recommended-actions/750 · Vendor Advisory
- github.com/trustwallet/wallet-core/compare/3.1.0...3.1.1 · Patch
- blog.ledger.com/Funds-of-every-wallet-created-with-the-Trust-Wallet-browser-extension-coul · Exploit
- twitter.com/TrustWallet/status/1649699428733947906 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-31290
- cve.org/CVERecord?id=CVE-2023-31290
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.