rapid7/metasploit-framework

View on GitHub

Showing 15,831 of 21,886 total issues

Avoid too many return statements within this method.
Open

      return Exploit::CheckCode::Detected if build == '3810'
Severity: Major
Found in modules/exploits/linux/http/synology_dsm_sliceupload_exec_noauth.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_key_cmd_injection.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

          return CheckCode::Appears('It appears the target executed the provided sleep command.') unless res
      Severity: Major
      Found in modules/exploits/linux/http/hikvision_cve_2021_36260_blind.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

              return Exploit::CheckCode::Appears if build < '3810'
        Severity: Major
        Found in modules/exploits/linux/http/synology_dsm_sliceupload_exec_noauth.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/http/php_imap_open_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_key_cmd_injection.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                  return CheckCode::Appears("Apache OFBiz version #{@version} detected") if Rex::Version.new(@version) < Rex::Version.new('18.12.11')
              Severity: Major
              Found in modules/exploits/linux/http/apache_ofbiz_deserialization.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                    return CheckCode::Safe('The target did not respond with a 200 OK or 500 error') unless (res.code == 200 || res.code == 500)
                Severity: Major
                Found in modules/exploits/linux/http/hikvision_cve_2021_36260_blind.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return
                  Severity: Major
                  Found in modules/exploits/linux/http/php_imap_open_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/php_imap_open_rce.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                            return CheckCode::Unknown("Failed to obtain a valid OpenTSDB version: #{e}")
                      Severity: Major
                      Found in modules/exploits/linux/http/opentsdb_key_cmd_injection.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_key_cmd_injection.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                              return CheckCode::Vulnerable("#{peer} - H2 web interface found, and database connection successful") if res.body.include? 'Test successful'
                          Severity: Major
                          Found in modules/exploits/linux/http/h2_webinterface_rce.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                  return CheckCode::Safe("This determination is based on the version string: #{prog_version}.")
                              Severity: Major
                              Found in modules/exploits/linux/http/grandstream_ucm62xx_sendemail_rce.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                    return CheckCode::Unknown("#{peer} - Check URI Path, unexpected HTTP response code: #{res.code}") unless res.code == 200
                                Severity: Major
                                Found in modules/exploits/linux/http/h2_webinterface_rce.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

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

                                    Avoid too many return statements within this method.
                                    Open

                                        return CheckCode::Safe

                                      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_key_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/http/cacti_unauthenticated_cmd_injection.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language