PT-2017-18849 · Openwebif · Openwebif

Borjmz

·

Published

2017-09-18

·

Updated

2019-10-03

·

CVE-2017-9333

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions OpenWebif version 1.2.5
Description The issue allows remote code execution via a URL to the CallOPKG function in the IpkgController class in plugin/controllers/ipkg.py. This occurs when the URL refers to an attacker-controlled web site with a Trojan horse package. The threat model is relevant in cases where untrusted users can trigger CallOPKG calls and enter an arbitrary URL in an input field intended for a package name. This may be relevant in the latest versions of third-party products that bundle OpenWebif, such as set-top box products.
Recommendations For OpenWebif version 1.2.5, consider restricting access to the CallOPKG function in the IpkgController class to prevent remote code execution via malicious URLs. As a temporary workaround, restrict the input field to only accept package names and prevent users from entering arbitrary URLs.

Fix

RCE

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

Weakness Enumeration

Related Identifiers

CVE-2017-9333

Affected Products

Openwebif