Messages can still be seen on conversation after expiring when cron is misconfigured
Messages in Nextcloud Talk that were set to expire remained visible to anyone with access to the conversation link. An attacker with access to a conversation could read messages that should have been deleted after their expiration time.
- Triaged in 4 hours
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 3 months
Summary by the program
Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j53p-r755-v4jf
The report
Summary:
Nextcloud talk has a feature called Message Expiration, Chat messages can be expired after a certain time. However the message does not really expire and can still be seen by anyone.
Steps To Reproduce:
- Create a conversation
- Set the message expiration Go to Settings > Moderation
- Pick anything and using burp intercept the request and set it to 60 or 120 seconds.
- send a message
- wait for the message to expire
- Copy the conversation link and open it to a new tab
Supporting Material/References:
[list any additional material (e.g. screenshots, logs, etc.)]
██████████
Impact
Messages that should expired is divulged to anyone that can access the conversation, This includes personal and group.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
Messages that should have expired could be read by anyone able to access the conversation, including personal and group conversations.
What the attacker needed
Access to a conversation; message expiration enabled
How it was found
- Create a conversation.
- Open Settings > Moderation and set the message expiration.
- Intercept the request and change the expiration to 60 or 120 seconds.
- Send a message.
- Wait for the message to expire.
- Open the conversation link in a new tab.
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 report has not been written yet. The Original tab links to the source.
A chat feature is meant to delete messages after a set time, but here messages were not actually removed, so anyone who could open the conversation could still read them.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.