CVE-2021-41138Medium· 5.3▾ SunlitValidity check missing in Frontier
▾ Sunlit zone — Low / medium · no exploitation signal
impact 29.2 · likelihood 0.3 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.3%
1.3% → 1.4%
In the newly introduced signed Frontier-specific extrinsic for pallet-ethereum, a large part of transaction validation logic was only called in transaction pool validation, but not in block execution. Malicious validators can take advantage of this to put invalid transactions into a block.
The attack is limited in that the signature is always validated, and the majority of the validation is done again in the subsequent pallet-evm execution logic. However, do note that a chain ID replay attack was possible. In addition, spamming attacks are of main concerns, while they are limited by Substrate block size limits and other factors.
The issue is patched in commit 146bb48849e5393004be5c88beefe76fdf009aba.
Patch PR: https://github.com/paritytech/frontier/pull/495
If you have any questions or comments about this advisory:
Special thanks to @librelois, @nanocryk and the Moonbeam team for reporting and fixing this security vulnerability.
pallet-ethereum <= 3.0.0Refer to the advisory for the patched release.
Connected by shared product, vendor, weakness, or advisory.