rapid7/metasploit-framework

View on GitHub

Showing 15,730 of 21,757 total issues

Avoid too many return statements within this method.
Open

          return [h_id, ld_id]
Severity: Major
Found in modules/exploits/linux/http/cacti_unauthenticated_cmd_injection.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

        return nil if potential_targets.empty?
    Severity: Major
    Found in modules/exploits/linux/http/cacti_unauthenticated_cmd_injection.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                return nil
      Severity: Major
      Found in modules/exploits/linux/http/cacti_unauthenticated_cmd_injection.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

              return CheckCode::Appears("Exploitable Version Detected: #{@version}")
        Severity: Major
        Found in modules/exploits/linux/http/kibana_upgrade_assistant_telemetry_rce.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                return
          Severity: Major
          Found in modules/exploits/linux/http/panos_readsessionvars.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                  return
            Severity: Major
            Found in modules/exploits/linux/http/panos_readsessionvars.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                  return CheckCode::Safe
              Severity: Major
              Found in modules/exploits/linux/http/nagios_xi_mibs_authenticated_rce.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                    return CheckCode::Safe

                  Avoid too many return statements within this method.
                  Open

                        return Exploit::CheckCode::Safe("#{peer} - Unexpected response, unable to determine version")
                  Severity: Major
                  Found in modules/exploits/linux/http/kibana_upgrade_assistant_telemetry_rce.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return Exploit::CheckCode::Safe
                    Severity: Major
                    Found in modules/exploits/linux/http/dlink_hnap_bof.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                            return CheckCode::Safe
                      Severity: Major
                      Found in modules/exploits/linux/http/vinchin_backup_recovery_cmd_inject.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return CheckCode::Appears(
                                "Netsweeper #{version} is a vulnerable version."
                              )
                        Severity: Major
                        Found in modules/exploits/linux/http/netsweeper_webadmin_unixlogin.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                return Rex::Version.new(@glinet['firmware']) >= Rex::Version.new('4.0.0') && Rex::Version.new(@glinet['firmware']) <= Rex::Version.new('4.4.3')
                          Severity: Major
                          Found in modules/exploits/linux/http/glinet_unauth_rce_cve_2023_50445.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                return false
                            Severity: Major
                            Found in modules/exploits/linux/http/glinet_unauth_rce_cve_2023_50445.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                  return Exploit::CheckCode::Safe("#{peer} - Unexpected response, unable to determine version") if json_body['version'].nil?
                              Severity: Major
                              Found in modules/exploits/linux/http/kibana_upgrade_assistant_telemetry_rce.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return deal_with_failure_by_mode(mode, "Failed to parse the users.xml file while attempting to #{deescalate ? 'deescalate' : 'escalate'} privileges: #{e}", 'unexpected_reply')
                                Severity: Major
                                Found in modules/exploits/linux/http/opennms_horizon_authenticated_rce.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return CheckCode::Appears if revision.to_i < 10
                                  Severity: Major
                                  Found in modules/exploits/linux/http/bitbucket_git_cmd_injection.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return CheckCode::Appears("User #{username} has the required privileges for exploitation to work without privilege escalation.")
                                    Severity: Major
                                    Found in modules/exploits/linux/http/opennms_horizon_authenticated_rce.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                            return [false, "Received unexpected response while attempting to trigger the notification. The payload likely wasn't executed."]
                                      Severity: Major
                                      Found in modules/exploits/linux/http/opennms_horizon_authenticated_rce.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return deal_with_failure_by_mode(mode, "Received unexpected reply while attempting to #{deescalate ? 'deescalate' : 'escalate'} privileges", 'unexpected_reply')
                                        Severity: Major
                                        Found in modules/exploits/linux/http/opennms_horizon_authenticated_rce.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language