CVE-2025-10848

6.3 MEDIUM

📋 TL;DR

Campcodes Society Membership Information System 1.0 contains a SQL injection vulnerability in the /check_student.php file via the student_id parameter. This allows remote attackers to execute arbitrary SQL commands on the database. Organizations using this specific software version are affected.

💻 Affected Systems

Products:
  • Campcodes Society Membership Information System
Versions: 1.0
Operating Systems: Any
Default Config Vulnerable: ⚠️ Yes
Notes: Affects systems with the vulnerable /check_student.php file accessible. Default installations are vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, and potential system takeover via SQL injection leading to remote code execution.

🟠

Likely Case

Unauthorized access to sensitive membership data, personal information exposure, and potential database corruption.

🟢

If Mitigated

Limited impact with proper input validation and database permissions, potentially only error messages or minor data exposure.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public exploit available according to references. Remote exploitation possible without authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

1. Check vendor website for updates. 2. Apply any available patches. 3. If no patch exists, implement workarounds immediately.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation and parameterized queries for the student_id parameter

Web Application Firewall

all

Deploy WAF with SQL injection protection rules

🧯 If You Can't Patch

  • Block external access to /check_student.php via firewall rules
  • Implement database user with minimal permissions and enable logging

🔍 How to Verify

Check if Vulnerable:

Test /check_student.php endpoint with SQL injection payloads in student_id parameter

Check Version:

Check software version in admin panel or configuration files

Verify Fix Applied:

Verify parameterized queries are implemented and input validation prevents SQL injection

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts via /check_student.php
  • SQL error messages in web server logs

Network Indicators:

  • Unusual traffic patterns to /check_student.php
  • SQL injection payloads in HTTP requests

SIEM Query:

source="web_server" AND uri="/check_student.php" AND (payload="' OR" OR payload="UNION" OR payload="SELECT" OR payload="INSERT")

🔗 References

📤 Share & Export