Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | CVSS 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L) indicates network-accessible, low-complexity, unauthenticated exploitation with partial confidentiality, integrity, and availability impact. The vector reflects realistic risk: no privilege requirement, no user interaction, and direct network access. Public POC availability and prior disclosure significantly elevate real-world risk beyond the CVSS score alone. However, the 'L' ratings (Low impact) on C/I/A suggest scope is limited to partial data compromise rather than full system takeover. Exploitation appears highly automatable given the straightforward SQL injection in a web parameter. This should be treated as HIGH PRIORITY for any organization running Campcodes 1.0 in production, particularly those managing sensitive student/teacher data, despite the moderate CVSS; remediation should be immediate. |
| Exploit ScenarioDerived | An attacker discovers a Campcodes instance at https://school.example.com/admin/edit-teacher-detail.php via shodan/public exposure. Since the endpoint requires no authentication (PR:N per CVSS), the attacker crafts a malicious URL: https://school.example.com/admin/edit-teacher-detail.php?editid=1' OR '1'='1. The unvalidated editid parameter is injected directly into a backend SQL query (e.g., SELECT * FROM teachers WHERE id=1' OR '1'='1), causing it to return all teacher records. Using UNION-based injection (editid=1 UNION SELECT username,password,... FROM admin_users--), the attacker extracts admin credentials. With admin access, the attacker modifies teacher records, inserts false grades, or exfiltrates student personal information (names, contact details, grades). A POC payload might be: editid=999 UNION SELECT 1,2,user(),database(),5-- to confirm backend user and database name. Given AC:L (low complexity) and public POC availability, automated scanning tools can identify and exploit this vulnerability at scale across multiple institutions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-6405 is a critical SQL injection vulnerability in Campcodes Online Teacher Record Management System version 1.0, affecting the /admin/edit-teacher-detail.php endpoint through an unsanitized 'editid' parameter. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion of teacher records and sensitive educational data. Public disclosure and proof-of-concept availability indicate active exploitation risk, though CVSS 7.3 reflects moderate actual impact (read/write/availability) rather than complete system compromise.
RemediationAI
Immediate Patch: Upgrade to Campcodes Online Teacher Record Management System version 1.1 or later (if available). Check vendor website/repository for security updates.; priority: CRITICAL Code-Level Mitigation (if patch unavailable): Implement parameterized queries (prepared statements) in /admin/edit-teacher-detail.php. Replace direct string concatenation in SQL queries with bound parameters: use mysqli_prepare() or PDO prepared statements. Sanitize editid input with intval() or whitelist validation to ensure it matches expected teacher ID format.; priority: HIGH Input Validation: Enforce strict input validation: whitelist numeric values for editid (should be integer teacher ID). Reject or escape any non-numeric characters before database query.; priority: HIGH WAF/Network Mitigation: Deploy Web Application Firewall (WAF) rules to detect and block common SQL injection payloads in the editid parameter (pattern matching for UNION, SELECT, OR 1=1, etc.). This is temporary mitigation only.; priority: MEDIUM Access Control: Restrict admin panel access (/admin/*) via IP whitelist, VPN, or authentication gateway until patch is applied. Limit admin user accounts to essential personnel only.; priority: MEDIUM Monitoring: Enable SQL error logging and monitor for unusual query patterns in application/database logs. Alert on failed admin login attempts and anomalous /admin/edit-teacher-detail.php requests.; priority: MEDIUM
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - 'Injection'), specifically SQL injection in the admin panel. The /admin/edit-teacher-detail.php file fails to properly sanitize or parameterize the 'editid' GET/POST parameter before incorporating it into SQL queries. Campcodes Online Teacher Record Management System 1.0 (CPE: cpe:2.3:a:campcodes:online_teacher_record_management_system:1.0:*:*:*:*:*:*:*) is a web-based educational administration platform typically built on PHP/MySQL or similar stack. The lack of prepared statements or input validation allows attackers to inject malicious SQL syntax (UNION-based, time-based blind, or error-based injection techniques) to bypass authentication and access backend databases.
Know when Online Teacher Record Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability classified as critical was found in Campcodes Online Teacher Record Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /admin/edit-teacher-detail.php. The manipulation of the argument editid leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A publicly disclosed SQL injection vulnerability in the Campcodes Online Teacher Record Management System allows remote attackers to compromise the administrative teacher records database without authentication. Organizations using this system face immediate risk of data breach, unauthorized access to sensitive educational records, and potential system compromise.
Implement WAF rules to filter SQL injection patterns in the 'editid' parameter; disable the /admin/edit-teacher-detail.php endpoint if functionality is non-critical; restrict administrative portal access to specific IP ranges via network firewall; enforce VPN or bastion host access for all administrative functions; enable SQL error suppression to prevent information disclosure; implement database activity monitoring (DAM) to detect suspicious queries; consider disabling the affected feature until patch availability is confirmed by vendor.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
A SQL injection vulnerability in A vulnerability classified as critical (CVSS 7.3). Risk factors: public PoC available.
Critical SQL injection vulnerability in Campcodes Online Teacher Record Management System version 1.0, specifically in t
Critical SQL injection vulnerability in Campcodes Online Teacher Record Management System version 1.0, affecting the adm
CVE-2025-6404 is a critical SQL injection vulnerability in Campcodes Online Teacher Record Management System version 1.0
EUVD-2025-18813
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB