Skip to content
DoS Disclosed report Intermediate

The possibility of disrupting the normal operation of frontend using markdown

Certain crafted markdown strings, when rendered into HTML attributes such as a report's vulnerability information, cause the page to fail with a 502 error instead of displaying. An attacker could post such content so that anyone opening the affected report or profile sees an error page, disrupting normal use.

haxta4ok00 Follow

Originally disclosed on HackerOne

  • Triaged in 10 hours
  • Fixed in 58 days
  • Disclosed after 5 months

Summary:

Hi team,

Our team noticed that using some string construction in markdown may cause it to fail and output error 502. Thus, disrupting the UI process. This may affect the work in places where there is a GraphQL attribute output.

For example:

  • User object in GraphQL : intro_html attribute
  • Report object in GraphQL: vulnerability_information_html attribute

and other objects with attributes that output this data

We believe that there are two things here, both a partial dos attack and a negative effect in the work. For example, the hackerone_triage team, which checks a lot of reports, will constantly have problems opening the report and will ask the engineering team to change the state of the report to edit the message in markdown. Or you are a collaborator in one of the reports that is being prepared for disclosure. But we are able to respond in such cases. In this way, we can send a message and the report will not be shown, but instead error 502 will be called. Which will also lead to many calls to the support team to resolve these issues

These are just some of the attack vectors, but we believe there could be many more.

Steps To Reproduce:

[[[[[[[[[[[[[[[[][l]][l]][l]][l]][l]`][l]][l]][l]][l]][l]][l]][l]][l]][l]][l]][l]
[l]:ht0tp%3A%2F%2FdwqNo%0A+fg

I put this in the code so that my PoC wouldn't work. You just need to paste it just by copying it. To be sure, try inserting it into a report created in the sandbox Our team believes that it makes sense to fix this error.

Impact

  • DoS
  • Disruption of normal operation

The original report as published on HackerOne, by haxta4ok00. 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

Impact

Opening an affected report or profile could return a 502 error, disrupting triage and disclosure work and generating support requests.

What the attacker needed

Ability to post markdown content; victim opens the affected page

How it was found

  1. Create a report in the sandbox environment.
  2. Insert the crafted markdown string into the report content.
  3. Open the report so its HTML attribute is rendered and observe the 502 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.

Markdown is a simple way of formatting text, and some sites turn it into HTML to display it. The reporter found that a particular pattern of nested brackets and links makes the page that renders it crash with a server error (502 means a gateway could not get a valid response). Because that content is shown to other people, they would see the error instead of the page.

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 haxta4ok00

View all

32 more disclosed reports, best first.

More from HackerOne

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.