CVE-2025-15210

6.3 MEDIUM

📋 TL;DR

This SQL injection vulnerability in Refugee Food Management System 1.0 allows attackers to manipulate database queries through the /home/editrefugee.php endpoint. Remote attackers can potentially read, modify, or delete sensitive refugee data. Organizations using this specific software version are affected.

💻 Affected Systems

Products:
  • Refugee Food Management System
Versions: 1.0
Operating Systems: Any OS running PHP web server
Default Config Vulnerable: ⚠️ Yes
Notes: Affects systems with the vulnerable file /home/editrefugee.php accessible via web.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data destruction, or unauthorized administrative access to the system.

🟠

Likely Case

Extraction of sensitive refugee information including personal details, food allocation records, and potentially authentication credentials.

🟢

If Mitigated

Limited impact if proper input validation and WAF rules are in place, though the vulnerability remains present.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and a public exploit exists.
🏢 Internal Only: MEDIUM - Internal attackers could still exploit this, but external threat is higher.

🎯 Exploit Status

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

Public exploit code is available on GitHub, making exploitation trivial for attackers.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider replacing with alternative software or implementing custom fixes.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Add parameterized queries or input validation to /home/editrefugee.php

Modify PHP code to use prepared statements: $stmt = $conn->prepare('UPDATE refugees SET name=? WHERE id=?'); $stmt->bind_param('si', $name, $id);

Web Application Firewall Rules

all

Block SQL injection patterns targeting the vulnerable endpoint

Add WAF rule: deny requests to /home/editrefugee.php containing SQL keywords like UNION, SELECT, INSERT, DELETE, DROP

🧯 If You Can't Patch

  • Restrict network access to the system using firewall rules to only trusted IP addresses
  • Implement database monitoring to detect unusual SQL queries from the web application

🔍 How to Verify

Check if Vulnerable:

Check if /home/editrefugee.php exists and contains unsanitized input parameters a/b/c/sex/d/e/nationality_nid in SQL queries

Check Version:

Check software documentation or about page for version information

Verify Fix Applied:

Test the endpoint with SQL injection payloads to confirm they are properly sanitized or blocked

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in web server logs
  • Multiple requests to /home/editrefugee.php with SQL-like parameters

Network Indicators:

  • HTTP requests containing SQL keywords sent to the vulnerable endpoint

SIEM Query:

source="web_server" AND uri="/home/editrefugee.php" AND (query="UNION" OR query="SELECT" OR query="INSERT" OR query="DELETE")

🔗 References

📤 Share & Export