Ledger Patches Ethereum App Vulnerability Allowing Transaction Substitution

iconCryptoBriefing
Share
AI summary iconSummary
Ledger patched an Ethereum app vulnerability on August 12, preventing malicious DApps from substituting transactions mid-signing. The flaw involved an APDU race condition, which could have let attackers alter transaction data. Ledger’s security team, Donjon, resolved the issue quietly before public disclosure. A researcher later exposed the flaw, with Ledger’s CTO defending the handling. The update supports CFT efforts by improving transaction integrity. Traders are advised to update their apps, as secure wallets remain essential for risk-on assets like Ethereum.

Ledger quietly patched a vulnerability in its Ethereum hardware wallet app on August 12 that could have allowed a malicious decentralized application to swap out a legitimate transaction for a harmful one mid-signing. The fix shipped in Ethereum app version 1.22.2, but the company said almost nothing about it publicly until a security researcher forced the conversation.

The bug involved an APDU command race condition, a type of flaw where competing instructions can arrive at the device in a sequence that tricks the signing process. In practical terms, a user could have thought they were approving a small token transfer while actually authorizing unlimited token approvals to an attacker-controlled address.

How the vulnerability worked

APDU stands for Application Protocol Data Unit, essentially the language that software on your computer uses to talk to the secure chip inside a Ledger device. During what Ledger calls “clear signing” flows, where the device displays human-readable transaction details on its screen, the race condition could have allowed a second, malicious APDU command to slip in and replace the original transaction data.

The attack would have required a compromised or malicious dApp to exploit the timing window. A user interacting with a trusted, legitimate application would not have been at risk.

Advertisement

Ledger’s internal security team, known as Donjon, discovered the flaw before any external researcher flagged it. The company said Donjon used AI-assisted tools to identify and resolve the issue.

The disclosure drama

The patch landed on August 12 without fanfare. No security advisory, no blog post, no tweet thread. For about ten days, the fix existed in the wild with almost zero public awareness.

That changed between August 21 and 23, when a security researcher operating under the name TestMachine publicly disclosed the bug. TestMachine detailed the potential for transaction substitution and the mechanics of the race condition, drawing attention to a vulnerability that most Ledger users had no idea existed, let alone had been fixed.

TestMachine reportedly declined a bounty offer from Ledger.

Ledger CTO Charles Guillemet pushed back on the public disclosure, characterizing it as fear-mongering. Guillemet emphasized that any user running the latest version of the Ethereum app was already protected and that the vulnerability had been addressed before TestMachine’s public notice.

Clear signing and the bigger picture

The vulnerability is particularly notable because it affected Ledger’s clear signing flows, the very feature designed to protect users from blind signing risks. Ledger has invested heavily in making clear signing the default, including previous work with the ERC-7730 standard aimed at standardizing how transaction data is displayed on hardware wallets.

No reports of funds lost to this vulnerability have surfaced. The patch was deployed proactively by Donjon before any external notice was filed.

For Ledger users, the immediate takeaway is straightforward: update your Ethereum app to version 1.22.2 or later if you haven’t already.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.