PT-2023-5500 · Unknown · Libbitcoin Explorer
Lrvick
·
Published
2023-08-08
·
Updated
2026-01-26
·
CVE-2023-39910
CVSS v2.0
7.8
7.8
High
| Base vector | Vector | AV:N/AC:L/Au:N/C:C/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Libbitcoin Explorer versions 3.0.0 through 3.6.0
Description
The issue is related to the use of a weak cryptocurrency wallet entropy seeding mechanism in Libbitcoin Explorer, also known as the Milk Sad issue. This weakness allows remote attackers to recover wallet private keys generated from "bx seed" entropy output and steal funds. The use of an mt19937 Mersenne Twister PRNG restricts the internal entropy to 32 bits regardless of settings. It has been reported that this issue was exploited in the wild in June and July 2023.
Recommendations
For versions 3.0.0 through 3.6.0, affected users need to move funds to a secure new cryptocurrency wallet. As a temporary workaround, consider avoiding the use of the
bx seed command until a patch is available. Restrict access to the vulnerable seed command to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
BDU:2023-06146
CVE-2023-39910
Affected Products
Libbitcoin Explorer
References · 31
- 🔥 https://github.com/libbitcoin/libbitcoin-explorer/wiki/CVE-2023-39910⭐ 601 🔗 177 · Exploit
- https://bdu.fstec.ru/vul/2023-06146 · Security Note
- https://osv.dev/vulnerability/CVE-2023-39910 · Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-39910 · Security Note
- https://github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5cc746b82a6afe64/src/crypto/pseudo_random.cpp#L66C12-L78⭐ 1301 🔗 385 · Note
- https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/utility.cpp#L78⭐ 601 🔗 177 · Note
- https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/commands/seed.cpp#L44⭐ 601 🔗 177 · Note
- https://twitter.com/epic_curious/status/1932516112723513503 · Twitter Post
- https://twitter.com/arnaudbrousseau/status/1952498947756556489 · Twitter Post
- https://milksad.info/disclosure.html · Note
- https://twitter.com/JohnNaulty/status/1689225812543766528 · Twitter Post
- https://t.me/cvenotify/57693 · Telegram Post
- https://twitter.com/dailycve/status/1951017793916170560 · Twitter Post
- https://twitter.com/ilcanedipavlov/status/1867713783063560665 · Twitter Post
- https://twitter.com/ai_oleynikov/status/1699243785392177551 · Twitter Post