CVE-2020-22000: HomeAutomation - Command Injection
- Cve: CVE-2020-22000
- Name: HomeAutomation - Command Injection
- Description: HomeAutomation 3.3.2 suffers from an authenticated OS command execution vulnerability using custom command v0.1 plugin. This can be exploited with a CSRF vulnerability to execute arbitrary shell commands as the web user via the 'set_command_on' and 'set_command_off' POST parameters in '/system/systemplugins/customcommand/customcommand.plugin.php' by using an unsanitized PHP exec() function.
- Impact: Authenticated attackers can execute arbitrary shell commands on the server, potentially leading to full system compromise.
- Remediation: Update to the latest version where this issue is fixed or sanitize inputs properly to prevent command injection.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01059
- Epss percentile: 0.65386
- Assignee: [email protected]
- Published at: 2021-04-27T18:15:07Z
- Age in days: 2037
- Modified at: 2026-06-17T03:04:02Z
- Public exploits total: 2
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-22000
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.exploit-db.com/exploits/47809 | nvd | 2021-04-27 |
| https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5560.php | nvd | 2021-04-27 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.exploit-db.com/exploits/47809 | nvd | Exploit, Third Party Advisory, VDB Entry |
| https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5560.php | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| homeautomation_project:homeautomation | = 3.3.2 | no | nvd | /v1/products/homeautomation_project/homeautomation |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2021-04-27
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts