HexBrain

FetLife · Report #1176794

Specific Payload makes a Users Posts unavailable

Validstatus
mediumseverity
$100bounty
49upvotes
26 Jan 2022disclosed

How it was found

Good Morning,

Like we talked about in the email, I'm reporting an issue that I've found that is possible, by crafting a specific payload, other users that try to access /posts of a user will face the 500 Internal Server Error issue, not only when they access the specific crafted post. With this, the posts of the user will be blocked for other users. This could cause other problems like people possibly doing this on other's accounts and blocking all their posts for other users or it could be chained with some other vulnerability in the future.

I found this issue when I was fuzzing with the markdown as I saw you guys were using Links, so trying some HTML encodings led me to the following payload: [PoC](()).

With this, we can see that the markdown doesn't take our encoding very well which then causes a 500 Internal Server Error and blocks the Posts of any user to other users.

Proof that the Fetlife Security Team gave me the go-ahead to report this issue.

{F1280132}

Steps to Reproduce

  1. Go to Write Post
  2. On the Body insert the following payload [PoC](())

{F1280189}

  1. Click on Express Yourself
  2. We are now faced with the 500 Internal Server Error and if we try to access https://fetlife.com/users/OUR_USER_ID/posts, we can see that our posts are completely blocked for us and everyone and that we're still faced with a 500 Internal Server Error.

Final

Thank you for your time, best regards, Rafael Castilho

Impact

This could cause other problems like people possibly doing this on other's accounts and blocking all their posts for other users or it could be chained with some other vulnerability in the future.

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