Tuesday, January 25, 2022

CosaNostra Builder WebPanel Cross Site Request Forgery

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'];
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


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