Rapid7 Vulnerability & Exploit Database

Linksys WRT120N tmUnblock Stack Buffer Overflow

Back to Search

Linksys WRT120N tmUnblock Stack Buffer Overflow



This module exploits a stack-based buffer overflow vulnerability in the WRT120N Linksys router to reset the password of the management interface temporarily to an empty value. This module has been tested successfully on a WRT120N device with firmware version 1.0.07.


  • Craig Heffner
  • Michael Messner <devnull@s3cur1ty.de>


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_tmunblock_admin_reset_bof
msf auxiliary(linksys_tmunblock_admin_reset_bof) > show actions
msf auxiliary(linksys_tmunblock_admin_reset_bof) > set ACTION < action-name >
msf auxiliary(linksys_tmunblock_admin_reset_bof) > show options
    ...show and set options...
msf auxiliary(linksys_tmunblock_admin_reset_bof) > 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