CVE-2017-9386 Path traversal in n/a

Medium 6.5 Published Updated

Attackers can read arbitrary files on Vera home automation devices by exploiting a path traversal vulnerability in the get_file.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-9386?

CVE-2017-9386 is a medium-severity path traversal 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 script file called "get_file.sh" which allows a user to retrieve any file stored in the "cmh-ext" folder on the device. However, the "filename" parameter is not validated correctly and this allows an attacker to directory traverse outside the /cmh-ext folder and read any file on the device. It is necessary to create the folder "cmh-ext" on the device which can be executed by an attacker first in an unauthenticated fashion and then execute a directory traversal attack.

Weakness: CWE-22

Which versions are affected by CVE-2017-9386?

It affects 2 products.

Products include Getvera Veraedge Firmware, Getvera Veralite Firmware.

How do I fix CVE-2017-9386?

No fix has been published for CVE-2017-9386 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-9386 being exploited?

There is no known exploitation of CVE-2017-9386 in the wild and no public exploit code.

Sources

Also known as GHSA-7j3v-wgjr-qm6m.

Is CVE-2017-9386 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free