Description
The Tapo C220 v1 and C520WS v2 cameras’ HTTP service does not safely handle POST requests containing an excessively large Content-Length header. The resulting failed memory allocation triggers a NULL pointer dereference, causing the main service process to crash. An unauthenticated attacker can repeatedly crash the service, causing temporary denial of service. The device restarts automatically, and repeated requests can keep it unavailable.
Problem types
CWE-476 NULL Pointer Dereference
Product status
Any version before 1.4.2 Build 251112
Any version before 1.2.3 Build 251114
Any version before 1.4.3 Build 251128
Credits
Diogo Almeida @NeWbie
Azim Javed & Ayushman Agrawal Hingorani from CRAC Learning
References
www.tp-link.com/us/support/download/tapo-c220/v1.60/
www.tp-link.com/en/support/download/tapo-c220/v1/
www.tp-link.com/us/support/download/tapo-c520ws/v2/
www.tp-link.com/en/support/download/tapo-c520ws/v2/
www.tp-link.com/us/support/faq/4923/
www.tp-link.com/us/support/download/tapo-c100/v5/