CVE-2025-15012

7.3 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary SQL commands via the 'a' parameter in /home/home.php in code-projects Refugee Food Management System 1.0. This can lead to unauthorized data access, modification, or deletion. All deployments of version 1.0 are affected.

💻 Affected Systems

Products:
  • code-projects Refugee Food Management System
Versions: 1.0
Operating Systems: All platforms running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Any deployment with the vulnerable file accessible via web server is affected.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data destruction, and potential remote code execution via database functions.

🟠

Likely Case

Unauthorized data access and manipulation of the food management database, potentially affecting refugee aid operations.

🟢

If Mitigated

Limited impact if proper input validation and WAF rules are in place, though SQL injection attempts may still be logged.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and the exploit is publicly disclosed.
🏢 Internal Only: MEDIUM - Internal attackers could exploit this, but external threat is higher due to public disclosure.

🎯 Exploit Status

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

Exploit details are publicly available on GitHub and vuldb.com, making this easily weaponizable.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider implementing parameterized queries or input validation in /home/home.php.

🔧 Temporary Workarounds

WAF Rule Implementation

all

Implement web application firewall rules to block SQL injection patterns targeting the 'a' parameter.

Input Validation

all

Add server-side validation to sanitize the 'a' parameter before processing.

🧯 If You Can't Patch

  • Isolate the system from internet access and restrict to internal network only.
  • Implement strict network segmentation and monitor all database queries from the application.

🔍 How to Verify

Check if Vulnerable:

Test if /home/home.php accepts the 'a' parameter and if SQL injection payloads return database errors or data.

Check Version:

Check application files or documentation for version 1.0 reference.

Verify Fix Applied:

Verify that SQL injection attempts against the 'a' parameter are properly blocked or sanitized.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • HTTP requests with SQL injection patterns in 'a' parameter

Network Indicators:

  • HTTP POST/GET requests to /home/home.php with suspicious 'a' parameter values

SIEM Query:

web.url:*home.php AND (web.param.a:*sql* OR web.param.a:*union* OR web.param.a:*select*)

🔗 References

📤 Share & Export