One gossiped BlockLease forces the provider into an all-peer attestation fan-out before cert/capacity checks
Report
One gossiped BlockLease forces the targeted provider into an all-peer attestation fan-out — before any certificate or capacity check
What
AddBlock success on a gossiped BlockLease with Destination == self triggers
n.autoAcceptLease(b) (node/node.go:725, no finality needed). Inside
autoAcceptLease (:1460), the order is:
beginAccept(leaseHash) # only guard: per-lease mutex
VMManager.Get? acceptPolicy.Allow # capacity check, NO certificate check
stake <= balance? # balance check only
n.acceptAttestations(leaseHash) # :1490 <- THE FAN-OUT, runs BEFORE cert validation
n.acceptCertificateHash(...) # :1503+ certificate checked AFTER the fan-out
(provisionVM later)
acceptAttestations -> gatherAttestations (node/attestation.go:116-175):
peers := n.Host.Network().Peers()— every connected peer,- one goroutine per peer, each an
AttestationMsgTyperequest, 10s per-peer timeout (AttestationTimeout), whole-gather budgetAttestationGatherMax = 15s(:19), - on failure:
retry = true->acceptSched.record-> re-gathered on backoff (:1466,1494).
The exploit
Attacker (any node with gossip reach) publishes one BlockLease aimed at a provider:
- attacker cost: ~zero, and the lease block is refundable (consumer stake returns on cancel/settle),
- provider cost: a full all-peer attestation fan-out (N concurrent requests, 15s window, retrying on failure) before the certificate is validated and before capacity/VM provisioning — repeated for every lease gossipped. Every peer that receives the fan-out does the same for the provider's other leases. Sustained provider CPU/network saturation + attestation load pushed onto every connected peer; pushes providers toward premature VM provisioning.
Fix
Validate the lease's certificate_hash (and capacity) before the attestation fan-out; bound
the per-attacker fan-out rate (a per-peer/per-lease TTL on acceptSched retries).
Thread
Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the first verifiable submission, so this one closes as a duplicate. If you believe it is a different bug, file a new report that links https://bounty.xe.network/XE-11927 and says what differs; it is read like any other.