XSS (leads to arbitrary file read in Rocket.Chat-Desktop)
- Triaged in 43 hours
- Fixed in 31 days
- Disclosed after 2 months
Description: Rocket.Chat allows administrative users to customize the home body. Since <script> tags are removed, I think that running scripts should not be allowed. However, event handlers are not removed, allowing you to inject your own scripts.
Releases Affected:
- Rocket.Chat-Desktop-Client: v2.15.5
- Rocket.Chat-Server: v2.0.0
- Apps-Engine-Version: v1.5.2
Steps To Reproduce (from initial installation to vulnerability):
- Go to
Administration » Layout » Content - Set
Home Bodyto<img src=0 onerror="alert(0)"/> - Visit
/home
Arbitrary file read in Rocket.Chat-Desktop
- Go to
Administration » Layout » Content - Set
Home Bodyto<iframe src="file://c:/windows/system32/drivers/etc/hosts" onload="alert(iframe.contentDocument.body.innerHTML)" id="iframe"></iframe> - Visit
/home
Supporting Material/References:

admin-panel.png From the original on HackerOne 
alert.png arbitrary_file_read.mp4
Impact
- Attackers can execute scripts which leads to arbitrary file read and rce in Rocket.Chat-Desktop
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A low-severity XSS bug in Rocket.Chat. HackerOne made it public on 2 January 2020.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.