{"id":"CVE-2013-10052","published":"2025-08-04T18:03:58Z","modified":"2026-11-17T21:59:40Z","title":"ZPanel zsudo Local Privilege Escalation","vendor":"ZPanel Project","product":"ZPanel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00367,"percentile":0.31307,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/local/zpanel_zsudo.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/26451","tags":["exploit"]},{"url":"https://github.com/zpanel/zpanelx","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/zpanel-zsudo-local-priv-esc","tags":["third-party-advisory"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":6.26},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.95}]},"exploitSources":{"metasploit":[{"name":"ZPanel zsudo Local Privilege Escalation Exploit","module":"exploit/linux/local/zpanel_zsudo","type":"exploit","disclosureDate":"2013-06-07","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/zpanel_zsudo.rb"}],"first":{"date":"2013-06-07","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/zpanel_zsudo.rb"},"provenance":"source"},"vendorSlug":"zpanel-project","affectedVersions":[{"vendor":"ZPanel Project","product":"ZPanel","versions":["0"]}],"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"},{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-08-05T15:53:06.034371Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2013-7277","exploited":false,"provenance":"source"},"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/local/zpanel_zsudo.rb","https://www.exploit-db.com/exploits/26451"]}