OS command injection in the AP mode settings feature in /cgi-bin/luci /api/misystem/set_router_wifiap on Xiaomi R3D before 2.26.4 devices allows an attacker to execute any command via crafted JSON data.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
http://www.cnvd.org.cn/flaw/show/CNVD-2018-04520 | third party advisory |
https://github.com/cc-crack/router/blob/master/CNVD-2018-04520.py | third party advisory exploit |