CVE-2025-8271

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_s3.php. This can lead to data theft, modification, or deletion. All users running the vulnerable version are affected.

💻 Affected Systems

Products:
  • Exam Form Submission
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default installation and requires no special configuration to be exploitable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data exfiltration, data destruction, and potential server takeover via SQL injection to RCE chaining.

🟠

Likely Case

Unauthorized access to sensitive exam data, student information, and administrative credentials stored in the database.

🟢

If Mitigated

Limited impact with proper input validation and database permissions, though SQL injection attempts would still be logged.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available and the vulnerability requires minimal technical skill to exploit.

🛠️ 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 workarounds.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement proper input validation and parameterized queries for the ID parameter in delete_s3.php

Edit /admin/delete_s3.php to use prepared statements with parameterized queries

Access Restriction

all

Restrict access to /admin/delete_s3.php file

Add authentication requirement or IP restriction to the file

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block SQL injection patterns targeting the ID parameter
  • Disable or remove the /admin/delete_s3.php file if functionality is not required

🔍 How to Verify

Check if Vulnerable:

Check if /admin/delete_s3.php exists and accepts ID parameter without proper validation

Check Version:

Check software version in configuration files or about pages

Verify Fix Applied:

Test SQL injection attempts against the ID parameter to confirm they are blocked

📡 Detection & Monitoring

Log Indicators:

  • SQL syntax errors in web server logs
  • Multiple requests to /admin/delete_s3.php with unusual ID parameters

Network Indicators:

  • HTTP POST/GET requests to /admin/delete_s3.php containing SQL keywords in parameters

SIEM Query:

source="web_server" AND (uri="/admin/delete_s3.php" AND (param="ID" CONTAINS "' OR" OR param="ID" CONTAINS "UNION" OR param="ID" CONTAINS "SELECT"))

🔗 References

📤 Share & Export