Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other commands are executable on the operator-cli #11

Open
itechpartners opened this issue Jun 8, 2024 · 3 comments
Open

Other commands are executable on the operator-cli #11

itechpartners opened this issue Jun 8, 2024 · 3 comments

Comments

@itechpartners
Copy link

Hello Team,
I identified something which I believe is an opportunity for security improvement.

The operator-cli environment allows other commands to be executed successfully within the shell environment. This should be restricted to allow only required and applicable commands that are specific to Shardeum

I will suggest that any command except the ones listed by Sharduem shouldnot be allowed to execute within the operator cli-environment

CLI part of the operator dashboard
Commands:
status
stake_info


start
stop [options]
stake
unstake [options]
update
version
network-stats
node-settings
set
gui
help [command]

@soniasingla
Copy link
Contributor

@itechpartners 👋 Thank you for bringing this issue to our attention. I am currently investigating the problem and will provide updates as soon as I have more information 🤗

@mssabr01
Copy link
Contributor

@itechpartners Can you provide a proof of concept of how this can be exploited? The CLI is designed to be run locally and not be accessible from the internet. In this use case, an attacker can just enter commands into bash without interacting with the operator CLI at all

@itechpartners
Copy link
Author

itechpartners commented Jul 4, 2024 via email

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

No branches or pull requests

3 participants