9.8crit

CVE-2017-9807

An issue was discovered in the OpenWebif plugin through 1.2.4 for E2 open devices.

Published 9 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.9%
percentile 92%
Public exploits
0
none known

Summary

An issue was discovered in the OpenWebif plugin through 1.2.4 for E2 open devices. The saveConfig function of "plugin/controllers/models/config.py" performs an eval() call on the contents of the "key" HTTP GET parameter. This allows an unauthenticated remote attacker to execute arbitrary Python code or OS commands via api/saveconfig.

Exploit prediction (EPSS)

4.92% probability of exploitation in the next 30 days, higher than 92% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.010.0AV:N/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

  • github.com /E2OpenPlugins/e2openplugin-OpenWebif/issues/620 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/99232 · vdb-entry, x_refsource_BID, x_transferred
  • openwall.com /lists/oss-security/2017/10/02/4 · mailing-list, x_refsource_MLIST, x_transferred
  • census-labs.com /news/2017/10/02/e2openplugin-openwebif-saveconfig-remote-code-execution/ · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.