Restricted ZMQ RPC bypasses HTTP restricted-mode resource checks
Restricted ZMQ RPC in monerod does not enforce the same request restrictions as restricted HTTP RPC, relying mainly on a small method blocklist. This allows allowed methods like get_output_histogram and get_output_keys to bypass intended resource limits, potentially causing availability issues.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 23 days
- Disclosed after 5 months
Summary by the program
monerod --restricted-zmq-rpc does not enforce the same request restrictions as restricted HTTP RPC.
Restricted ZMQ relies primarily on a small method blocklist, so several allowed methods can still accept requests that restricted HTTP explicitly rejects or caps. Confirmed examples include get_output_histogram and get_output_keys.
This can allow externally exposed restricted ZMQ endpoints to bypass intended resource limits, leading to availability issues.
Resolved in https://github.com/monero-project/monero/pull/10424 and v0.18.5.0.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
Externally exposed restricted ZMQ endpoints could bypass intended resource limits, leading to availability issues.
What the attacker needed
Externally exposed restricted ZMQ endpoint
The fix
The issue was fixed in PR 10424 and version v0.18.5.0.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Monerod is a cryptocurrency node that offers two ways to talk to it: HTTP and ZMQ. A 'restricted' mode is meant to limit what remote users can ask for, but the ZMQ version only blocks a few specific requests instead of applying the same limits as the HTTP version. This means someone could send requests that use more resources than intended, possibly making the node unavailable.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.