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

Inviting excessive long email addresses to a calendar event makes the server unresponsive

The calendar sharing feature lacked a character limit on email addresses, so sending a request with an extremely long email address caused the server to take much longer to respond. An attacker could repeatedly send such requests to make the server unresponsive, resulting in a denial of service.

shuvam321 Follow

Originally disclosed on HackerOne

Medium 4.3 View original
  • Triaged in 32 hours
  • Fixed in 3 months
  • Paid in 4 months
  • Disclosed after 3 months

Summary by the program

Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-r936-8gwm-w452

The report

Summary:

Due to the absence of a character limit in the email address field when sending emails, requests containing lengthy email addresses causes the server to get delay response, ultimately resulting in a denial of service.

Steps To Reproduce:

  1. As, a low privileged user, go to https://serveraddress/apps/calendar/dayGridMonth/now and create a new calendar.
Screenshot_at_2023-07-09_10-28-20.png
Screenshot_at_2023-07-09_10-28-20.png From the original on HackerOne
  1. Click on Share link, click on share calendar link via email and intercept the request in burp entering a random email.

  2. Send the request to repeater and observe the response time. The server will respond in ~600ms.

Screenshot_at_2023-07-09_10-44-28.png
Screenshot_at_2023-07-09_10-44-28.png From the original on HackerOne
Screenshot_at_2023-07-09_11-19-00.png
Screenshot_at_2023-07-09_11-19-00.png
  1. Now, use the attached payload of 50 MB (email_recipient.txt) in email and send the response. You will get response in about 10000 milllisecond. Larger the email length, longer will be the reponse time.
Screenshot_at_2023-07-09_11-19-47.png
Screenshot_at_2023-07-09_11-19-47.png From the original on HackerOne

[Note: you may use the following python script and payload attached below. POC attached :) ]

Impact

Denial of service

Attachments

The original report as published on HackerOne, by shuvam321. 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 email address field had no length limit, so the server performed expensive processing on arbitrarily large input.

Impact

An attacker could cause a denial of service by making the server unresponsive through repeated requests with excessively long email addresses.

What the attacker needed

A low privileged user account

How it was found

  1. As a low privileged user, create a new calendar.
  2. Click on Share link, then share calendar link via email and intercept the request.
  3. Send the request to repeater and observe the response time (~600ms).
  4. Replace the email with a 50 MB payload and send; observe response time (~10000ms).

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 calendar app lets you share events by email. The app did not check how long the email address could be, so someone could send a very long fake address. The server then spent a lot of time processing it, making the service slow or unavailable for others.

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 by shuvam321

View all

10 more disclosed reports, best first.

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.