CVE-2025-8327

7.3 HIGH

📋 TL;DR

This critical SQL injection vulnerability in Exam Form Submission 1.0 allows attackers to manipulate database queries through the /admin/delete_s8.php endpoint. Remote attackers can potentially read, modify, or delete database contents. Organizations using this software are affected.

💻 Affected Systems

Products:
  • code-projects Exam Form Submission
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists in default installation. Requires the /admin/delete_s8.php endpoint 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 escalation.

🟠

Likely Case

Unauthorized data access, modification, or deletion of exam records and user data.

🟢

If Mitigated

Limited impact if proper input validation and WAF rules block malicious SQL payloads.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available. SQL injection via ID parameter is straightforward.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider workarounds or replacing the software.

🔧 Temporary Workarounds

Web Application Firewall (WAF) Rules

all

Implement WAF rules to block SQL injection patterns targeting the /admin/delete_s8.php endpoint.

Access Restriction

linux

Restrict access to /admin/delete_s8.php using network ACLs or authentication.

# Apache: <Location /admin/delete_s8.php> Require ip 10.0.0.0/8 </Location>
# Nginx: location /admin/delete_s8.php { deny all; }

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries in the PHP code
  • Deploy the application behind a WAF with SQL injection protection enabled

🔍 How to Verify

Check if Vulnerable:

Check if /admin/delete_s8.php exists and accepts ID parameter. Test with SQL injection payloads like ' OR '1'='1.

Check Version:

Check software documentation or configuration files for version information.

Verify Fix Applied:

Verify that SQL injection payloads no longer execute and return appropriate error messages.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple requests to /admin/delete_s8.php with SQL-like parameters

Network Indicators:

  • HTTP requests containing SQL keywords (SELECT, UNION, etc.) targeting the vulnerable endpoint

SIEM Query:

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

🔗 References

📤 Share & Export