Monero · Report #3738727
Restricted RPC leaks alternative block hashes via /get_alt_blocks_hashes
Summary
The /get_alt_blocks_hashes RPC endpoint was restricted to prevent unintended access to alternative block hashes. The endpoint had previously been unrestricted. The issue was assessed as low severity due to the limited impact and the availability of similar information through other mechanisms.
Monero's restricted RPC mode is designed to limit the information exposed to untrusted clients. The get_info endpoint correctly hides alternative block metadata by returning alt_blocks_count as 0.
However, the separate get_alt_blocks_hashes endpoint was not restricted in the same way and continued to return the list of alternative block hashes.
This inconsistency allowed clients connected to the restricted RPC port to learn whether alternative blocks existed and retrieve their exact hashes.
How it was found
The write-up for this report has not been downloaded yet, or the program disclosed it without one. Read it on HackerOne.