CVE-2025-14668

7.3 HIGH

📋 TL;DR

This SQL injection vulnerability in campcodes Advanced Online Examination System 1.0 allows attackers to manipulate database queries through the Username parameter in /query/loginExe.php. Attackers can potentially access, modify, or delete sensitive data including user credentials and examination records. All systems running this specific version are affected.

💻 Affected Systems

Products:
  • campcodes Advanced Online Examination System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default installation. Any system with this version exposed is vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, credential harvesting, privilege escalation, and potential system takeover via subsequent attacks.

🟠

Likely Case

Unauthorized access to sensitive user data, examination records, and potential authentication bypass.

🟢

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

Public exploit details available on GitHub. Attack requires no authentication and uses simple SQL injection techniques.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://www.campcodes.com/

Restart Required: No

Instructions:

No official patch available. Check vendor website for updates. Consider implementing workarounds or replacing the software.

🔧 Temporary Workarounds

WAF Rule Implementation

all

Deploy web application firewall rules to block SQL injection attempts targeting /query/loginExe.php

Input Validation Filter

all

Add server-side input validation to sanitize Username parameter before processing

🧯 If You Can't Patch

  • Isolate the system behind a reverse proxy with strict input validation
  • Implement network segmentation to limit database access from the web server

🔍 How to Verify

Check if Vulnerable:

Test the /query/loginExe.php endpoint with SQL injection payloads in Username parameter (e.g., admin' OR '1'='1)

Check Version:

Check system documentation or admin panel for version information

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and return proper error handling

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in application logs
  • Multiple failed login attempts with SQL characters

Network Indicators:

  • HTTP POST requests to /query/loginExe.php containing SQL keywords in parameters

SIEM Query:

source="web_logs" AND uri="/query/loginExe.php" AND (param="Username" AND value MATCHES "[';]|OR|UNION|SELECT")

🔗 References

📤 Share & Export