{"id":"XE-11927","kind":"bounty","visibility":"public","source":"web","source_repo":"","source_ref":"","source_url":"","reporter_id":2308,"title":"One gossiped BlockLease forces the provider into an all-peer attestation fan-out before cert/capacity checks","area":"leasing-ledger","claimed_tier":"high","assessed_tier":null,"verdict":"duplicate","duplicate_of":null,"tracked":false,"internal_ref":"","internal_url":"","status":"closed","closed_reason":"duplicate","github_state":"","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-13T11:17:59.826370+00:00","updated_at":"2026-11-20T00:50:01.304533+00:00","source_created_at":null,"told_at":"2026-11-20T00:50:01.316685+00:00","status_changed_at":"2026-11-20T00:50:01.309531+00:00","url":"https://bounty.xe.network/XE-11927","body":"## One gossiped BlockLease forces the targeted provider into an all-peer attestation fan-out — before any certificate or capacity check\n\n### What\n`AddBlock` success on a gossiped `BlockLease` with `Destination == self` triggers\n`n.autoAcceptLease(b)` (`node/node.go:725`, **no finality needed**). Inside\n`autoAcceptLease` (`:1460`), the order is:\n```\nbeginAccept(leaseHash)              # only guard: per-lease mutex\nVMManager.Get? acceptPolicy.Allow   # capacity check, NO certificate check\nstake <= balance?                   # balance check only\nn.acceptAttestations(leaseHash)     # :1490  <- THE FAN-OUT, runs BEFORE cert validation\nn.acceptCertificateHash(...)        # :1503+  certificate checked AFTER the fan-out\n(provisionVM later)\n```\n`acceptAttestations` -> `gatherAttestations` (`node/attestation.go:116-175`):\n- `peers := n.Host.Network().Peers()` — **every connected peer**,\n- one **goroutine per peer**, each an `AttestationMsgType` request, 10s per-peer timeout\n  (`AttestationTimeout`), whole-gather budget `AttestationGatherMax = 15s` (`:19`),\n- on failure: `retry = true` -> `acceptSched.record` -> **re-gathered on backoff** (`:1466,1494`).\n\n### The exploit\nAttacker (any node with gossip reach) publishes one `BlockLease` aimed at a provider:\n- attacker cost: ~zero, and the lease block is **refundable** (consumer stake returns on\n  cancel/settle),\n- provider cost: a full all-peer attestation fan-out (N concurrent requests, 15s window, retrying\n  on failure) **before** the certificate is validated and **before** capacity/VM provisioning —\n  repeated for every lease gossipped. Every peer that receives the fan-out does the same for the\n  provider's other leases. Sustained provider CPU/network saturation + attestation load pushed\n  onto every connected peer; pushes providers toward premature VM provisioning.\n\n### Fix\nValidate the lease's `certificate_hash` (and capacity) **before** the attestation fan-out; bound\nthe per-attacker fan-out rate (a per-peer/per-lease TTL on `acceptSched` retries).","patch_refs":[],"thread":[{"id":13466,"source":"desk","source_ref":"reply:11488","author":"Joseph Denne","team":true,"body":"Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the\nfirst verifiable submission, so this one closes as a duplicate. If you believe it is a different\nbug, file a new report that links https://bounty.xe.network/XE-11927 and says what differs; it is read like any other.","created_at":"2026-11-20T00:50:01.304533+00:00"}]}