Rapid7 Vulnerability & Exploit Database

Linksys WRT54GL Remote Command Execution

Back to Search

Linksys WRT54GL Remote Command Execution

Disclosed
01/18/2013
Created
05/30/2018

Description

Some Linksys Routers are vulnerable to OS Command injection. You will need credentials to the web interface to access the vulnerable part of the application. Default credentials are always a good starting point. admin/admin or admin and blank password could be a first try. Note: This is a blind OS command injection vulnerability. This means that you will not see any output of your command. Try a ping command to your local system and observe the packets with tcpdump (or equivalent) for a first test. Hint: To get a remote shell you could upload a netcat binary and exec it. WARNING: this module will overwrite network and DHCP configuration.

Author(s)

  • Michael Messner <devnull@s3cur1ty.de>

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 auxiliary/admin/http/linksys_wrt54gl_exec
msf auxiliary(linksys_wrt54gl_exec) > show actions
    ...actions...
msf auxiliary(linksys_wrt54gl_exec) > set ACTION < action-name >
msf auxiliary(linksys_wrt54gl_exec) > show options
    ...show and set options...
msf auxiliary(linksys_wrt54gl_exec) > run 

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

;