CVE-2025-8269

7.3 HIGH

📋 TL;DR

This critical SQL injection vulnerability in Exam Form Submission 1.0 allows attackers to execute arbitrary SQL commands via the ID parameter in /admin/delete_s1.php. Attackers can remotely exploit this to access, modify, or delete database content. 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 the /admin/delete_s1.php file to be accessible

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data destruction, or full system takeover via SQL injection to RCE chaining

🟠

Likely Case

Unauthorized data access, modification, or deletion of exam form records and potentially other database tables

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting damage scope

🌐 Internet-Facing: HIGH - Attack can be launched remotely without authentication
🏢 Internal Only: MEDIUM - Still vulnerable but requires internal network access

🎯 Exploit Status

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

Exploit details publicly disclosed; simple SQL injection requiring minimal technical skill

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider removing or replacing the software. If continuing use, implement workarounds below.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Add parameterized queries or input validation to /admin/delete_s1.php

Edit delete_s1.php to use prepared statements: $stmt = $conn->prepare('DELETE FROM table WHERE id = ?'); $stmt->bind_param('i', $_GET['ID']);

Access Restriction

all

Restrict access to /admin/delete_s1.php via web server configuration

Apache: <Location "/admin/delete_s1.php"> Require valid-user </Location>
Nginx: location /admin/delete_s1.php { auth_basic "Restricted"; }

🧯 If You Can't Patch

  • Remove or disable /admin/delete_s1.php file from web server
  • Implement WAF rules to block SQL injection patterns targeting this endpoint

🔍 How to Verify

Check if Vulnerable:

Test /admin/delete_s1.php?ID=1' OR '1'='1 and observe SQL error or unexpected behavior

Check Version:

Check software documentation or configuration files for version information

Verify Fix Applied:

Test with same payload; should receive proper error handling or no SQL errors

📡 Detection & Monitoring

Log Indicators:

  • SQL syntax errors in web server logs
  • Unusual database queries from web application
  • Multiple failed delete operations

Network Indicators:

  • HTTP requests to /admin/delete_s1.php with SQL injection patterns
  • Unusual database traffic from web server

SIEM Query:

source="web_logs" AND uri="/admin/delete_s1.php" AND (query="*'*" OR query="*OR*" OR query="*UNION*" OR query="*SELECT*" OR query="*--*" OR query="*/*")

🔗 References

📤 Share & Export