rapid7/metasploit-framework

View on GitHub

Showing 16,065 of 22,177 total issues

Avoid too many return statements within this method.
Open

    return CheckCode::Vulnerable("System version: #{model_id}, #{firmware_ver}")
Severity: Major
Found in modules/exploits/linux/local/zyxel_suid_cp_lpe.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/ufo_privilege_escalation.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return CheckCode::Safe("Version #{current_version_string} is not affected.")
      Severity: Major
      Found in modules/exploits/linux/local/polkit_dbus_auth_bypass.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/glibc_realpath_priv_esc.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                    return CheckCode::Appears("Version #{current_version_string} is affected.")
          Severity: Major
          Found in modules/exploits/linux/local/polkit_dbus_auth_bypass.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                  return CheckCode::Unknown
            Severity: Major
            Found in modules/exploits/linux/local/bpf_priv_esc.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                  return CheckCode::Safe("System architecture #{arch} is not supported") unless arch.include?('x86_64')
              Severity: Major
              Found in modules/exploits/linux/local/netfilter_nft_set_elem_init_privesc.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return CheckCode::Appears # ("The kernel #{version} appears to be vulnerable, but no offsets are available for this version")
                Severity: Major
                Found in modules/exploits/linux/local/netfilter_nft_set_elem_init_privesc.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                            return CheckCode::Safe("Version #{current_version_string} is not affected (too old, the vulnerability was introduced in 0.105-26).")
                  Severity: Major
                  Found in modules/exploits/linux/local/polkit_dbus_auth_bypass.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return CheckCode::Safe('Unprivileged user namespaces are not permitted')
                    Severity: Major
                    Found in modules/exploits/linux/local/af_packet_chocobo_root_priv_esc.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                            return CheckCode::Unknown
                      Severity: Major
                      Found in modules/exploits/linux/local/glibc_realpath_priv_esc.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                  return CheckCode::Appears('Ubuntu 19.10 is affected.')
                        Severity: Major
                        Found in modules/exploits/linux/local/polkit_dbus_auth_bypass.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/bpf_priv_esc.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                  return CheckCode::Unknown('Could not retrieve kernel config')
                            Severity: Major
                            Found in modules/exploits/linux/local/af_packet_chocobo_root_priv_esc.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

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

                                  Avoid too many return statements within this method.
                                  Open

                                        return CheckCode::Safe('grsecurity is in use')
                                  Severity: Major
                                  Found in modules/exploits/linux/local/af_packet_chocobo_root_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/local/bpf_priv_esc.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                            return CheckCode::Safe('Kernel config does not include CONFIG_USER_NS')
                                      Severity: Major
                                      Found in modules/exploits/linux/local/af_packet_chocobo_root_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/local/sock_sendpage.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language