Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-40967

When SSL is in use, the 1130 Host is not allowed to connect is sent in clear text, causing SSL: WRONG_VERSION_NUMBER in clients

    XMLWordPrintable

Details

    Description

      When a client connects to server and the following conditions are true:

      • client uses SSL
      • the user is non existing on server
      • there are no other users on server that match the source IP in their host entry

      then the 1130 Host is not allowed to connect error is sent in clear text, disrupting the SSL session (client gets SSL: WRONG_VERSION_NUMBER); furthermore, nothing is logged in logs with log_warnings=2.

      The SSL handshake should be completed BEFORE this check is done, so that a proper error message can be returned (and logged).

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            pizzi Rick Pizzi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0d
                0d
                Remaining:
                Time Spent - 0.5d Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - 0.5d Remaining Estimate - 3h
                0.5d

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.