On-chain transfer proof is not single-use in mpp EVM payment method, enabling cross-challenge replay
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.6.4, 0.6.3 and ecc038088b1cda09ad8a84acc6cc112addb4a68f.
Authentication Bypass by Capture-replay in ZenHive mpp allows an unauthenticated remote client to obtain paid resources by resubmitting one settled on-chain transfer. MPP.Methods.EVM.verify/2 accepts a transaction-hash credential and matches a transfer purely on token, to and amount (ERC-20) or to and value (native). It binds the proof neither to the challenge being verified nor to any record of prior use, and the generic MPP.Plug dedup store keys on challenge.id, which is regenerated for every 402 response. On a static-price route, a single historical transfer matching the charge therefore satisfies an unbounded number of later charges, including transfers an attacker can read off a public block explorer. This issue affects mpp: from 0.3.0 before 0.6.3.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ZenHive | machine_payments_protocol | >=0.3.0 <0.6.4 | 0.6.4 |
| ZenHive | >=0.3.0 <0.6.3, >=65b9e425ce27631c786a5b380b5e4c5ae607ec6d <ecc038088b1cda09ad8a84acc6cc112addb4a68f | 0.6.3, ecc038088b1cda09ad8a84acc6cc112addb4a68f |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket