Description
A stack-based buffer overflow vulnerability was identified in the ONVIF SOAP XML Parser in Tapo C200 v3 and C520WS v2.6. When processing XML tags with namespace prefixes, the parser fails to validate the prefix length before copying it to a fixed-size stack buffer. It allowed a crafted SOAP request with an oversized namespace prefix to cause memory corruption in stack. An unauthenticated attacker on the same local network may exploit this flaw to enable remote code execution with elevated privileges, leading to full compromise of the device.
CVSS breakdown
CVSS 4.0
Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality (Vulnerable System)
High
Integrity (Vulnerable System)
High
Availability (Vulnerable System)
High
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
Affected products
- TP-Link Systems Inc. / Tapo C200 v30 – V3_1.4.5 Build 251104
- TP-Link Systems Inc. / Tapo C520WS v2.60 – 1.2.4 Build 260326 Rel.24666n
References
- MISChttps://www.tp-link.com/us/support/download/tapo-c200/v3/#Firmware-Release-Notes
- MISChttps://www.tp-link.com/us/support/faq/4849/
- MISChttps://www.tp-link.com/us/support/download/tapo-c520ws/#Firmware-Release-Notes
- MISChttps://www.tp-link.com/en/support/download/tapo-c520ws/#Firmware-Release-Notes
- MISChttps://www.tp-link.com/en/support/download/tapo-c200/v3/#Firmware-Release-Notes