Description (CNA)
A remote command execution vulnerability exists in ZPanel version 10.0.0.2 in its htpasswd module. When creating .htaccess files, the inHTUsername field is passed unsanitized to a system() call that invokes the system’s htpasswd binary. By injecting shell metacharacters into the username field, an authenticated attacker can execute arbitrary system commands. Exploitation requires a valid ZPanel account—such as one in the default Users, Resellers, or Administrators groups—but no elevated privileges.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| ZPanel Project / ZPanel | affected 0 through 10.0.0.2 |
CWE
CWE-78
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/zpanel_username_exec.rb
- https://web.archive.org/web/20130617014355/http://forums.zpanelcp.com/showthread.php?27898-Serious-Remote-Execution-Exploit-in-Zpanel-10-0-0-2
- https://github.com/zpanel/zpanelx
- https://www.vulncheck.com/advisories/zpanel-htpasswd-module-username-command-execution
ADP enrichment
No English description supplied.