Remote Code Execution via CallOPKG Function in OpenWebif 1.2.5

Remote Code Execution via CallOPKG Function in OpenWebif 1.2.5

CVE-2017-9333 · MEDIUM Severity

AV:N/AC:M/AU:N/C:P/I:P/A:P

OpenWebif 1.2.5 allows remote code execution via a URL to the CallOPKG function in the IpkgController class in plugin/controllers/ipkg.py, when the URL refers to an attacker-controlled web site with a Trojan horse package. This has security implications in cases where untrusted users can trigger CallOPKG calls, and these users can enter an arbitrary URL in an input field, even though that input field was only intended for a package name. This threat model may be relevant in the latest versions of third-party products that bundle OpenWebif, i.e., set-top box products. The issue of Trojan horse packages does NOT have security implications in cases where the attacker has full OpenWebif access.

Learn more about our Web App Pen Testing.