Skip to content
INC-2019-00052ReportedCredible press or researcher reporting; no statement from the victim.What this means

Bulgarian National Revenue Agency breach

A single SQL injection against a rarely-used VAT service let an attacker exfiltrate tax, income, health and pension records on more than 6 million people — almost the entire adult population of Bulgaria.

Key facts

Sectors
Government
Countries
Bulgaria
Disclosed
Jul 15, 2019
Began
Jun 1, 2019
Entry vector
Vulnerability exploit
Impact
Data theft
Response status
Resolved
Records affected
6,074,140
People affected
6,074,140
Estimated loss
$2.9M

Timeline

Inside before it became public
44 days
Whole span on record
3 months

Analysis

On 15 July 2019, an anonymous hacker emailed Bulgarian newsrooms a trove of data stolen from the National Revenue Agency (NAP), the country's tax authority. The leak — eventually confirmed to cover 6,074,140 data subjects — exposed records on almost the entire adult population of Bulgaria, making it the largest data breach in the country's history.

What happened

The intrusion began in June 2019, when the attacker found and exploited a SQL injection vulnerability in a rarely-used online service for VAT refunds. SQL injection — passing crafted input that the application executes as database commands — let the attacker read directly from NAP's back-end databases without any privileged access. Over an extended period the attacker pulled down dozens of database tables.

On 15 July the hacker emailed Bulgarian media with sample files and a message mocking the state of Bulgarian cybersecurity, claiming to hold more than 110 folders and around 21 gigabytes of data. About 11 GB in 57 folders circulated publicly. NAP confirmed the data's authenticity the next day.

Impact

  • Leaked records included full names, national identity numbers, addresses, income and tax data, social-security and pension contributions, health-related payments, and a register of online-gambling users — spanning from 2007 to mid-2019.
  • The CPDP's investigation found data on 6,074,140 people was compromised: roughly 4.1 million living Bulgarian and foreign citizens and 1.96 million deceased.
  • In a country of about 7 million, this represented nearly every living adult.

Investigation and penalty

Bulgarian police arrested Kristian Boykov, a 20-year-old penetration tester employed by a local cybersecurity firm, the day after the leak. He denied involvement and was released within days; the prosecution's case never produced a conviction, and the true perpetrator remains officially unconfirmed.

The data-protection regulator CPDP fined NAP 5.1 million BGN (about EUR 2.6 million) on 29 August 2019 for failing to implement adequate technical and organisational safeguards — one of the largest GDPR penalties in the EU at the time. Bulgarian courts later upheld the fine.

Why it matters

The NAP breach is a textbook example of a single application-layer flaw cascading into a national-scale exposure. A web vulnerability that a routine code review or web-application firewall should have caught instead surfaced the tax and identity records of an entire nation. It became the reference case in EU debates — including a formal European Parliament question — about whether member-state administrations holding mandatory citizen data were meeting their GDPR security obligations.

Sources

  1. 01en.wikipedia.org/wiki/2019_Bulgarian_revenue_agency_hack
  2. 02thehackernews.com/2019/07/bulgaria-nra-data-breach.html
  3. 03wolftheiss.com/insights/bulgaria-fines-in-millions-for-personal-data-breaches/
  4. 04bta.bg/en/news/bulgaria/562392-district-court-upholds-bgn-5-million-fine-for-personal-data-leak-from-nra-system
  5. 05europarl.europa.eu/doceo/document/E-9-2019-002962_EN.html