Black Friday is Now! Don’t miss out on up to 60% OFF InvestingProCLAIM SALE

Unciphered identifies critical flaw in early BitcoinJS wallets

EditorAmbhini Aishwarya
Published 17/11/2023, 11:18
BTC/USD
-
LTC/USD
-
DOGE/USD
-

A cybersecurity startup named Unciphered has revealed a critical vulnerability in cryptocurrency wallets dating from 2011 to 2015 that were created using BitcoinJS, a software for generating Bitcoin wallets. This security flaw, which could potentially affect billions of dollars in digital assets, was unearthed during an extensive 22-month investigation by the firm.

The vulnerability surfaced while Unciphered was assisting a client who could not access their Blockchain.com bitcoin wallet. The issue stems from the SecureRandom function within the JSBN javascript library and is exacerbated by weaknesses found in the Math.random function implementations of major browsers during that period.

The SecureRandom function's primary role is to collect entropy to generate random numbers needed for creating secure Bitcoin private keys. However, due to insufficient entropy collection and flaws in the Pseudo Random Number Generator (PRNG), the function did not provide the required 256 bits of randomness. As a result, some wallets are more susceptible to attacks where key material could be retrieved by malicious actors.

The risk presented by this flaw has been somewhat reduced over time as new wallets have incorporated additional sources of entropy, enhancing security measures. Nonetheless, the potential impact of this vulnerability is significant, affecting not only bitcoin but also wallets based on dogecoin, litecoin, and zcash. Moreover, any services and projects that derived their code from BitcoinJS during those years might also be at risk.

This article was generated with the support of AI and reviewed by an editor. For more information see our T&C.

Latest comments

Risk Disclosure: Trading in financial instruments and/or cryptocurrencies involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors. Prices of cryptocurrencies are extremely volatile and may be affected by external factors such as financial, regulatory or political events. Trading on margin increases the financial risks.
Before deciding to trade in financial instrument or cryptocurrencies you should be fully informed of the risks and costs associated with trading the financial markets, carefully consider your investment objectives, level of experience, and risk appetite, and seek professional advice where needed.
Fusion Media would like to remind you that the data contained in this website is not necessarily real-time nor accurate. The data and prices on the website are not necessarily provided by any market or exchange, but may be provided by market makers, and so prices may not be accurate and may differ from the actual price at any given market, meaning prices are indicative and not appropriate for trading purposes. Fusion Media and any provider of the data contained in this website will not accept liability for any loss or damage as a result of your trading, or your reliance on the information contained within this website.
It is prohibited to use, store, reproduce, display, modify, transmit or distribute the data contained in this website without the explicit prior written permission of Fusion Media and/or the data provider. All intellectual property rights are reserved by the providers and/or the exchange providing the data contained in this website.
Fusion Media may be compensated by the advertisers that appear on the website, based on your interaction with the advertisements or advertisers
© 2007-2024 - Fusion Media Limited. All Rights Reserved.