CVE-2025-2037

6.3 MEDIUM

📋 TL;DR

This critical SQL injection vulnerability in Blood Bank Management System 1.0 allows remote attackers to execute arbitrary SQL commands via the requester_id parameter in delete_requester.php. This could lead to data theft, modification, or deletion of the blood bank database. Organizations using this software are affected.

💻 Affected Systems

Products:
  • Blood Bank Management System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the web interface component accessible via HTTP

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete compromise of the database including sensitive donor/patient information, deletion of critical blood bank data, and potential server takeover via SQL injection escalation.

🟠

Likely Case

Unauthorized access to sensitive blood bank records, modification of blood inventory data, and potential data exfiltration.

🟢

If Mitigated

Limited impact with proper input validation and database permissions, potentially only error messages or minor data exposure.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Public exploit available on GitHub, simple SQL injection via URL parameter

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://code-projects.org/

Restart Required: No

Instructions:

No official patch available. Consider migrating to alternative software or implementing workarounds.

🔧 Temporary Workarounds

Input Validation Filter

all

Add server-side validation to only accept numeric values for requester_id parameter

Modify delete_requester.php to validate requester_id is numeric before processing

Web Application Firewall

all

Deploy WAF with SQL injection rules to block malicious requests

🧯 If You Can't Patch

  • Isolate the system behind a firewall with strict access controls
  • Implement database user with minimal privileges (read-only if possible)

🔍 How to Verify

Check if Vulnerable:

Test by accessing /user_dashboard/delete_requester.php?requester_id=1' OR '1'='1 and checking for SQL errors

Check Version:

Check software version in admin panel or about page

Verify Fix Applied:

Test the same payload and verify proper error handling or rejection

📡 Detection & Monitoring

Log Indicators:

  • SQL syntax errors in web server logs
  • Unusual database queries from web application user
  • Multiple failed delete operations

Network Indicators:

  • HTTP requests to delete_requester.php with SQL payloads in parameters
  • Unusual database traffic patterns

SIEM Query:

source="web_server" AND (uri="*delete_requester.php*" AND (param="*' OR*" OR param="*UNION*" OR param="*SELECT*"))

🔗 References

📤 Share & Export