duhow xiaoai-patch - OS Command Injection in /mute and /unmute Endpoints
duhow xiaoai-patch
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| duhow xiaoai-patch |
| No fix yet |
Original description
An OS command injection vulnerability in duhow/xiaoai-patch through commit fb07049 allows a remote attacker to execute arbitrary system commands on Xiaomi smart speakers running the patch. The /mute and /unmute endpoint handlers in api/main.py pass the user-supplied silent query parameter directly to os.system() without sanitization, enabling command injection via shell metacharacters.
From the CVE record · TuranSec