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.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-22000
Reference (s):
- EXPLOIT-DB:Exploit Database
- URL: https://www.exploit-db.com/exploits/47809
- https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5560.php

