ZPanel includes a helper binary named zsudo, intended to...
High severity
Unreviewed
Published
Aug 4, 2025
to the GitHub Advisory Database
•
Updated Aug 4, 2025
Description
Published by the National Vulnerability Database
Aug 4, 2025
Published to the GitHub Advisory Database
Aug 4, 2025
Last updated
Aug 4, 2025
ZPanel includes a helper binary named zsudo, intended to allow restricted privilege escalation for administrative tasks. However, when misconfigured in /etc/sudoers, zsudo can be invoked by low-privileged users to execute arbitrary commands as root. This flaw enables local attackers with shell access to escalate privileges by writing a payload to a writable directory and executing it via zsudo. The vulnerability is particularly impactful in post-exploitation scenarios following web server compromise, where the attacker inherits access to zsudo.
References