Exploit database

Vulnerability

CVE-2020-12109

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

Certain TP-Link devices allow Command Injection. This affects NC200 2.1.9 build 200225, NC210 1.0.9 build 200304, NC220 1.3.0 build 200304, NC230 1.3.0 build 200304, NC250 1.3.0 build 200304, NC260 1.5.2 build 200304, and NC450 1.5.3 build 200304.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

1 source
TP-Link Cloud Cameras NCXXX Bonjour Command Injection
MSF-linux--http--tp_link_ncxxx_bonjour_command_injectionMetasploitLinux / remotePreferred

TP-Link cloud cameras NCXXX series (NC200, NC210, NC220, NC230, NC250, NC260, NC450) are vulnerable to an authenticated command injection. In all devices except NC210, despite a check on the name length in swSystemSetProductAliasCheck, no other checks are in place in order to prevent shell metacharacters from being introduced. The system name would then be used in swBonjourStartHTTP as part of a shell command where arbitrary commands could be injected and executed as root. NC210 devices cannot be exploited directly via /setsysname.cgi due to proper input validation. NC210 devices are still vulnerable since swBonjourStartHTTP did not perform any validation when reading the alias name from the configuration file. The configuration file can be written, and code execution can be achieved by combining this issue with CVE-2020-12110.

2020-04-29tp_link_ncxxx_bonjour_command_injection.rb