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.
References
Link | Resource |
---|---|
https://github.com/E2OpenPlugins/e2openplugin-OpenWebif/issues/620 | Exploit Issue Tracking Third Party Advisory |
http://www.securityfocus.com/bid/99232 | Third Party Advisory VDB Entry |
https://census-labs.com/news/2017/10/02/e2openplugin-openwebif-saveconfig-remote-code-execution/ | |
http://www.openwall.com/lists/oss-security/2017/10/02/4 |
Configurations
Information
Published : 2017-06-21 20:29
Updated : 2017-10-12 18:29
NVD link : CVE-2017-9807
Mitre link : CVE-2017-9807
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
openwebif_project
- openwebif