Skip to content

xmlrpc proxy: refuse commands that store a command to run later - #3573

Merged
xirvik merged 1 commit into
Novik:masterfrom
xirvik:xmlrpc-deny-stored-commands
Nov 22, 2026
Merged

xirvik merged 1 commit into
Novik:masterfrom
xirvik:xmlrpc-deny-stored-commands

Conversation

@xirvik

@xirvik xirvik commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

In sanitize mode a call of directory.watch.added, view.filter or a similar command was forwarded untrusted with its arguments unread. These commands keep their argument and rtorrent runs it later, when an event fires; rtorrent 0.16.28 refuses them to an untrusted caller, and below 0.16.9 the untrusted flag is ignored.

Refuse directory.watch., view.filter, view.sort_, view.event_, group.insert*, lua.* and file.append by name, as a call, as a system.multicall member and inside multicall command parameters, and the view_* spellings from php/methods-0.9.4.php with them.

In sanitize mode a call of directory.watch.added, view.filter or a similar
command was forwarded untrusted with its arguments unread. These commands
keep their argument and rtorrent runs it later, when an event fires;
rtorrent 0.16.28 refuses them to an untrusted caller, and below 0.16.9 the
untrusted flag is ignored.

Refuse directory.watch.*, view.filter*, view.sort_*, view.event_*,
group.insert*, lua.* and file.append by name, as a call, as a
system.multicall member and inside multicall command parameters, and the
view_* spellings from php/methods-0.9.4.php with them.
@xirvik
xirvik merged commit 0dc7da6 into Novik:master Nov 22, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant