OpenBK7231T Stored XSS via Unsanitized MQTT-Set Channel Labels
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| openshwprojects | OpenBK7231T_App | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Openshwprojects | Openbk7231t App |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.281% probability within 30 days)
| Link | Providers |
|---|---|
| https://github.com/openshwprojects/OpenBK7231T_App |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | OpenBK7231T's CHANNEL_SetLabel() (src/cmnds/cmd_channels.c) stores channel labels received via the MQTT SetChannelLabel command using strdup() with no HTML sanitization. CHANNEL_GetLabel() returns these labels unsanitized, and they are rendered via hprintf255() at 15+ locations in src/httpserver/http_fns.c with no HTML encoding. An attacker with MQTT broker access (commonly unauthenticated in real deployments) can set a channel label containing a <script> payload that executes when any user views the device's web panel. | OpenBK7231T's CHANNEL_SetLabel (src/cmnds/cmd_channels.c) stores channel labels received via the MQTT SetChannelLabel command using strdup with no HTML sanitization. CHANNEL_GetLabel returns these labels unsanitized, and they are rendered via hprintf255 at 15+ locations in src/httpserver/http_fns.c with no HTML encoding. |
| Title | OpenBK7231T - Stored XSS via Unsanitized MQTT-Set Channel Labels | OpenBK7231T Stored XSS via Unsanitized MQTT-Set Channel Labels |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | OpenBK7231T Stored XSS via Unsanitized MQTT-Set Channel Labels | OpenBK7231T - Stored XSS via Unsanitized MQTT-Set Channel Labels |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Openshwprojects
Openshwprojects openbk7231t App |
|
| Vendors & Products |
Openshwprojects
Openshwprojects openbk7231t App |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | OpenBK7231T's CHANNEL_SetLabel() (src/cmnds/cmd_channels.c) stores channel labels received via the MQTT SetChannelLabel command using strdup() with no HTML sanitization. CHANNEL_GetLabel() returns these labels unsanitized, and they are rendered via hprintf255() at 15+ locations in src/httpserver/http_fns.c with no HTML encoding. An attacker with MQTT broker access (commonly unauthenticated in real deployments) can set a channel label containing a <script> payload that executes when any user views the device's web panel. | |
| Title | OpenBK7231T Stored XSS via Unsanitized MQTT-Set Channel Labels | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV3_1
|