RCE in Getvera Veraedge Firmware
CVE-2017-9388
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 proxy.sh which allows the device to proxy a specific request to and from from another website. This is primarily used as a method of communication between the device and Vera website when the user is logged in to the https://home.getvera.com and allows the device to communicate between the device and website. One of the parameters retrieved by this specific script is "url". This parameter is not sanitized by the script correctly and is passed in a call to "eval" to execute "curl" functionality. This allows an attacker to escape from the executed command and then execute any commands of his/her choice.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.035, 89.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ethanhunnt/IoT_vulnerabilities). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- 20190609 Newly releases IoT security issues (mailing-list, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/153242/Veralite-Veraedge-Router-XSS-Command-Injec… (VDB Entry, Third Party Advisory)
- github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Vera_sec_issues.pdf (Exploit, Third Party Advisory)