Lucene search
K

WordPress IDonate Blood Request Management System 1.8.1 Cross Site Scripting

🗓️ 29 Feb 2024 00:00:00Reported by Laburity Research TeamType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 334 Views

Stored Cross-Site Scripting in WordPress IDonate Blood Request Management System 1.8.1

Code
`# Exploit Title: IDonate – blood request management system <=1.8.1 - Stored  
Cross-Site Scripting (Authenticated)  
# Date: 29-02-2024  
# Exploit Author: Laburity Research Team  
# Vendor Homepage: https://wordpress.org/plugins/idonate/  
# Version: <=1.8.1  
# Tested on: Firefox  
# Contact me: contact [at] laburity.com  
  
# Summary:  
  
A cross site scripting stored vulnerability has been identified in  
WordPress Plugin IDonate – blood request management system version less  
then 1.8.1. that allows Authenticated users to run arbitrary javascript  
code inside WordPress using blood request management system Plugin.  
  
# POC  
  
1- Navigate to  
http://localhost:10003/wp-admin/admin.php?page=idonate-setting-admin  
2- Enter payload "><h1 onclick=alert(1)>XSS</h1> in Recaptcha secret key  
and in Recaptcha Site key  
3- Click on save changes.  
4- While clicking on the payload text, XSS will trigger.  
  
  
# Vulnerable Code:  
  
```  
public function idonate_recaptcha_secretkey_callback()  
{  
  
if( isset( $this->general_options['idonate_recaptcha_secretkey'] ) ){  
$secretkey = $this->general_options['idonate_recaptcha_secretkey'];  
}else{  
$secretkey = '';  
}  
  
//  
printf(  
'<input type="text" id="idonate_recaptcha_secretkey" value="%s"  
name="idonate_general_option_name[idonate_recaptcha_secretkey]" />',  
$secretkey  
);  
  
}  
```  
  
Secrets keys (idonate_recaptcha_secretkey) are printed without sanitization.  
`

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