CVE-2025-11342

4.7 MEDIUM

📋 TL;DR

CVE-2025-11342 is a SQL injection vulnerability in code-projects Online Course Registration 1.0 that allows attackers to manipulate database queries through the coursecode parameter in /admin/edit-course.php. This can lead to unauthorized data access, modification, or deletion. Organizations using this specific software version are affected.

💻 Affected Systems

Products:
  • code-projects Online Course Registration
Versions: 1.0
Operating Systems: All platforms running the web application
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations with the vulnerable /admin/edit-course.php file accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data destruction, or full system takeover through privilege escalation.

🟠

Likely Case

Unauthorized access to course registration data, potential exposure of student information, and manipulation of course records.

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting damage to non-sensitive data.

🌐 Internet-Facing: HIGH - The vulnerability can be exploited remotely and a public exploit exists.
🏢 Internal Only: MEDIUM - Internal attackers could exploit this if they have network access to the system.

🎯 Exploit Status

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

Exploit requires access to admin interface but SQL injection is straightforward once authenticated.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider implementing input validation or migrating to alternative software.

🔧 Temporary Workarounds

Input Validation Implementation

all

Add server-side validation to sanitize coursecode parameter before processing

Edit /admin/edit-course.php to add parameter validation

Web Application Firewall Rules

all

Implement WAF rules to block SQL injection patterns targeting the coursecode parameter

🧯 If You Can't Patch

  • Restrict access to /admin/edit-course.php using network segmentation or authentication
  • Implement database user with minimal privileges for the application

🔍 How to Verify

Check if Vulnerable:

Check if /admin/edit-course.php exists and test coursecode parameter with SQL injection payloads

Check Version:

Check application files or documentation for version 1.0 indication

Verify Fix Applied:

Test the coursecode parameter with SQL injection attempts to ensure they are blocked or sanitized

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts to admin interface
  • Unexpected parameter values in web server logs

Network Indicators:

  • SQL injection patterns in HTTP requests to /admin/edit-course.php
  • Unusual database connection patterns

SIEM Query:

web.url:*edit-course.php* AND (web.param:*coursecode* AND (web.param:*OR* OR web.param:*UNION* OR web.param:*SELECT*))

🔗 References

📤 Share & Export