{"id":"CVE-2017-9807","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.","modified":"2026-07-08T16:54:41.787632Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/e2openplugins/e2openplugin-openwebif","events":[{"introduced":"0"},{"last_affected":"fb9644c1a14304b51dd42020ecc50ec7e1199c60"}],"database_specific":{"cpe":"cpe:2.3:a:openwebif_project:openwebif:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.2.4"}],"source":"CPE_RANGE"}}],"versions":["1.2.4","1.1.0","1.0.2","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9807.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}