`relay_tx` wallet-rpc skips `--restricted-rpc` guard and lets any caller corrupt wallet state via attacker-controlled `pending_tx`
访问控制 / 访问控制缺陷(通用) / #3687543
该报告还没有中文解读。
原文摘录
摘自原文(12083 字符中的一小部分)
**Repository:** [`monero-project/monero`](https://github.com/monero-project/monero) — `src/wallet/wallet_rpc_server.cpp`. Affected branch: `master` (commit `230de3794`, 2026-04-20).
原文中的代码
bool wallet_rpc_server::on_relay_tx(const wallet_rpc::COMMAND_RPC_RELAY_TX::request& req,
wallet_rpc::COMMAND_RPC_RELAY_TX::response& res, epee::json_rpc::error& er,
const connection_context *ctx)
{
if (!m_wallet) return not_open(er);
// ← no m_restricted check here …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Monero 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @benisprlh · 版权归作者与 Monero 所有