Description
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.
Metrics
CVSS 3.0 9.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://www.openwall.com/lists/oss-security/2017/10/02/4
- http://www.securityfocus.com/bid/99232Third 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/620Exploit, Issue Tracking, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2017/10/02/4
- http://www.securityfocus.com/bid/99232Third 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/620Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Jun 22, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified