[CBRD-27387] The processing of (QC/CANCEL/X1) takes precedence over authentication, ACL, and SSL. - #7878
Open
beyondykk9 wants to merge 1 commit into
Open
[CBRD-27387] The processing of (QC/CANCEL/X1) takes precedence over authentication, ACL, and SSL.#7878beyondykk9 wants to merge 1 commit into
beyondykk9 wants to merge 1 commit into
Conversation
…uthentication, ACL, and SSL.
✅ TC Merge Gate — Merge AllowedAll TC PRs are merged, closed, or not present. TC Repositories & Branches:
|
🧪 TC Test Environment ReadyCircleCI Testing:
TC Repositories & Branches:
Next Steps:
|
Contributor
|
Contributor
Author
|
/run all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
http://jira.cubrid.org/browse/CBRD-27387
Purpose
CUBRID 브로커(cub_broker, 기본 리슨 0.0.0.0:30000)의 receiver_thr_f()가 접속 직후 10바이트 헤더의 query-cancel 요청(QC/CANCEL/X1)을 인증·SSL·ACL 검사보다 먼저 처리하는 오류와 발신자 검증 로직에도 두 가지 결함이 있어, DB 자격증명이 없는 원격 공격자가 PID만 알면 타인 세션의 실행 중 쿼리를 강제 중단시킬 수 있고, 응답 코드로 특정 CAS의 busy 상태를 무인증으로 식별이 가능한 문제를 해결.
Implementation
Remarks
11.4 이하 버전에도 백포트해야 함.