CosaNostra Builder WebPanel malware suffers from a cross site request forgery vulnerability.
dd15c6bfc20d3166cc761a9b6078674e
Discovery / credits: Malvuln - malvuln.com (c) 2022
Original source: https://malvuln.com/advisory/61285c988de52b7c067fb2e703f2ab83_C.txt
Contact: [email protected]
Media: twitter.com/malvuln
Threat: CosaNostra Builder WebPanel
Vulnerability: Cross Site Request Forgery (CSRF)
Description: The Panel does not provide a CSRF security token to verify and process only authorized HTTP POST requests for "tasks.php". This can allow unauthorized deletion of tasks from the MySQL database if a panel user clicks an infected link or visits a malicious webpage, the bot HWID however would need to be known up front or guessed.
$id = @$_GET['id'];
if(isset($id)){
mysqli_query($condb,"DELETE FROM `tasks` WHERE `HWID`='$id'");
Type: WebUI
MD5: 61285c988de52b7c067fb2e703f2ab83
MD5: de5d209faa9dfbcd1d5e551273ae9c06 (tasks.php)
Vuln ID: MVID-2022-0473
Disclosure: 01/24/2022
Exploit/PoC:
HREF="http://MALWARE_C2_IP/WebPanel/Panel/tasks.php?id=3"
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).