Skip to main content

Online Teacher Record Management System CVE-2025-6405

| EUVDEUVD-2025-18813 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-21 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Online Teacher Record Management System 1.0

Affected Packages

euvd online_teacher_record_management_system no fix

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Jun 24, 2025 - 19:16 vuln.today
Public exploit code
CVE Published
Jun 21, 2025 - 14:15 nvd
HIGH 7.3

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 82% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy