CVE-2025-8252

7.3 HIGH

📋 TL;DR

This critical SQL injection vulnerability in Exam Form Submission 1.0 allows remote attackers to execute arbitrary SQL commands via the ID parameter in /admin/delete_s5.php. This could lead to data theft, modification, or deletion. Organizations using this software are affected.

💻 Affected Systems

Products:
  • Exam Form Submission
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists in default installation. Requires admin panel access path /admin/delete_s5.php.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data exfiltration, privilege escalation, and potential remote code execution if database functions allow it.

🟠

Likely Case

Unauthorized access to sensitive student/exam data, data manipulation, and potential administrative account takeover.

🟢

If Mitigated

Limited impact with proper input validation, parameterized queries, and network segmentation in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details publicly disclosed. Requires access to admin interface but no authentication bypass needed for SQL injection itself.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

1. Check vendor website for updates. 2. If no patch available, implement workarounds. 3. Consider replacing with secure alternative.

🔧 Temporary Workarounds

Input Validation Filter

all

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

Modify /admin/delete_s5.php to validate ID parameter as integer before processing

Parameterized Query Implementation

all

Replace dynamic SQL with prepared statements

Rewrite SQL queries in delete_s5.php to use parameterized queries

🧯 If You Can't Patch

  • Block access to /admin/delete_s5.php at web server or firewall level
  • Implement WAF rules to detect and block SQL injection patterns

🔍 How to Verify

Check if Vulnerable:

Test /admin/delete_s5.php with SQL injection payloads like ' OR '1'='1 in ID parameter

Check Version:

Check software version in admin panel or configuration files

Verify Fix Applied:

Test with same payloads and verify they are rejected or properly sanitized

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in web server logs
  • Multiple failed delete attempts with malformed ID parameters
  • Access to delete_s5.php with non-numeric ID values

Network Indicators:

  • HTTP requests to /admin/delete_s5.php with SQL keywords in parameters
  • Unusual database query patterns from web server

SIEM Query:

source="web_server" AND uri="/admin/delete_s5.php" AND (param="ID" AND value MATCH "'.*'|OR|UNION|SELECT")

🔗 References

📤 Share & Export