Python Yaml Privilege Escalation
Python Yaml package is vulnerable to execute arbitrary command.
Investigation
Payloads
Now execute the bash
in privilege mode.
Reverse Shell
Start a listener in local machine.
Then execute Python script that contains the following YAML
code as root.
Base64 Encoding
Sometimes we might be able to remote code execution by using Base64 encoded payload.
Last updated