CVE-2017-9384 Command injection in n/a
Attackers can execute arbitrary commands on Vera home automation devices via unsanitized input in the relay.sh script.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-9384?
CVE-2017-9384 is a high-severity command injection vulnerability in n/a, published on 17 Jun 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue was discovered on Vera VeraEdge 1.7.19 and Veralite 1.7.481 devices. The device provides a web user interface that allows a user to manage the device. As a part of the functionality the device firmware file contains a file known as relay.sh which allows the device to create relay ports and connect the device to Vera servers. This is primarily used as a method of communication between the device and Vera servers so the devices can be communicated with even when the user is not at home. One of the parameters retrieved by this specific script is "remote_host". This parameter is not sanitized by the script correctly and is passed in a call to "eval" to execute another script where remote_host is concatenated to be passed a parameter to the second script. This allows an attacker to escape from the executed command and then execute any commands of his/her choice.
Weakness: CWE-77
Which versions are affected by CVE-2017-9384?
It affects 2 products.
Products include Getvera Veraedge Firmware, Getvera Veralite Firmware.
How do I fix CVE-2017-9384?
No fix has been published for CVE-2017-9384 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2017-9384 being exploited?
There is no known exploitation of CVE-2017-9384 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pp7x-qr4j-fm9r.