rapid7/metasploit-framework

View on GitHub
modules/exploits/linux/http/realtek_miniigd_upnp_exec_noauth.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method initialize has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def initialize(info = {})
    super(update_info(info,
      'Name'        => 'Realtek SDK Miniigd UPnP SOAP Command Execution',
      'Description' => %q{
        Different devices using the Realtek SDK with the miniigd daemon are vulnerable to OS command
Severity: Minor
Found in modules/exploits/linux/http/realtek_miniigd_upnp_exec_noauth.rb - About 1 hr to fix

    Method build_soap_req has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def build_soap_req
        new_external_port = rand(32767) + 32768
        new_internal_port = rand(32767) + 32768
    
        xml = Document.new
    Severity: Minor
    Found in modules/exploits/linux/http/realtek_miniigd_upnp_exec_noauth.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status