rapid7/metasploit-framework

View on GitHub

Showing 15,730 of 21,757 total issues

Avoid too many return statements within this method.
Open

        return [false, 'Failed to deescalate privileges. Manual cleanup is required.']
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::NotVulnerable if num_vers <= Rex::Version.new('6.10.17')
    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 if revision.to_i < 4
      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
        Severity: Major
        Found in modules/exploits/linux/http/webmin_backdoor.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                return CheckCode::Detected('Could not determine the OpenTSDB version: the HTTP response body did not match the expected JSON format.')
          Severity: Major
          Found in modules/exploits/linux/http/opentsdb_yrange_cmd_injection.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return CheckCode::Safe("The target is OpenTSDB version #{version}")
            Severity: Major
            Found in modules/exploits/linux/http/opentsdb_yrange_cmd_injection.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                    return CheckCode::Appears("User #{username} has #{@highest_priv} privileges. Exploitation is likely possible via privilege escalation to ROLE_FILESYSTEM_EDITOR.")
              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::Unknown("Failed to obtain a valid OpenNMS version: #{e}")
                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::Detected("Exploitation requires privilege escalation, which is not possible for OpenNMS version #{version}.")
                  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, message, '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 Exploit::CheckCode::Unknown
                      Severity: Major
                      Found in modules/exploits/linux/http/supervisor_xmlrpc_exec.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return CheckCode::Appears("The target is OpenTSDB version #{version}")
                        Severity: Major
                        Found in modules/exploits/linux/http/opentsdb_yrange_cmd_injection.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return CheckCode::Appears if revision.to_i < 3
                          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 [false, message] unless success # this is only used for cleanup. for exploit this cannot happen
                            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::Detected('Could not determine the OpenTSDB version: the HTTP response body did not match the expected JSON format.')
                              Severity: Major
                              Found in modules/exploits/linux/http/opentsdb_yrange_cmd_injection.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/webmin_backdoor.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                      return [false, xml_doc_or_msg] unless success # this is only used for cleanup. for exploit this cannot happen
                                  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, privs_or_msg] unless success
                                    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
                                      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 privs_or_check_code unless success
                                        Severity: Major
                                        Found in modules/exploits/linux/http/opennms_horizon_authenticated_rce.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language