Skip to content

Write-ups

Swiss E-Voting

Every publicly disclosed report for Swiss E-Voting and what kind of bugs they were.

disclosed reports
3
most reported class
Crypto
bug classes found
2
first disclosure
2019

Disclosed reports

Newest first. Only what Swiss E-Voting chose to make public.

Crypto

Finding vulnerabilities in Swiss Post's e-voting system: part 3

The verifier and configuration tool never checked that the seed used to generate the election encryption parameters actually matched the election name, and the seed reader silently stripped newlines and spaces. A malicious administrator could therefore supply a seed that looks like the election name in a text editor but contains hidden extra content, weakening the claimed verifiability of the parameters.

Swiss E-Voting

Crypto

Beware of Java's String.getBytes

Java's String.getBytes(UTF_8) silently replaces malformed UTF-8 sequences with '?', so two different strings can produce identical byte arrays. In Swiss Post's e-voting system this led to a hash collision, potentially allowing bypass of checks that rely on string equality.

Swiss E-Voting