HexBrain

HackerOne · Report #1386277

Attachment references in markdown don't warn before downloading

Validstatus
lowseverity
29upvotes
25 Feb 2022disclosed

How it was found

Summary: By default if any link of report is clicked, There will be a popup to user that you're visiting a third-party website please proceed at your own risk etc. However, when a user views the report all links are non clickable and file URI is appended. I have Found out that I can bypass this functionality by appending a " and ) in the end . For example if you view this link as PDF and click the link it will simply redirect you to the URL.

there will be a popup, That you are visited a third party domain etc. Description:

Steps To Reproduce

  1. create a H1 report with the following payload

(https://example.com")

  1. view the report click export and view as pdf
  2. hover the link and click .
  3. observe that you are directly redirected without any warning of going to third party domain.

Optional: Your Environment (Browser version, Device, etc)

Optional: Supporting Material/References (Screenshots)

Impact

By using this vulnerability an attacker might be able to get a victims IP address , make them login etc.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original