CVE-2024-10415

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 reqid parameter in /file/accept.php. This could lead to unauthorized data access, modification, or deletion. All users running the vulnerable version are affected.

💻 Affected Systems

Products:
  • Blood Bank Management System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all installations of version 1.0 regardless of configuration

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including sensitive medical data exposure, system takeover, and potential data destruction

🟠

Likely Case

Unauthorized access to blood bank records, donor information, and administrative data

🟢

If Mitigated

Limited impact with proper input validation and database permissions

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public exploit code available, requires minimal technical skill to execute

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider upgrading to a newer version if available or implementing workarounds.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement parameterized queries and input validation for reqid parameter

Modify /file/accept.php to use prepared statements

Web Application Firewall Rules

all

Block SQL injection patterns targeting /file/accept.php

Configure WAF to detect and block SQLi patterns

🧯 If You Can't Patch

  • Restrict network access to the application using firewall rules
  • Implement database-level permissions to limit potential damage

🔍 How to Verify

Check if Vulnerable:

Check if /file/accept.php exists and accepts reqid parameter without proper validation

Check Version:

Check application version in admin panel or configuration files

Verify Fix Applied:

Test with SQL injection payloads to confirm they are blocked

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed requests to /file/accept.php

Network Indicators:

  • HTTP requests to /file/accept.php with SQL injection patterns

SIEM Query:

source="web_logs" AND uri="/file/accept.php" AND (reqid CONTAINS "' OR" OR reqid CONTAINS "UNION" OR reqid CONTAINS "SELECT")

🔗 References

📤 Share & Export