Path Traversal in Getvera Veraedge Firmware
CVE-2017-9382
An issue was discovered on Vera VeraEdge 1.7.19 and Veralite 1.7.481 devices. The device provides UPnP services that are available on port 3480 and can also be accessed via port 80 using the url "/port_3480". It seems that the UPnP services provide "file" as one of the service actions for a normal user to read a file that is stored under the /etc/cmh-lu folder. It retrieves the value from the "parameters" query string variable and then passes it to an internal function "FileUtils::ReadFileIntoBuffer" which is a library function that does not perform any sanitization on the value submitted and this allows an attacker to use directory traversal characters "../" and read files from other folders within the device.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.036, 89.6th 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)