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
kubeletctl scan rce -s SERVER is not showing "+" on RCE column even though I can RCE
kubeletctl scan rce -s SERVER
if I am allowed to kubeletctl exec "ls /" -c CONTAINER -p POD -s SERVER I should see a + in the "scan RCE" list
kubeletctl exec "ls /" -c CONTAINER -p POD -s SERVER
I have only "-" signs on kubeletctl scan rce -s SERVER but I can execute code
┌───────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Node with pods vulnerable to RCE │ ├───┬───────────┬─────────────────────────────────────────┬─────────────┬─────────────────────────┬─────┤ │ │ NODE IP │ PODS │ NAMESPACE │ CONTAINERS │ RCE │ ├───┼───────────┼─────────────────────────────────────────┼─────────────┼─────────────────────────┼─────┤ │ │ │ │ │ │ RUN │ ├───┼───────────┼─────────────────────────────────────────┼─────────────┼─────────────────────────┼─────┤ │ 1 │ 10.0.2.15 │ website-k8s-675dd9956d-qj58f │ default │ website-k8s │ - │ └───┴───────────┴─────────────────────────────────────────┴─────────────┴─────────────────────────┴─────┘
shows "-" on RCE column, but if I try to execute code I can do:
┌──(root@kali)-[/home/kali] └─# kubeletctl exec "ls /" -p website-k8s-675dd9956d-qj58f -c website-k8s -s 10.0.2.15 bin dev home lib64 mnt proc run srv tmp var boot etc lib media opt root sbin sys usr
I also saw in source code that there is POST request to check manually and this is my output:
┌──(root@kali)-[/home/kali] └─# curl -k -XPOST https://10.0.2.15:10250/run/default/website-k8s-675dd9956d-qj58f/website-k8s -d "cmd=ls /" rpc error: code = Unknown desc = failed to exec in container: failed to start exec "2766ae987637b8f679d7f68cbe02868c5dad0af36a08e8ed961825a274ac444d": OCI runtime exec failed: exec failed: unable to start container process: exec: "": executable file not found in $PATH: unknown
Version 1.11
The text was updated successfully, but these errors were encountered:
Thank you, we will check it.
Sorry, something went wrong.
We found the problem and fixed it. It will be updated in the next release. For now, you can clone the current repository and build it.
No branches or pull requests
Summary
kubeletctl scan rce -s SERVER
is not showing "+" on RCE column even though I can RCESteps to Reproduce
kubeletctl scan rce -s SERVER
Expected Results
if I am allowed to
kubeletctl exec "ls /" -c CONTAINER -p POD -s SERVER
I should see a + in the "scan RCE" listActual Results
I have only "-" signs on
kubeletctl scan rce -s SERVER
but I can execute codeshows "-" on RCE column, but if I try to execute code I can do:
I also saw in source code that there is POST request to check manually and this is my output:
Reproducible
Version/Tag number
Version 1.11
Environment setup
The text was updated successfully, but these errors were encountered: