Rapid7 Vulnerability & Exploit Database

TP-Link SC2020n Authenticated Telnet Injection

Back to Search

TP-Link SC2020n Authenticated Telnet Injection

Disclosed
12/20/2015
Created
05/30/2018

Description

The TP-Link SC2020n Network Video Camera is vulnerable to OS Command Injection via the web interface. By firing up the telnet daemon, it is possible to gain root on the device. The vulnerability exists at /cgi-bin/admin/servetest, which is accessible with credentials.

Author(s)

  • Nicholas Starke <nick@alephvoid.com>

Platform

Unix

Architectures

cmd

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/tp_link_sc2020n_authenticated_telnet_injection
msf exploit(tp_link_sc2020n_authenticated_telnet_injection) > show targets
    ...targets...
msf exploit(tp_link_sc2020n_authenticated_telnet_injection) > set TARGET < target-id >
msf exploit(tp_link_sc2020n_authenticated_telnet_injection) > show options
    ...show and set options...
msf exploit(tp_link_sc2020n_authenticated_telnet_injection) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;