HexBrain

Rocket.Chat · Report #833470

[Security Vulnerability Rocket.chat] HTML Injection into Email via Signup

Validstatus
mediumseverity
27upvotes
24 Jun 2020disclosed

How it was found

Description Due to a lack of  sanitization and validation in parameter affected, we can input HTML Tag and system will render it into Email victim. 

Affected Endpoint

https://chat.oas.greenhost.net/home  

Parameter : Name

Step to produce

[image: image.png]

In textbox name, input HTML code like

"><img src=https://www.no-gods-no-masters.com/images_designs/anonymous-gandhi-d001001207265.png>”@x.y "  

And in Email, input your victim email. Then click Lets Go / Submit.

When victim open email from your system, it will look.  

[image: image.png]

[image: image.png]

Impact

  • Phising

  • Abusing other user

  • Defacing

Fix

Filtering on parameter affected. <font color="#888888"><div><br></div>

<div><br></div> <div><br></div> <div><b>Steven Julian</b></div> <div><b><a href="mailto:[email protected]" target="_blank">[email protected]</a> // +62 89658610626</b></div></font>

Impact

  • Phising

  • Abusing other user

  • Defacing

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