rapid7/metasploit-framework

View on GitHub

Showing 15,831 of 21,886 total issues

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 [true, "Successfully deescalated privileges by removing #{@role_to_add}"]
      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/panos_readsessionvars.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
            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 [true, 'Received expected response while triggering the payload. Please be patient, it may take a few seconds for the payload to execute.']
              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, 'Failed to parse the users.xml file while attempting 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 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 [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::Unknown("#{peer} - Could not connect to web service")
                      Severity: Major
                      Found in modules/exploits/linux/http/webmin_package_updates_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 nil
                            Severity: Major
                            Found in modules/exploits/linux/ssh/quantum_vmpro_backdoor.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                    return false
                              Severity: Major
                              Found in modules/exploits/linux/ssh/exagrid_known_privkey.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/samba/is_known_pipename.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

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

                                    Avoid too many return statements within this method.
                                    Open

                                        return unless ssh
                                    Severity: Major
                                    Found in modules/exploits/linux/ssh/solarwinds_lem_exec.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 nil
                                        Severity: Major
                                        Found in modules/exploits/linux/ssh/loadbalancerorg_enterprise_known_privkey.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language