CLI tools extending BaseRunAsSuperuserCommand should only connect to the local node #80481
Labels
>bug
:Security/Security
Security issues without another label
Team:Security
Meta label for security team
BaseRunAsSuperuserCommand uses a temporary file realm superuser to execute commands as. Since file realms are node specific, all requests should be executed against the local node from where the CLI runs.
We should not use
CommandLineHttpClient#getDefaultURL
or adjust it to prefer the local node if/when possible. At a minimum all tools that extend BaseRunAsSuperuserCommand should support a--url
parameter that allows the user to override and point to the local nodeThe text was updated successfully, but these errors were encountered: