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::Safe('Running a Fedora system with a kernel before kernel version 5.7 where the vulnerability was introduced')

    Avoid too many return statements within this method.
    Open

          return CheckCode::Detected('Could not retrieve kernel config')

      Avoid too many return statements within this method.
      Open

            return CheckCode::Safe('grsecurity is in use')

        Avoid too many return statements within this method.
        Open

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

          Avoid too many return statements within this method.
          Open

                return CheckCode::Unknown("Target is not a known target, so we can't check if the target is vulnerable or not!")

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                    return CheckCode::Safe('Check method only available for Debian/Ubuntu systems')
              Severity: Major
              Found in modules/exploits/linux/local/runc_cwd_priv_esc.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                    return CheckCode::Safe('The target does not appear vulnerable')
                Severity: Major
                Found in modules/exploits/linux/local/cve_2021_4034_pwnkit_lpe_pkexec.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/abrt_sosreport_priv_esc.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return CheckCode::Unknown('Unknown target kernel version, recommend manually checking if target kernel is vulnerable.')

                      Avoid too many return statements within this method.
                      Open

                                return true
                      Severity: Major
                      Found in modules/exploits/linux/local/overlayfs_priv_esc.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return CheckCode::Safe("Target Fedora kernel version is #{major_version}-#{minor_version} which is not vulnerable!")

                          Avoid too many return statements within this method.
                          Open

                                return CheckCode::Detected('rds.ko kernel module is not loaded, but may be autoloaded during exploitation')

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

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

                                Avoid too many return statements within this method.
                                Open

                                      return CheckCode::Safe("zysudo.suid copy failed. 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("System has less than #{min_required_cores} CPU cores")
                                  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("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::Vulnerable("Sudo #{ver_no} is vulnerable, can edit: #{editable_file}. OS can NOT be exploited by this module")
                                      Severity: Major
                                      Found in modules/exploits/linux/local/sudoedit_bypass_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/libuser_roothelper_priv_esc.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language