vendor:
HomeAutomation
by:
LiquidWorm
7.5
CVSS
HIGH
Remote Code Execution
CWE
Product Name: HomeAutomation
Affected Version From: 3.3.2002
Affected Version To: 3.3.2002
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested: Apache/2.4.41 (centos) OpenSSL/1.0.2k-fips
2019
HomeAutomation 3.3.2 – Remote Code Execution
The HomeAutomation application version 3.3.2 is vulnerable to remote code execution. This can be exploited by an attacker with authenticated access to the application and the ability to perform a CSRF attack. The vulnerability exists in the 'customcommand.plugin.php' file, where unsanitized user input is passed to the 'exec()' function, allowing arbitrary shell commands to be executed as the web user.
Mitigation:
Update to a patched version of the HomeAutomation application that addresses this vulnerability. Additionally, ensure that user input is properly sanitized before being used in shell commands.