{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:openwebif_project:openwebif:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.2.4"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "fb9644c1a14304b51dd42020ecc50ec7e1199c60"
            }
          ],
          "repo": "https://github.com/e2openplugins/e2openplugin-openwebif",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "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.",
  "id": "CVE-2017-9807",
  "modified": "2026-07-08T05:38:07.917711249Z",
  "published": "2017-06-22T03:29:00.207Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2017/10/02/4"
    },
    {
      "type": "WEB",
      "url": "https://census-labs.com/news/2017/10/02/e2openplugin-openwebif-saveconfig-remote-code-execution/"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/99232"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/E2OpenPlugins/e2openplugin-OpenWebif/issues/620"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}