Skip to main content

CVE-2025-5675: SQL Injection in Campcodes Online Teacher Record Management System

Medium
VulnerabilityCVE-2025-5675cvecve-2025-5675
Published: Thu Jun 05 2025 (06/05/2025, 18:31:05 UTC)
Source: CVE Database V5
Vendor/Project: Campcodes
Product: Online Teacher Record Management System

Description

A vulnerability was found in Campcodes Online Teacher Record Management System 1.0. It has been classified as critical. This affects an unknown part of the file /trms/admin/bwdates-reports-details.php. The manipulation of the argument fromdate/todate leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

AI-Powered Analysis

AILast updated: 07/07/2025, 17:10:41 UTC

Technical Analysis

CVE-2025-5675 is a SQL Injection vulnerability identified in version 1.0 of the Campcodes Online Teacher Record Management System, specifically within the /trms/admin/bwdates-reports-details.php file. The vulnerability arises due to improper sanitization or validation of the 'fromdate' and 'todate' parameters, which are used to filter or query report data. An attacker can manipulate these parameters remotely without any authentication or user interaction, injecting malicious SQL code that the backend database executes. This can lead to unauthorized data access, data modification, or potentially full compromise of the underlying database. The CVSS 4.0 vector indicates no privileges or user interaction are required, and the attack can be performed remotely over the network. The vulnerability impacts confidentiality, integrity, and availability to a limited extent (VC:L, VI:L, VA:L), suggesting partial but significant compromise possibilities. Although the CVSS score is 6.9 (medium severity), the critical classification by the vendor likely reflects the sensitivity of the data handled by this system (teacher records). No official patches or mitigations have been published yet, and no known exploits are reported in the wild, but public disclosure of the exploit code increases the risk of exploitation. The system is used for managing teacher records, which may contain personally identifiable information (PII) and sensitive educational data.

Potential Impact

For European organizations, particularly educational institutions or government bodies managing teacher records, this vulnerability poses a significant risk. Exploitation could lead to unauthorized access to sensitive personal data of teachers, including identity details, employment records, and potentially sensitive performance or disciplinary information. This could result in privacy violations under GDPR, leading to regulatory penalties and reputational damage. Additionally, attackers could manipulate or delete records, disrupting administrative operations and impacting the availability and integrity of educational data. The remote and unauthenticated nature of the attack increases the risk of widespread exploitation, especially if the system is exposed to the internet. Given the critical nature of educational data and the importance of maintaining trust in public institutions, this vulnerability could have serious operational and compliance consequences for European entities using this product.

Mitigation Recommendations

Immediate mitigation should focus on restricting access to the vulnerable endpoint by implementing network-level controls such as IP whitelisting or VPN-only access to the management interface. Input validation and parameter sanitization must be enforced on the 'fromdate' and 'todate' parameters to prevent SQL injection; this includes using prepared statements or parameterized queries in the backend code. Organizations should conduct a thorough code review of the affected module and apply secure coding practices. In the absence of an official patch, consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection attempts targeting these parameters. Monitoring and logging access to the vulnerable endpoint should be enhanced to detect suspicious activity. Finally, organizations should plan for an update or patch deployment once available from the vendor and conduct a risk assessment to identify any potential data breaches resulting from exploitation.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-06-04T13:00:43.677Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6841efec182aa0cae2ed9f24

Added to database: 6/5/2025, 7:28:44 PM

Last enriched: 7/7/2025, 5:10:41 PM

Last updated: 8/11/2025, 12:58:50 AM

Views: 13

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats