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

Missing character limitation allows to put generate a database error

The display name field in Nextcloud's Deck board creation lacked a character limit, so an attacker could submit an overly long name and trigger a server-side error. This could cause a denial of service or a 500 Internal Server Error.

errorsec_ Follow

Originally disclosed on HackerOne

  • Triaged in 4 hours
  • Fixed in 7 months
  • Disclosed after 7 months

Summary by the program

Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-93j5-wx4c-6g88

The report

Hi Security Team, Summary:

There is no limit to the number of characters in the display name, which allows a DoS attack. The DoS attack affects server-side. Description

On the input form of Username in nextcloud.com/settings/user there's no Input validation using this you can send more payload and may cause of Denial of service or error code 500 Internal Server Error/Internal Error Proof of Concept

1.Go and login to your account 2. Now go to setting and Deck ---> Add Boards section

3.Insert name and intercept it 4. Send to repeater replace it with payload the response code on the server side is 500 Internal Server Error

Impact

Impact

Remediation:

+Implementing input validation +Validating free-form Unicode text +Define the allowed set of characters to be accepted. +Minimum and maximum value range Impact

Attacker can perform a DOS because of lack of input validation

Attachments

booard.png
booard.png From the original on HackerOne
Board_Burp.png
Board_Burp.png

The original report as published on HackerOne, by errorsec_. 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 missing input validation and length limits on the board name field, allowing excessively long input to reach the server and cause an error.

Impact

An attacker could perform a denial of service because of the lack of input validation, potentially causing server errors.

What the attacker needed

A logged-in account; access to the Deck board creation feature

The fix

Input validation should be implemented, including validating free-form Unicode text, defining an allowed character set, and enforcing minimum and maximum length limits.

How it was found

  1. Log in to the account.
  2. Go to settings and the Deck section, then the Add Boards area.
  3. Insert a name and intercept the request.
  4. Send the request to a repeater and replace the name with a payload.
  5. Observe the server returning a 500 Internal Server Error.

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 display name is a label shown to users, like a board title. The application did not check how long that label could be, so sending a very long one could make the server return an error.

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 errorsec_

View all

3 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.