The archiver's receipt signature verification had two flaws: it counted signatures by a case-sensitive owner field, letting one key be cloned into many entries, and a second check only confirmed that owner keys belonged to execution-group nodes without verifying the signatures themselves. Combined, an attacker with an active node could forge receipts and change any account balance.
The archiver uses node-fetch without a response size limit, allowing an attacker to return a large compressed response that exhausts memory and crashes the node. The attacker does not initiate the attack; the victim must contact other archivers/nodes.
The archiver accepted the last received cycle record rather than a majority consensus, so a malicious validator could time its submission to have its forged network structure adopted as authoritative. An attacker could then spoof the node list, proxy traffic through controlled nodes, and spread the forged view to other archivers and new validators.
The Archiver's default configuration leaves the receipt verification path that calls robustQuery unreachable, so receipts are only checked offline instead of against a majority of validators. The reporter claims this gives attackers more room to bypass validation, though no concrete exploit is shown.
The archiver's debug middleware only signs the request path and counter, and initialises the last counter to zero on startup, so a captured signed request can be replayed after a restart or against any other archiver sharing the same dev keypair. An attacker who intercepts one signed request to /set-config can alter its body and re-send it to change configuration on other archivers, potentially disrupting the network.
The debug middleware protecting endpoints like /api/subscribe only checks a signature over the route and a counter, not the request body, and the counter resets to zero on server restart. An attacker who intercepts one signed request can replay it with arbitrary data to other servers or after a restart, changing the validator node the JSON-RPC server connects to.
A malicious validator could bypass receipt signature validation by supplying a signature pack that mixes valid signatures from an attacker-controlled key with invalid signatures claiming to be from legitimate nodes. This allowed the attacker to store arbitrary receipts and overwrite any account data on the archive server, including the global network account.
The archiver's custom safeStringify function trusts a buffer's declared length without validating the actual content, so a malicious core node can send a crafted data subscription payload that triggers an enormous memory allocation. This makes the archiver unresponsive and effectively takes it down.
The JSON-RPC server's rate limiter blocks any transaction to a contract if more than 10 transactions to that contract occurred within the last minute. An attacker can send repeated invalid transactions to a target contract, causing all legitimate users' transactions to be rejected for a minute, and can repeat this to block indefinitely.
The archiver's account-data endpoint keeps a validator in a serving map indefinitely as long as it keeps calling, so a small number of validators can fill the map and block all others. During restore mode this stops new validators from syncing with the network.
The Archiver's cycle collection logic saved the last received cycle rather than the validated one, so a malicious validator could submit a modified cycle with the same counter and marker and have it accepted once enough confirmations arrived. This let the validator alter network parameters such as adding unauthorised Archivers.
The JSON-RPC server rate-limits and blacklists transaction senders based on the sender address embedded in raw transactions, without verifying who submitted them. An attacker can replay a victim's raw transaction many times in one batch to get the victim's address banned, stopping them from sending transactions through that server.
The archive server uses a vulnerable safeStringify function that, when serialising a buffer with base64 encoding, calls Buffer.from on attacker-controlled data. An attacker can supply an object with a large length property, causing excessive memory allocation and an out-of-memory condition that takes down the server.
The getRandomActiveNodes function and its helper getRandomItemFromArr were intended to return a random, evenly distributed, unique subset of active nodes, but due to a nodeRejectPercentage variable the distribution is skewed and duplicates can occur. This could weaken the consensus property of robustQuery by faking redundancy, and cause duplicate requests or responses.
The set-config endpoint's debug-mode check only signs the route and a timestamp, not the configuration body, so a captured dev-signed request can be replayed against other archiver nodes. An attacker could then change arbitrary config such as ARCHIVER_MODE to debug and call dev-only methods like debug-inf-loop, potentially taking down the archiver network.
The archiver's account lookup builds a SQL IN clause with a single placeholder, so a request containing more than one account ID fails. A restoring node that asks for several accounts at once therefore cannot sync, which can deny service to that node.
SA
Shardeum: Ancillaries III
Informational
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.