Skip to content
DoS Disclosed report Beginner

make issue comment unreadable by using ![a](/uploads/11111111111111111111111111111111/../../../../../../../../../../../../../../etc/passwd%00)

A comment containing a crafted image link with a null byte and path traversal caused all comments on an issue to become unreadable, displaying an error. An attacker could make an issue's comments unusable with a single comment.

GitLab

Originally disclosed on GitLab

  • Fixed in 10 days
  • Disclosed after 10 days

HackerOne report #860559 by tiradorngpilipinas on 2020-04-27, assigned to @jeremymatos:

Summary

Hi gitlab team. I find out that when creating an issue and then commenting an %00 . The attacker can make the commend issue unusable just by one comment. The attacker need only 1 comment and comment in the issue will not read anymore

Steps to reproduce

(Step-by-step guide to reproduce the issue, including:)

  1. go to gitlab.com and create an project
  2. in project create an issue
  3. comment 5 comments for content of comments
  4. input attacker comment
  5. Now all 5 comments will not readable and it will say Something went wrong while fetching comments. Please try again.

Impact

making comment not readable and unusable just by using %00

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

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

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

An attacker could make all comments on an issue unreadable and unusable with a single comment.

What the attacker needed

A GitLab account; ability to create an issue and comment

How it was found

  1. Go to gitlab.com and create a project.
  2. In the project, create an issue.
  3. Add five comments with some content.
  4. Post a comment containing the crafted image link with a null byte and path traversal.
  5. Observe that all five comments become unreadable and an error message appears.

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 post a comment with a special image link that includes a null byte (a character that can confuse software) and a path that tries to go up many folders, the system fails to load the comments. This means anyone can break the comment section of an issue just by posting one such comment.

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 GitLab

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.