rapid7/metasploit-framework

View on GitHub

Showing 15,730 of 21,757 total issues

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::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
      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::Appears
        Severity: Major
        Found in modules/exploits/linux/http/apache_airflow_dag_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("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::Appears('Apache OFBiz pre version 17 detected') if @version == 'pre-17'
              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(check_comment) if res.code != 200
                Severity: Major
                Found in modules/exploits/linux/http/axis_app_install.rb - About 30 mins to fix

                  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::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 CheckCode::Safe('Blind command injection failed.') unless elapsed_time >= sleep_time
                      Severity: Major
                      Found in modules/exploits/linux/http/totolink_unauth_rce_cve_2023_30013.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                            return CheckCode::Safe(check_comment) unless res.body.include?('<reply result="ok">') != 200
                        Severity: Major
                        Found in modules/exploits/linux/http/axis_app_install.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/cisco_rv32x_rce.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
                              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::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 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 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
                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language