← Back to CVEs
CVE-2023-39910
HIGH7.5
Description
The cryptocurrency wallet entropy seeding mechanism used in Libbitcoin Explorer 3.0.0 through 3.6.0 is weak, aka the Milk Sad issue. The use of an mt19937 Mersenne Twister PRNG restricts the internal entropy to 32 bits regardless of settings. This allows remote attackers to recover any wallet private keys generated from "bx seed" entropy output and steal funds. (Affected users need to move funds to a secure new cryptocurrency wallet.) NOTE: the vendor's position is that there was sufficient documentation advising against "bx seed" but others disagree. NOTE: this was exploited in the wild in June and July 2023.
CVE Details
CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published8/9/2023
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
libbitcoin:libbitcoin_explorer
Weaknesses (CWE)
CWE-338
References
https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/commands/seed.cpp#L44(cve@mitre.org)
https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/utility.cpp#L78(cve@mitre.org)
https://github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5cc746b82a6afe64/src/crypto/pseudo_random.cpp#L66C12-L78(cve@mitre.org)
https://milksad.info/disclosure.html(cve@mitre.org)
https://news.ycombinator.com/item?id=37054862(cve@mitre.org)
https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/commands/seed.cpp#L44(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/utility.cpp#L78(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/libbitcoin/libbitcoin-explorer/wiki/CVE-2023-39910(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5cc746b82a6afe64/src/crypto/pseudo_random.cpp#L66C12-L78(af854a3a-2127-422b-91ae-364da2661108)
https://milksad.info/disclosure.html(af854a3a-2127-422b-91ae-364da2661108)
https://news.ycombinator.com/item?id=37054862(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.