Domoticz MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy()
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| domoticz | domoticz | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Domoticz | Domoticz |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.286% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Domoticz's MochadTCP::MatchLine() handler for MOCHAD_RFSEC messages (hardware/MochadTCP.cpp) copies network-received data from the up-to-1028-byte m_mochadbuffer into a fixed 50-byte stack buffer tempRFSECbuf using strcpy() with no length check, across three separate code branches (DS10A/KR10A/MS10A device types). An attacker on the local network segment able to reach the Mochad TCP bridge (default port 1099, no authentication) can send a crafted packet that overflows tempRFSECbuf by up to several hundred bytes, corrupting the Domoticz worker thread's stack. | Domoticz's MochadTCP::MatchLine handler for MOCHAD_RFSEC messages (hardware/MochadTCP.cpp) copies network-received data from the up-to-1028-byte m_mochadbuffer into a fixed 50-byte stack buffer tempRFSECbuf using strcpy with no length check, across three separate code branches (DS10A/KR10A/MS10A device types). |
| Title | Domoticz - MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy() | Domoticz MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy() |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Domoticz MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy() | Domoticz - MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy() |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Domoticz
Domoticz domoticz |
|
| Vendors & Products |
Domoticz
Domoticz domoticz |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Domoticz's MochadTCP::MatchLine() handler for MOCHAD_RFSEC messages (hardware/MochadTCP.cpp) copies network-received data from the up-to-1028-byte m_mochadbuffer into a fixed 50-byte stack buffer tempRFSECbuf using strcpy() with no length check, across three separate code branches (DS10A/KR10A/MS10A device types). An attacker on the local network segment able to reach the Mochad TCP bridge (default port 1099, no authentication) can send a crafted packet that overflows tempRFSECbuf by up to several hundred bytes, corrupting the Domoticz worker thread's stack. | |
| Title | Domoticz MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy() | |
| Weaknesses | CWE-121 | |
| References |
| |
| Metrics |
cvssV3_1
|