How a Side-Channel Attack Exposed Hidden Data in OpenSearch

https://hackernoon.imgix.net/images/9qWtVsuknggFnDEJs0WSdn1bKtx2-gsc390o.png

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, recommender systems, etc.

Vector Databases

One of the most common use cases of vector databases is to store and search for vector embeddings.

An embedding is a point or vector that represents some concept — e.g., a word, image, or something more abstract and opaque...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more