PT-2018-15315 · Enigma2 · Openwebif

Published

2018-12-21

·

Updated

2019-02-07

·

CVE-2018-20332

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions OpenWebif plugin through 1.2.4 for Enigma2 based devices
Description An issue has been discovered that allows reading of arbitrary files and listing of arbitrary directories. This can be achieved by accessing specific "API Endpoints" such as "/file?action=download&file=" followed by a full pathname for file reading, and "/file?action=download&dir=" followed by a full pathname for directory listing. The issue is related to the plugin/controllers/file.py in the e2openplugin-OpenWebif project.
Recommendations For OpenWebif plugin versions through 1.2.4, consider restricting access to the /file endpoint until a patch is available. As a temporary workaround, avoid using the file and dir parameters in the affected API endpoint to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-20332

Affected Products

Openwebif