CVE-2025-11062

7.3 HIGH

📋 TL;DR

Campcodes Online Learning Management System 1.0 contains a SQL injection vulnerability in the /admin/save_student.php file via the class_id parameter. This allows remote attackers to execute arbitrary SQL commands, potentially compromising the database. Organizations using this specific version of the software are affected.

💻 Affected Systems

Products:
  • Campcodes Online Learning Management System
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects version 1.0; requires /admin/save_student.php endpoint to be accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, authentication bypass, and potential remote code execution if database permissions allow.

🟠

Likely Case

Unauthorized data access, data exfiltration, and potential privilege escalation within the application.

🟢

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: ✅ No
Complexity: LOW

Exploit requires admin access; SQL injection via class_id parameter is straightforward.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider implementing parameterized queries and input validation in /admin/save_student.php.

🔧 Temporary Workarounds

Web Application Firewall (WAF)

all

Deploy WAF rules to block SQL injection patterns targeting the class_id parameter.

Input Validation

all

Implement server-side validation to ensure class_id contains only expected values.

🧯 If You Can't Patch

  • Restrict access to /admin/save_student.php endpoint using network controls or authentication.
  • Implement database user with minimal permissions (read-only where possible).

🔍 How to Verify

Check if Vulnerable:

Test /admin/save_student.php endpoint with SQL injection payloads in class_id parameter.

Check Version:

Check application version in admin panel or configuration files.

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and parameterized queries are implemented.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts followed by SQL injection patterns

Network Indicators:

  • HTTP POST requests to /admin/save_student.php with SQL keywords in parameters

SIEM Query:

source="web_logs" AND uri_path="/admin/save_student.php" AND (param="class_id" AND value CONTAINS "UNION" OR value CONTAINS "SELECT" OR value CONTAINS "' OR '")

🔗 References

📤 Share & Export