CryptoJS Weak RNG Behind $5.7 Million in Drains Affects Five Crypto Wallet Apps
Overview
A significant security issue has been identified in multiple cryptocurrency wallet apps that utilize the CryptoJS library. Researchers from Coinspect discovered that the function CryptoJS.lib.WordArray.random(), which has been part of the library for over a decade, generates weak random numbers, leading to vulnerabilities in the creation of recovery phrases. This flaw has resulted in the theft of approximately $5.7 million across two incidents since late May, impacting users of these wallet applications. The problem underscores the importance of using strong random number generators in cryptographic functions, especially in financial applications where security is paramount. Developers of affected wallet apps need to address this vulnerability promptly to protect their users' assets.
Key Takeaways
- Active Exploitation: This vulnerability is being actively exploited by attackers. Immediate action is recommended.
- Affected Systems: Five crypto wallet applications using CryptoJS.lib.WordArray.random() for generating recovery phrases.
- Action Required: Developers should replace the weak random number generator with a more secure alternative and update their wallet apps accordingly.
- Timeline: Newly disclosed
Original Article Summary
Coinspect has identified CryptoJS.lib.WordArray.random() as the weak random number generator behind the Ill Bloom wallet drains. Introduced in the JavaScript cryptography library 12 years ago, the function supplied weak entropy that affected wallet apps used to generate recovery phrases. Coinspect's on-chain analysis puts the measured theft across two sweeps since late May at a lower bound of
Impact
Five crypto wallet applications using CryptoJS.lib.WordArray.random() for generating recovery phrases.
Exploitation Status
This vulnerability is confirmed to be actively exploited by attackers in real-world attacks. Organizations should prioritize patching or implementing workarounds immediately.
Timeline
Newly disclosed
Remediation
Developers should replace the weak random number generator with a more secure alternative and update their wallet apps accordingly.
Additional Information
This threat intelligence is aggregated from trusted cybersecurity sources. For the most up-to-date information, technical details, and official vendor guidance, please refer to the original article linked below.
Related Topics: This incident relates to Vulnerability.