Skip to content
DoS Disclosed report Beginner CVE-2023-28644

Reference fetch can saturate the server bandwidth for 10 seconds

When a message containing a link is posted in Talk, the server fetches the linked resource with a mandatory 10-second timeout, but the download continues for the full duration. An attacker could post multiple messages with links to large, high-bandwidth files, temporarily filling disk space and saturating server bandwidth, potentially causing a denial of service.

brthnc Follow

Originally disclosed on HackerOne

Medium 5.7 View original
  • Triaged in under an hour
  • Fixed in 3 months
  • Disclosed after 4 months

Summary by the program

SA: https://github.com/nextcloud/security-advisories/security/advisories/GHSA-9wmj-gp8v-477j

The report

Summary:

When posting a message on talk, a reference is fetched for any link in the message There is a hardcoded mandatory 10sec timeout. But the ressource is still fetched for those entire 10 seconds.

For high-bandwidth servers, this can result in disk space being temporarily filled and saturate the server bandwidth. Tested on my 2.5gbps network, I was easily able to find 10GB ressources online that have higher network speed and fully saturate the netwrok for a few seconds and a few messages.

Steps To Reproduce:

  1. Open a talk room
  2. Post multiple messages containing a link to a high availability ressource like https://speed.hetzner.de/10GB.bin

Impact

Can severly impact server performances and/or lead to a denial of service

The original report as published on HackerOne, by brthnc. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely the server fetches the full resource for the entire 10-second timeout without limiting the amount of data downloaded or the number of concurrent fetches.

Impact

Could severely impact server performance and lead to a denial of service by filling disk space and saturating bandwidth.

What the attacker needed

Ability to post messages in a Talk room

How it was found

  1. Open a Talk room.
  2. Post multiple messages containing a link to a high-availability resource.

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.

When you paste a link into a chat message, the chat server tries to download that link to show a preview. The server keeps downloading for up to 10 seconds even if the file is huge. An attacker can post many such links to very large files, which makes the server waste disk space and internet bandwidth, slowing it down for everyone.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.