rapid7/metasploit-framework

View on GitHub

Showing 15,930 of 22,004 total issues

Avoid too many return statements within this method.
Open

      return
Severity: Major
Found in lib/msf/core/exploit/remote/ftp_server.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

        when "Fpostinit.c:L718:RInitPostgres"     ; return {:preauth => "9.1.6"} # Good creds, non-existent but allowed database
    Severity: Major
    Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

          when 'Fsrc\backend\libpq\auth.c:L479:RClientAuthentication'        ; return {:preauth => "9.2.1-Win"} # Rejected (not allowed in pg_hba.conf)
      Severity: Major
      Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

            when "Fauth.c:L1074:RClientAuthentication" ; return {:preauth => "8.3.9"} # Rejected (maybe good, but not allowed due to pg_hba.conf)
        Severity: Major
        Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

              when "Fpostinit.c:L709:RInitPostgres"     ; return {:preauth => "9.1.5"} # Failed (bad db, good credentials)
          Severity: Major
          Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                when "Fauth.c:L481:RClientAuthentication" ; return {:preauth => "9.4.1-5"} # bad user or host
            Severity: Major
            Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                    return
              Severity: Major
              Found in lib/msf/core/exploit/remote/ftp_server.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return [2, ['Unable to obtain the value of the `nsp_str` token required for authentication']]
                Severity: Major
                Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                        return [2, ['Received unexpected reply while trying to authenticate. Please check your credentials.']]
                  Severity: Major
                  Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                        when "Fauth.c:L414:RClientAuthentication" ; return {:preauth => "8.2.7-1"}   # Failed (bad db, bad credentials) ubuntu 8.04.2
                    Severity: Major
                    Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                          when "Fauth.c:L457:RClientAuthentication" ; return {:preauth => "8.0.22-23"} # Rejected (maybe good)
                      Severity: Major
                      Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                            when "Fauth.c:L337:Rauth_failed"          ; return {:preauth => "8.1.18-19"} # Failed (bad db, bad credentials)
                        Severity: Major
                        Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                              when "Fpostinit.c:L388:RInitPostgres"      ; return {:preauth => "8.3.8-9"}  # Failed (bad db, good credentials)
                          Severity: Major
                          Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                when 'Fmiscinit.c:L382:' ; return {:preauth => '8.2.4-OpenSolaris'} # Failed (good db, bad credentials)
                            Severity: Major
                            Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                    return
                              Severity: Major
                              Found in lib/msf/core/exploit/remote/ftp_server.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                      return 7, 'Unable to obtain the Nagios XI version from the dashboard'
                                Severity: Major
                                Found in lib/msf/core/exploit/remote/http/nagios_xi/login.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                        return {
                                          'status' => adaudit_plus_status::NO_ACCESS,
                                          'message' => 'Failed to obtain the required adapcsrf cookie'
                                        }
                                  Severity: Major
                                  Found in lib/msf/core/exploit/remote/http/manage_engine_adaudit_plus/login.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                        when "Fauth.c:L258:Rauth_failed"          ; return {:preauth => "8.4.1"}   # Failed (bad db, bad credentials)
                                    Severity: Major
                                    Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                          when "Fmiscinit.c:L362:RInitializeSessionUserId" ; return {:preauth => "9.4.1-5"} # Bad user
                                      Severity: Major
                                      Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                            when "Fauth.c:L285:Rauth_failed"          ; return {:preauth => "9.4.1-5"} # Bad creds, good database
                                        Severity: Major
                                        Found in lib/msf/core/exploit/remote/postgres.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language