Skip to content
DoS Write-up Beginner

NewLine Character Cause DoS: Folder & File Deletion Flaw

A file named with a newline character (%0a) caused the platform to fail when deleting that file or its containing folder. An attacker could share such a file to prevent victims from deleting it or the folder, creating a denial-of-service condition.

infosecwriteups.com

Published on infosecwriteups.com

Discover how a subtle flaw in ExampleHub, a pivotal platform for collaborative data management, has exposed users to a security risk. This vulnerability allows attackers to disrupt essential file and folder management operations by leveraging special characters in file names.

Abhi Sharma, on infosecwriteups.com

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 the system treated the newline character in a file name as a command delimiter, causing file-deletion operations to terminate prematurely.

Impact

Users could be prevented from deleting files or folders containing the newline character, disrupting workflow and potentially causing data integrity issues; the severity was later downgraded to low.

What the attacker needed

A free account; victim adds the file to their folder

The fix

The vulnerability was fixed after being reported to the security team.

How it was found

  1. Log in and create a file whose name contains a newline character.
  2. Share the file with another user or place it in a shared folder.
  3. Have the victim add the file to their folder.
  4. The victim tries to delete the file or the folder containing it.
  5. The deletion fails because of the newline character in the file name.

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.

A newline character is a special control code that tells a computer to start a new line. In this platform, a file name containing that character confused the system's file-deletion process, so the file and its folder could not be removed. An attacker could share such a file to stop someone from cleaning up their folders.

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.

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.