make issue comment unreadable by using 
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:)
- go to gitlab.com and create an project
- in project create an issue
- comment 5 comments for content of comments
- input attacker comment
- 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!
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
- Go to gitlab.com and create a project.
- In the project, create an issue.
- Add five comments with some content.
- Post a comment containing the crafted image link with a null byte and path traversal.
- 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.