Spend-key extraction via cryptographic type confusion
Published May 6, 2020 · Updated Aug 4, 2024
Protocol flaw in the Ledger Monero app before 1.5.1 allows local users to extract the private spend key through a malicious client. The monero_apdu_derive_secret_key handler substitutes the spend-key placeholder into an encrypted scalar, while monero_apdu_mlsag_sign accepts a type-confused encrypted zero and returns the resulting scalar unencrypted. The attacker needs a PIN-unlocked Ledger with the Monero app selected and connected to a controlled host; key recovery enables unauthorized wallet spending.
Summary
What happened
Protocol flaw in the Ledger Monero app before 1.5.1 allows local users to extract the private spend key through a malicious client. The monero_apdu_derive_secret_key handler substitutes the spend-key placeholder into an encrypted scalar, while monero_apdu_mlsag_sign accepts a type-confused encrypted zero and returns the resulting scalar unencrypted. The attacker needs a PIN-unlocked Ledger with the Monero app selected and connected to a controlled host; key recovery enables unauthorized wallet spending.
The record
- CVE
- CVE-2020-6861
- Published
- May 6, 2020
- Updated
- Aug 4, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-327, T1552.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 6, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Ledger Monero App 1.4.2 spend-key extraction PoCfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo