How a Side-Channel Attack Exposed Hidden Data in OpenSearch

Summary Tl;dr: In our research, we found an unauthorized data access vulnerability in OpenSearch that allowed an attacker to extract vector fields protected by field-level security using OpenSearch's vector search as a side-channel. We reported the issue to OpenSearch team along with a proposed patch, and the vulnerability has since been fixed as of 3.10. Background OpenSearch is an open source distributed search engine created by Amazon, a popular alternative proprietary Elasticsearch. Besides the more traditional lexical search and analytics capabilities, it also functions as a vector database, which has become increasingly important for AI and ML applications — RAG, semantic search
…