Coindesk Logo

Bug in Moscow’s Blockchain Polling System Can Reveal How Users Voted: Report

Bug in Moscow’s Blockchain Polling System Can Reveal How Users Voted: Report

Bug in Moscow’s Blockchain Polling System Can Reveal How Users Voted: Report

The vulnerability allowed users votes in the recent constitutional poll to be decrypted, Russian journalists found.

The vulnerability allowed users votes in the recent constitutional poll to be decrypted, Russian journalists found.

The vulnerability allowed users votes in the recent constitutional poll to be decrypted, Russian journalists found.

AccessTimeIconJul 2, 2020, 2:56 PM
Updated Aug 19, 2021, 2:54 AM

Presented By Icon

Election 2024 coverage presented by

Stand with crypto

A vulnerability in a blockchain-based system used in Russia's recent poll meant users' votes could be decrypted, journalists found.

On Wednesday, the final day of a vote on constitutional amendments, Russian media outlet Meduza published research showing the keys for decrypting votes could be retrieved using the HTML code of the electronic ballot. 

Over the past week, the country has voted to approve or reject changes to Russia’s constitution, the most striking of which eliminated the two-term restriction for presidents in office, effectively allowing Vladimir Putin to run for reelection until 2036.

In two parts of the country, Moscow and the region of Nizhny Novgorod, people had an option to vote electronically. Their votes were recorded on Exonum-based blockchain system created by Moscow’s Department of Information Technologies with the help of Kaspersky Lab. 

According to Meduza's findings, votes had been encrypted using the TweetNaCl.js cryptographic library. This provides a deterministic algorithm, meaning that with similar input data, the system generates the same cryptographic key, which is used for both encoding and decoding the vote. 

As such, Meduza said it was able to find the two keys that were universally used to encode the “yes” and “no” votes. This allowed its team to decode the voting data, which was being published in CSV files by the Department of Information Technologies as the voting proceeded. 

Such transparency was intended to help independent observers to check the correctness of the vote count, but can also be used to check how particular people voted – bringing the threat that they may be pressured to vote a certain way in future polls, Meduza wrote.

The BBC has previously reported that city-owned companies in Moscow had been forcing their employees to register for electronic voting and even share credentials for their accounts with supervisors. 

The Department of Information Technologies’ representative Artyom Kostyrko commented on Meduza’s report Wednesday, saying people can only decode their own votes on their own devices. That contradicted Meduza's report, which said it’s possible to decode any vote using the same cryptographic keys. 

The department’s press office did not respond to CoinDesk’s request for comment by press time.

Kaspersky Lab’s press representative, Olga Bogolyubskay, told CoinDesk the company has nothing to add to the official comment by the department, but did say it has been providing “expert support to the Moscow Department of Information Technology,” along with other companies. 

“We have expertise and significant experience in ensuring the security and transparency of mass online voting using blockchain technologies through our Polys platform,” Bogolyubskay added.

Meduza's report is just the latest security concern with the voting system. The Department of Information Technologies reported Friday an “observation node” had been attacked while the constitutional vote was underway. However, according to independent elections observers in Russia, there is no technical way to connect to the blockchain from the outside, as it ran entirely on the department’s servers.

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information have been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. CoinDesk has adopted a set of principles aimed at ensuring the integrity, editorial independence and freedom from bias of its publications. CoinDesk is part of the Bullish group, which owns and invests in digital asset businesses and digital assets. CoinDesk employees, including journalists, may receive Bullish group equity-based compensation. Bullish was incubated by technology investor Block.one.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.