CoronaCheck App TLS certificate vulnerabilities
The iOS CoronaCheck app implemented its own TLS certificate checks with several mistakes, including comparing certificates by serial number and authority key information instead of byte-for-byte, and accepting certificates based on its own checks rather than the platform's validation. An attacker with a malicious CA could generate a certificate that passed these checks and intercept connections, though App Transport Security still blocked untrusted certificates in practice.
sector7.computest.nl
Published on sector7.computest.nl
During the pandemic a lot of software has seen an explosive growth of active users, such as the software used for working from home. In addition, completely new applications have been developed to track and handle the pandemic, like those for Bluetooth-based contact tracing.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The app replaced the platform's certificate validation with its own flawed checks, comparing certificates by forgeable fields (serial number and authority key information) and accepting them without verifying the platform's trust result.
Impact
An attacker with a malicious CA could intercept connections, but App Transport Security still rejected untrusted certificates, limiting the exploit to scenarios where ATS is bypassed or a CA issues a certificate with matching serial number and authority key information.
What the attacker needed
Malicious CA or ATS bypass; ability to intercept network traffic
The fix
The vulnerabilities were fixed quietly, though one fix was initially incorrect and later corrected.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When your phone connects to a website, it checks a digital certificate to make sure it is talking to the real server and not an impostor. This app tried to do extra checks on those certificates but made mistakes, so a fake certificate could fool it. However, the phone's built-in protection still blocked the fake certificate, so the problem was hard to exploit in real life.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.