rapid7/metasploit-framework

View on GitHub

Showing 15,730 of 21,757 total issues

Avoid too many return statements within this method.
Open

      return CheckCode::Safe('grsecurity is in use')
Severity: Major
Found in modules/exploits/linux/local/bpf_sign_extension_priv_esc.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

        return CheckCode::Appears
    Severity: Major
    Found in modules/exploits/linux/local/su_login.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/local/af_packet_packet_set_ring_priv_esc.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

            return CheckCode::Vulnerable if body['commandResult'].chomp == signature
        Severity: Major
        Found in modules/exploits/linux/http/f5_icontrol_rce.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/sonicwall_cve_2021_20039.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                  return CheckCode::Safe("The kernel's MSGMNI queue size of #{msgmni} is too small for the exploit to execute successfully, making the target invulnerable. A minimum queue size of #{minimum_msgmni} is required. This setting can only be changed using sudo on the victim machine.")

              Avoid too many return statements within this method.
              Open

                    return CheckCode::Safe('Kernel config does not include CONFIG_BPF_SYSCALL')
              Severity: Major
              Found in modules/exploits/linux/local/bpf_sign_extension_priv_esc.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return CheckCode::Safe unless build.to_i <= 8 && point.to_i <= 37
                Severity: Major
                Found in modules/exploits/linux/http/sonicwall_cve_2021_20039.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return CheckCode::Safe unless build.to_i <= 2 && point.to_i <= 24
                  Severity: Major
                  Found in modules/exploits/linux/http/sonicwall_cve_2021_20039.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/local/af_packet_packet_set_ring_priv_esc.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                          return CheckCode::Detected("#{suid_exe_path} is not setuid") unless setuid? suid_exe_path
                      Severity: Major
                      Found in modules/exploits/linux/local/glibc_ld_audit_dso_load_priv_esc.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/sonicwall_cve_2021_20039.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/local/af_packet_packet_set_ring_priv_esc.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                  return CheckCode::Safe("Target is Pandora FMS version #{full_version}.")
                            Severity: Major
                            Found in modules/exploits/linux/http/pandora_fms_events_exec.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return CheckCode::Unknown(res_array[0])
                              Severity: Major
                              Found in modules/exploits/linux/http/nagios_xi_snmptrap_authenticated_rce.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return CheckCode::Unknown(sign_license_result[1])
                                Severity: Major
                                Found in modules/exploits/linux/http/nagios_xi_snmptrap_authenticated_rce.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/f5_icall_cmd.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                          return CheckCode::Detected('Unable to obtain the Nagios XI version from the dashboard')
                                    Severity: Major
                                    Found in modules/exploits/linux/http/nagios_xi_snmptrap_authenticated_rce.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_timelion_prototype_pollution_rce.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_snmptrap_authenticated_rce.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language