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 |
---|---|
http://www.openwall.com/lists/oss-security/2017/10/02/4 | |
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/ | |
https://github.com/E2OpenPlugins/e2openplugin-OpenWebif/issues/620 | Exploit Issue Tracking Third Party Advisory |
Configurations
History
No history.
Information
Published : 2017-06-22 03:29
Updated : 2024-02-04 19:29
NVD link : CVE-2017-9807
Mitre link : CVE-2017-9807
CVE.ORG link : CVE-2017-9807
JSON object : View
Products Affected
openwebif_project
- openwebif
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')