OpenBK7231T - Reflected XSS via OTA host Parameter
openshwprojects OpenBK7231T_App
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openshwprojects OpenBK7231T_App |
| No fix yet |
Original description
OpenBK7231T's http_fn_ota_exec() (src/httpserver/http_fns.c) reflects the `host` query parameter directly into an HTML response via hprintf255(request, "<h3>OTA requested for %s!</h3>", tmpA) with no HTML encoding, allowing a crafted URL such as /ota_exec?host=<script>alert(1)</script> to execute JavaScript in an authenticated admin's browser when they click a malicious link.
From the CVE record · TuranSec