WhatsApp for Android Retains Deleted Contacts Locally
WhatsApp for Android retains security code change information for deleted contacts, letting someone with physical access see if the user interacted with them.
Nightwatch Cybersecurity Follow
Published on wwws.nightwatchcybersecurity.com
WhatApp for Android retains contact info locally after contacts get deleted. This would allow an attacker with physical access to the device to check if the WhatsApp user had interactions with specific contacts, even though they have been deleted.
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
Likely a discrepancy in how the Clear Chat and Delete Chat options are implemented, where only Clear Chat removes security notification data.
Impact
An attacker with physical access could check if the user had interactions with specific contacts even after those contacts were deleted.
What the attacker needed
Physical access to the device
How it was found
- Delete the contact from the device via the Android Contacts app.
- Re-add contact to the device via the Android Contacts app.
- Start a new chat in WhatsApp with that contact but do not send any messages.
- Observe that security code changes are listed with dates in the chat.
- Select “Clear Chat” to remove the security code changes, and repeat steps 1-4. Observe that the security code changes no longer appear.
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 you delete a contact, WhatsApp keeps a record of security code changes for that contact, so someone with your unlocked phone could see if you talked to them.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.