Win32.MarsStealer Web Panel Cross Site Scripting

Win32.MarsStealer Web Panel malware suffers from a cross site scripting vulnerability.

MD5 | 73c1bff0ab616faa56644222dead3eaa

Discovery / credits: Malvuln - (c) 2022
Original source:
Contact: [email protected]

Threat: Win32.MarsStealer Web Panel
Vulnerability: Unauthenticated Remote Persistent XSS
Description: The Mars-Stealer web interface has a "Marker Rules" component area. Third-party attackers who can reach the Mars-Stealer server can send HTTP POST requests injecting arbitrary JS code into the "mars" MySql database in the markerrule table. This results in a persistent cross site scripting condition, executing client side code in the security context of the currently logged on user anytime the WebUI is accessed. This can result in PHPSESSID token and data theft or GEO location disclosure of the user accessing the Mars-Stealer WebUI.

PHP code snippet "markeractions.php"

require_once '../../db.php';

switch (trim($_POST['func'])) {
case "markeradd":
case "markerdelete":
case "markeractive":

Type: WebUI
MD5: 8abb41f6e7010d70c90f65fd9a740faa (MarsStealer_Menu.exe)
MD5: 03c2c5cb3dba09bfa479fd5c50b5a2cf (dashboard.php)
Vuln ID: MVID-2022-0452
Disclosure: 01/15/2022

curl http://MARS_STEALER/mars/panel/includes/markeractions.php --data "func=markeradd&name=/%3C%3Cscript%3Ealert(document.cookie)%3C/script%3E&"

Disclaimer: The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise. Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information or exploits by the author or elsewhere. Do not attempt to download Malware samples. The author of this website takes no responsibility for any kind of damages occurring from improper Malware handling or the downloading of ANY Malware mentioned on this website or elsewhere. All content Copyright (c) (TM).

Related Posts