CVE-2025-8326

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_s7.php. Attackers can potentially read, modify, or delete database contents, including sensitive user data. All users running version 1.0 without proper input validation 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/delete_s7.php 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 and modification, potentially exposing user credentials and personal information

🟢

If Mitigated

Limited impact with proper input validation and database permissions, though SQL injection attempts may still cause service disruption

🌐 Internet-Facing: HIGH - Remote exploitation possible with disclosed exploit
🏢 Internal Only: MEDIUM - Still vulnerable but requires internal network access

🎯 Exploit Status

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

Exploit disclosed on GitHub; simple parameter manipulation required

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider migrating to alternative software or implementing custom fixes with proper input validation and parameterized queries.

🔧 Temporary Workarounds

Input Validation Filter

all

Add server-side validation to ensure ID parameter contains only numeric values

Add validation in delete_s7.php: if(!is_numeric($_GET['ID'])) { die('Invalid input'); }

Access Restriction

all

Restrict access to /admin/ directory via web server configuration

Apache: <Location /admin/> Require valid-user </Location>
Nginx: location /admin/ { deny all; }

🧯 If You Can't Patch

  • Implement WAF rules to block SQL injection patterns targeting /admin/delete_s7.php
  • Isolate the application in a segmented network with strict egress filtering

🔍 How to Verify

Check if Vulnerable:

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

Check Version:

Check software documentation or configuration files for version information

Verify Fix Applied:

Test with same payload; should receive error message or no database interaction

📡 Detection & Monitoring

Log Indicators:

  • Multiple requests to /admin/delete_s7.php with SQL keywords in parameters
  • Database error logs containing SQL syntax errors

Network Indicators:

  • HTTP requests with SQL injection payloads in GET parameters
  • Unusual database connection patterns from web server

SIEM Query:

source="web_logs" AND uri="/admin/delete_s7.php" AND (param="*' OR*" OR param="*UNION*" OR param="*SELECT*" OR param="*INSERT*")

🔗 References

📤 Share & Export