Lune

VLDB2021Top-tier venue

Cryptanalysis of An Encrypted Database in SIGMOD '14

Xinle Cao, Jian Liu, Hao Lu, Kui Ren

Abstract

Encrypted database is an innovative technology proposed to solve the data confidentiality issue in cloud-based DB systems. It allows a data owner to encrypt its database before uploading it to the service provider; and it allows the service provider to execute SQL queries over the encrypted data. Most of existing encrypted databases (e.g., CryptDB in SOSP '11) do not support data interoperability: unable to process complex queries that require piping the output of one operation to another.

To the best of our knowledge, SDB (SIGMOD '14) is the only encrypted database that achieves data interoperability. Unfortunately, we found SDB is not secure! In this paper, we revisit the security of SDB and propose a ciphertext-only attack named co-prime attack. It successfully attacks the common operations supported by SDB, including addition, comparison, sum, equi-join and group-by. We evaluate our attack in three real-world benchmarks. For columns that support addition and comparison , we recover 84.9% -- 99.9% plaintexts. For columns that support sum, equi-join and group-by , we recover 100% plaintexts.

Besides, we provide potential countermeasures that can prevent the attacks against sum, equi-join, group-by and addition. It is still an open problem to prevent the attack against comparison.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Enabling Index-free Adjacency in Oblivious Graph Processing with Delayed Duplications cites Generic Attacks on Secure Outsourced Databases
  • Enabling Index-free Adjacency in Oblivious Graph Processing with Delayed Duplications cites Improved Reconstruction Attacks on Encrypted Data Using Range Query Leakage
  • Improved Reconstruction Attacks on Encrypted Data Using Range Query Leakage cites Generic Attacks on Secure Outsourced Databases
  • Improved Reconstruction Attacks on Encrypted Data Using Range Query Leakage cites Leakage-Abuse Attacks against Order-Revealing Encryption
  • The State of the Uniform: Attacks on Encrypted Databases Beyond the Uniform Query Distribution cites Generic Attacks on Secure Outsourced Databases
  • The State of the Uniform: Attacks on Encrypted Databases Beyond the Uniform Query Distribution cites Leakage-Abuse Attacks against Order-Revealing Encryption
  • The State of the Uniform: Attacks on Encrypted Databases Beyond the Uniform Query Distribution cites Improved Reconstruction Attacks on Encrypted Data Using Range Query Leakage
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Enabling Index-free Adjacency in Oblivious Graph Processing with Delayed DuplicationsWeiqi Feng, Xinle Cao, Adam O'Neill, Chuanhui YangVLDB 2026

Builds on4

  1. Generic Attacks on Secure Outsourced DatabasesGeorgios Kellaris, George Kollios, Kobbi Nissim, Adam O'NeillCCS 2016 · 327 citations
  2. Leakage-Abuse Attacks against Order-Revealing EncryptionPaul Grubbs, Kevin Sekniqi, Vincent Bindschaedler, Muhammad Naveed et al.S&P 2017 · 204 citations
  3. Improved Reconstruction Attacks on Encrypted Data Using Range Query LeakageMarie-Sarah Lacharité, Brice Minaud, Kenneth G. PatersonS&P 2018 · 183 citations
  4. The State of the Uniform: Attacks on Encrypted Databases Beyond the Uniform Query DistributionEvgenios M. Kornaropoulos, Charalampos Papamanthou, Roberto TamassiaS&P 2020 · 104 citations

Related papers

  1. Encrypted Databases Made Secure Yet MaintainableMingyu Li, Xuyang Zhao, Le Chen, Cheng Tan et al.OSDI 2023 · 11 citations
  2. Equi-Joins over Encrypted Data for Series of QueriesMasoumeh Shafieinejad, Suraj Gupta, Jin Yang Liu, Koray Karabina et al.ICDE 2022 · 14 citations
  3. HEDA: Multi-Attribute Unbounded Aggregation over Homomorphically Encrypted DatabaseXuanle Ren, Le Su, Zhen Gu, Sheng Wang et al.VLDB 2023 · 42 citations
  4. HE3DB: An Efficient and Elastic Encrypted Database Via Arithmetic-And-Logic Fully Homomorphic EncryptionSong Bian, Zhou Zhang, Haowen Pan, Ran Mao et al.CCS 2023 · 46 citations
  5. Can I Get More? An Incremental Inference Attack on Encrypted SQLXiaoqian Sun, Ruiqi He, Yang Zhang, Siyi Lv et al.S&P 2026
Dusk over the sea between two cliffs drawn in fine vertical lines