CVE-2025-1210

6.3 MEDIUM

📋 TL;DR

A critical SQL injection vulnerability exists in code-projects Wazifa System 1.0, specifically in the /controllers/control.php file. Attackers can remotely exploit this vulnerability to execute arbitrary SQL commands on the database. All users running Wazifa System 1.0 are affected.

💻 Affected Systems

Products:
  • code-projects Wazifa System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists in default installation. Requires the /controllers/control.php endpoint to be accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data manipulation, or complete system takeover via SQL injection to RCE chaining.

🟠

Likely Case

Unauthorized database access allowing data extraction, modification, or deletion of sensitive information.

🟢

If Mitigated

Limited impact with proper input validation and parameterized queries preventing successful exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available in GitHub repository. SQL injection vulnerabilities are commonly weaponized.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Implement workarounds or consider alternative software.

🔧 Temporary Workarounds

Web Application Firewall (WAF)

all

Deploy WAF with SQL injection rules to block exploitation attempts.

Input Validation

all

Implement strict input validation and parameterized queries in control.php.

🧯 If You Can't Patch

  • Restrict network access to Wazifa System to trusted IPs only.
  • Monitor database logs for unusual SQL queries and access patterns.

🔍 How to Verify

Check if Vulnerable:

Check if /controllers/control.php exists and accepts user input without proper sanitization.

Check Version:

Check application version in configuration files or admin panel.

Verify Fix Applied:

Test SQL injection payloads against the endpoint to confirm they are blocked or sanitized.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts via control.php

Network Indicators:

  • HTTP requests to /controllers/control.php with SQL keywords in parameters

SIEM Query:

source="web_logs" AND uri="/controllers/control.php" AND (param CONTAINS "UNION" OR param CONTAINS "SELECT" OR param CONTAINS "INSERT")

🔗 References

📤 Share & Export