rapid7/metasploit-framework

View on GitHub

Showing 22,177 of 22,177 total issues

Avoid too many return statements within this method.
Open

      return {:unknown => fingerprint}
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 {
            'status' => adaudit_plus_status::UNEXPECTED_REPLY,
            'message' => 'Failed to obtain the jump_to_js cookies required for authentication.'
          }
    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

              return nil
      Severity: Major
      Found in lib/msf/core/exploit/remote/http/typo3/login.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 "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 "Fpostinit.c:L794:RInitPostgres"     ; return {:preauth => "9.4.1-5"} # 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

                      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 {
                          '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:L1003:Rauth_failed"          ; return {:preauth => "8.3.8"}    # 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 "Fauth.c:L483:RClientAuthentication" ; return {:preauth => "9.1.6"} # 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 'F.\src\backend\libpq\auth.c:L273:Rauth_failed'               ; return {:preauth => "8.4.2-Win"} # 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 'F.\src\backend\libpq\auth.c:L464:RClientAuthentication'      ; return {:preauth => "9.0.3-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 '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 {
                                    'status' => adaudit_plus_status::CONNECTION_FAILED,
                                    'message' => 'Connection failed'
                                  } unless res_post_auth
                              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:L394:RClientAuthentication" ; return {:preauth => "8.1.18-19"} # 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: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: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

                                            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
                                        Severity: Major
                                        Found in lib/msf/core/exploit/remote/ftp_server.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language