Skip to content

Fix authorization bypass in stashContext() by adding pre-flight index permission checks and blocking cross-index terms lookup queries (backport #1760) - #1768

Open
vikhy-aws wants to merge 1 commit into
opensearch-project:2.19from
vikhy-aws:backport-fix-auth-bypass-2.19
Open

Fix authorization bypass in stashContext() by adding pre-flight index permission checks and blocking cross-index terms lookup queries (backport #1760)#1768
vikhy-aws wants to merge 1 commit into
opensearch-project:2.19from
vikhy-aws:backport-fix-auth-bypass-2.19

Conversation

@vikhy-aws

Copy link
Copy Markdown
Collaborator

Summary

Backport of #1760 to 2.19.

Fixes authorization bypass vulnerabilities where stashContext() drops the caller's security context before accessing caller-controlled indices or executing caller-supplied queries.

Changes from main

  • Import path adjustments for 2.19 API (org.opensearch.client.Client, org.opensearch.action.support.master.AcknowledgedResponse)

… permission checks and blocking cross-index terms lookup queries (backport opensearch-project#1760)

Signed-off-by: vikhy-aws <191836418+vikhy-aws@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants