USENIX Security2023Top-tier venue
Security Analysis of MongoDB Queryable Encryption
Zichen Gui, Kenneth G. Paterson, Tianxin Tang
Abstract
In June 2022, MongoDB released Queryable Encryption (QE), an extension of their flagship database product, enabling keyword searches to be performed over encrypted data. This is the first integration of such searchable encryption technology into a widely-used database system. We provide an independent security analysis of QE. We show that certain logs, fundamental to the operation of QE and accessible to a real-world snapshot adversary, contain statistical information about the queries and data. This information can be extracted and exploited by our new inference attacks to recover both the queries and data, assuming adversarial access to an auxiliary dataset with a similar distribution to the original data. Our analysis highlights the challenges of integrating searchable encryption technology into modern, complex database systems. In particular, our attacks stem from the interplay between QE and MongoDB's existing logging system. They show how such interactions can compromise query and data privacy. Encrypted Document Collection (eDocColl) edoc3 "job": *** (219), "address": *** (24), "safeContent": (PRF F edc (1)) *** (length in bytes) ECOC Value
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Leakage-Abuse Attacks Against Structured Encryption for SQL cites ∑oφoς: Forward Secure Searchable Encryption
- Leakage-Abuse Attacks Against Structured Encryption for SQL cites New Constructions for Forward and Backward Private Symmetric Searchable Encryption
- Leakage-Abuse Attacks Against Structured Encryption for SQL cites Leakage-Abuse Attacks Against Forward and Backward Private Searchable Symmetric Encryption
- Leakage-Abuse Attacks Against Structured Encryption for SQL cites Pump up the Volume: Practical Database Reconstruction from Volume Leakage on Range Queries
- New Constructions for Forward and Backward Private Symmetric Searchable Encryption cites Forward and Backward Private Searchable Encryption from Constrained Cryptographic Primitives
- New Constructions for Forward and Backward Private Symmetric Searchable Encryption cites ∑oφoς: Forward Secure Searchable Encryption
- Leakage-Abuse Attacks Against Forward and Backward Private Searchable Symmetric Encryption cites Forward and Backward Private Searchable Encryption from Constrained Cryptographic Primitives
- Leakage-Abuse Attacks Against Forward and Backward Private Searchable Symmetric Encryption cites ∑oφoς: Forward Secure Searchable Encryption
- Leakage-Abuse Attacks Against Forward and Backward Private Searchable Symmetric Encryption cites Hiding the Access Pattern is Not Enough: Exploiting Search Pattern Leakage in Searchable Encryption
- Leakage-Abuse Attacks Against Forward and Backward Private Searchable Symmetric Encryption cites New Constructions for Forward and Backward Private Symmetric Searchable Encryption
- Leakage-Abuse Attacks Against Forward and Backward Private Searchable Symmetric Encryption cites Pump up the Volume: Practical Database Reconstruction from Volume Leakage on Range Queries
- SWAT: A System-Wide Approach to Tunable Leakage Mitigation in Encrypted Data Stores cites Leakage-Abuse Attacks Against Forward and Backward Private Searchable Symmetric Encryption
- SWAT: A System-Wide Approach to Tunable Leakage Mitigation in Encrypted Data Stores cites Pump up the Volume: Practical Database Reconstruction from Volume Leakage on Range Queries
- Efficient Single-Round Obfuscation of Search and Result Patterns in Searchable Encryption cites Forward and Backward Private Searchable Encryption from Constrained Cryptographic Primitives
- Efficient Single-Round Obfuscation of Search and Result Patterns in Searchable Encryption cites Hiding the Access Pattern is Not Enough: Exploiting Search Pattern Leakage in Searchable Encryption
- Efficient Single-Round Obfuscation of Search and Result Patterns in Searchable Encryption cites New Constructions for Forward and Backward Private Symmetric Searchable Encryption
- Efficient Single-Round Obfuscation of Search and Result Patterns in Searchable Encryption cites Leakage-Abuse Attacks Against Forward and Backward Private Searchable Symmetric Encryption
Cited by top-tier papers6
- Leakage-Abuse Attacks Against Forward and Backward Private Searchable Symmetric EncryptionLei Xu, Leqian Zheng, Chengzhi Xu, Xingliang Yuan et al.CCS 2023 · 28 citations
- SWAT: A System-Wide Approach to Tunable Leakage Mitigation in Encrypted Data StoresLeqian Zheng, Lei Xu, Cong Wang, Sheng Wang et al.VLDB 2024 · 8 citations
- Leakage-Abuse Attacks Against Structured Encryption for SQLAlexander Hoover, Ruth Ng, Daren Khu, Yao'an Li et al.USENIX Security 2024 · 3 citations
- Enabling Index-free Adjacency in Oblivious Graph Processing with Delayed DuplicationsWeiqi Feng, Xinle Cao, Adam O'Neill, Chuanhui YangVLDB 2026
- Efficient Single-Round Obfuscation of Search and Result Patterns in Searchable EncryptionTung Le, Thang HoangCCS 2026
Builds on15
- Forward and Backward Private Searchable Encryption from Constrained Cryptographic PrimitivesRaphaël Bost, Brice Minaud, Olga OhrimenkoCCS 2017 · 423 citations
- ∑oφoς: Forward Secure Searchable EncryptionRaphael BostCCS 2016 · 382 citations
- New Constructions for Forward and Backward Private Symmetric Searchable EncryptionJavad Ghareh Chamani, Dimitrios Papadopoulos, Charalampos Papamanthou, Rasool JaliliCCS 2018 · 242 citations
- Pump up the Volume: Practical Database Reconstruction from Volume Leakage on Range QueriesPaul Grubbs, Marie-Sarah Lacharité, Brice Minaud, Kenneth G. PatersonCCS 2018 · 172 citations
- Hiding the Access Pattern is Not Enough: Exploiting Search Pattern Leakage in Searchable EncryptionSimon Oya, Florian KerschbaumUSENIX Security 2021 · 152 citations
Related papers
- Rethinking Searchable Symmetric EncryptionZichen Gui, Kenneth G. Paterson, Sikhar PatranabisS&P 2023
- LEAP: Leakage-Abuse Attack on Efficiently Deployable, Efficiently Searchable Encryption with Partially Known DatasetJianting Ning, Xinyi Huang, Geong Sen Poh, Jiaming Yuan et al.CCS 2021 · 32 citations
- Leakage Inversion: Towards Quantifying Privacy in Searchable EncryptionEvgenios M. Kornaropoulos, Nathaniel Moyer, Charalampos Papamanthou, Alexandros PsomasCCS 2022 · 26 citations
- A Highly Accurate Query-Recovery Attack against Searchable Encryption using Non-Indexed DocumentsMarc Damie, Florian Hahn, Andreas PeterUSENIX Security 2021 · 46 citations
- Your Keywords Know Each Other: Breaking SSE with <1% Leaked DocumentsMingyu Bian, Jiabei Wang, Dandan Xu, Guangyu Huang et al.USENIX Security 2026
