{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/87176?format=json","vulnerability_id":"VCID-cj3u-cfkg-uyck","summary":"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.","aliases":[{"alias":"CVE-2013-10053"}],"fixed_packages":[],"affected_packages":[],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2013-10053","reference_id":"","reference_type":"","scores":[{"value":"0.79731","scoring_system":"epss","scoring_elements":"0.99123","published_at":"2026-06-14T12:55:00Z"},{"value":"0.79731","scoring_system":"epss","scoring_elements":"0.99122","published_at":"2026-06-13T12:55:00Z"},{"value":"0.79731","scoring_system":"epss","scoring_elements":"0.99119","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2013-10053"},{"reference_url":"https://web.archive.org/web/20130617014355/http://forums.zpanelcp.com/showthread.php?27898-Serious-Remote-Execution-Exploit-in-Zpanel-10-0-0-2","reference_id":"showthread.php?27898-Serious-Remote-Execution-Exploit-in-Zpanel-10-0-0-2","reference_type":"","scores":[{"value":"8.7","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-08-04T16:04:07Z/"}],"url":"https://web.archive.org/web/20130617014355/http://forums.zpanelcp.com/showthread.php?27898-Serious-Remote-Execution-Exploit-in-Zpanel-10-0-0-2"},{"reference_url":"https://www.vulncheck.com/advisories/zpanel-htpasswd-module-username-command-execution","reference_id":"zpanel-htpasswd-module-username-command-execution","reference_type":"","scores":[{"value":"8.7","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-08-04T16:04:07Z/"}],"url":"https://www.vulncheck.com/advisories/zpanel-htpasswd-module-username-command-execution"},{"reference_url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/zpanel_username_exec.rb","reference_id":"zpanel_username_exec.rb","reference_type":"","scores":[{"value":"8.7","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-08-04T16:04:07Z/"}],"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/zpanel_username_exec.rb"},{"reference_url":"https://github.com/zpanel/zpanelx","reference_id":"zpanelx","reference_type":"","scores":[{"value":"8.7","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-08-04T16:04:07Z/"}],"url":"https://github.com/zpanel/zpanelx"}],"weaknesses":[{"cwe_id":78,"name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."}],"exploits":[{"date_added":null,"description":"This module exploits a vulnerability found in ZPanel's htpasswd module. When\n          creating .htaccess using the htpasswd module, the username field can be used to\n          inject system commands, which is passed on to a system() function for executing\n          the system's htpasswd command.\n\n          Please note: In order to use this module, you must have a valid account to login\n          to ZPanel.  An account part of any of the default groups should suffice, such as:\n          Administrators, Resellers, or Users (Clients).  By default, there's already a\n          'zadmin' user, but the password is randomly generated.","required_action":null,"due_date":null,"notes":"Reliability:\n  - unknown-reliability\nStability:\n  - unknown-stability\nSideEffects:\n  - unknown-side-effects\n","known_ransomware_campaign_use":false,"source_date_published":"2013-06-07","exploit_type":null,"platform":"Unix","source_date_updated":null,"data_source":"Metasploit","source_url":"https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/unix/webapp/zpanel_username_exec.rb"}],"severity_range_score":"8.7 - 8.7","exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-cj3u-cfkg-uyck"}