CVE-2025-8372

7.3 HIGH

📋 TL;DR

This is a critical SQL injection vulnerability in Exam Form Submission 1.0 that allows attackers to manipulate database queries through the 'credits' parameter in /admin/update_s7.php. Attackers can potentially read, modify, or delete database contents remotely. All users running the vulnerable software are affected.

💻 Affected Systems

Products:
  • Exam Form Submission
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations with the vulnerable /admin/update_s7.php file accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, privilege escalation, and potential remote code execution via database functions.

🟠

Likely Case

Unauthorized data access, data manipulation, and potential authentication bypass leading to admin account takeover.

🟢

If Mitigated

Limited impact with proper input validation, parameterized queries, and database permission restrictions in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available and SQL injection is a well-understood attack vector.

🛠️ 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 alternative software

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Add server-side validation to sanitize 'credits' parameter input

Implement parameterized queries or prepared statements in PHP code

Access Restriction

linux

Restrict access to /admin/update_s7.php file

Add .htaccess rules to block external access to the file
Move admin files to protected directory

🧯 If You Can't Patch

  • Implement web application firewall (WAF) with SQL injection rules
  • Restrict database user permissions to minimum required

🔍 How to Verify

Check if Vulnerable:

Check if /admin/update_s7.php exists and contains unsanitized 'credits' parameter usage

Check Version:

Check software version in configuration files or admin panel

Verify Fix Applied:

Test with SQL injection payloads to confirm parameterized queries block malicious input

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts after SQL injection attempts
  • Suspicious POST requests to /admin/update_s7.php

Network Indicators:

  • SQL keywords in HTTP POST parameters
  • Unusual database connection patterns
  • Large data transfers from database server

SIEM Query:

source="web_logs" AND uri="/admin/update_s7.php" AND (param="credits" AND value MATCHES "(?i)(union|select|insert|update|delete|drop|--|#|/*)")

🔗 References

📤 Share & Export