Lucene search
K

CosaNostra Builder WebPanel Cross Site Request Forgery

🗓️ 25 Jan 2022 00:00:00Reported by malvuln, malvuln.comType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 219 Views

The CosaNostra Builder WebPanel is vulnerable to Cross Site Request Forgery (CSRF) which allows unauthorized deletion of tasks from the MySQL database if a panel user interacts with a malicious webpage or infected link

Code
`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).  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation