Skip to main content

Teachers Record Management System CVE-2025-6885

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

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed admin panel
  2. Delivery
    Send crafted HTTP request with malicious tid value
  3. Exploit
    Trigger unsanitized SQL query
  4. Execution
    Extract database contents via union/error-based injection
  5. Impact
    Obtain credentials or sensitive records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Exploitation requires HTTP network access to the /admin/edit-teacher-detail.php endpoint of a PHPGurukul Teachers Record Management System 2.1 installation. The critical unresolved condition is whether the admin panel enforces session authentication: the CVSS PR:N rating implies no authentication is required, but the /admin/ path prefix typically implies a login gate - this conflict must be verified against the deployed application. No special server-side feature or non-default configuration appears necessary beyond a default installation. Exploitation is limited by the product's narrow deployment footprint (small educational institutions using free PHP scripts) and the low EPSS score despite the public POC.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) rates this as unauthenticated and remotely exploitable, yielding a base score of 5.5. However, the vulnerable endpoint resides under /admin/, which typically requires an authenticated session - this is a meaningful conflict in the available data that should be verified against the live application. PHPGurukul free scripts frequently ship with minimal or absent session enforcement on admin panels, making PR:N plausible but not confirmed. Impact is rated low across confidentiality, integrity, and availability in CVSS 4.0, consistent with partial database access rather than full system compromise. EPSS at 0.05% (14th percentile) despite a public POC suggests the product's narrow deployment footprint limits attacker interest. No CISA KEV listing. Overall, real-world risk is moderate-low unless the admin panel is publicly internet-exposed without authentication.

Exploit ScenarioDerived

An attacker sends a crafted HTTP GET or POST request to /admin/edit-teacher-detail.php?tid=1' UNION SELECT ... against an internet-exposed instance of the application, injecting SQL that extracts usernames and password hashes from the database. A public proof-of-concept is available on GitHub (https://github.com/louis-zly/myCVE/issues/2), significantly lowering the required attacker skill level. If the admin panel lacks authentication, this is fully unauthenticated; if login is required, the attacker would first need to obtain low-privilege credentials.

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

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

Alert me

AnalysisAIv1 – Sep 16, 2026

SQL injection in PHPGurukul Teachers Record Management System 2.1 allows manipulation of the tid parameter in /admin/edit-teacher-detail.php to read, modify, or delete database contents. The attack is remotely exploitable and a public proof-of-concept is available on GitHub, though EPSS remains very low at 0.05% (14th percentile), indicating limited real-world targeting to date. No vendor-released patch has been identified at time of analysis.

RemediationAI

No vendor-released patch has been identified at time of analysis. Administrators should apply the following compensating controls: restrict access to the /admin/ directory to known IP ranges via web server configuration (e.g., Apache Require ip or nginx allow/deny directives), which reduces exposure without requiring code changes. If modifying source code is feasible, replace direct string interpolation in the tid query with PDO prepared statements or MySQLi parameterized queries, eliminating the root cause. Deploy a web application firewall (WAF) rule blocking common SQL injection payloads in GET/POST parameters as a lower-confidence interim measure - note WAFs can be bypassed and are not a substitute for code-level fixes. Monitor VulDB entry https://vuldb.com/?id.314364 for upstream patch availability.

Affected VersionsENISA

Teachers Record Management System 2.1

Affected Packages

euvd teachers_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 affected product is a PHP-based school administration script distributed by PHPGurukul (CPE: cpe:2.3:a:phpgurukul:teachers_record_management_system:2.1). The tid parameter submitted to the /admin/edit-teacher-detail.php endpoint is incorporated into a backend SQL query without adequate sanitization or parameterization. The reported CWE is CWE-74 (Injection), though the more specific CWE-89 (SQL Injection) applies here. Classic unsanitized parameter interpolation in PHP database queries enables an attacker to append arbitrary SQL clauses - union-based or error-based extraction being the most common technique for such endpoints.

Know when Teachers 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
vuln.today AI 6.3 MEDIUM

Admin-path endpoint likely requires low-privilege authentication; impact is partial DB read/write only, no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from NVD.

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

5
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
Jul 08, 2025 - 14:17 vuln.today
Public exploit code
CVE Published
Jun 30, 2025 - 04:15 nvd
HIGH 7.3
CVE Published
Jun 30, 2025 - 04:15 cve.org
MEDIUM 5.5

DescriptionCVE.org

A vulnerability, which was classified as critical, was found in PHPGurukul Teachers Record Management System 2.1. Affected is an unknown function of the file /admin/edit-teacher-detail.php. The manipulation of the argument tid leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Prevalence
Low
niche free PHP school admin script, limited institutional adoption
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.0%
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
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

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.

CVE-2024-51064 CRITICAL POC
9.8 Oct 31

Phpgurukul Teachers Record Management System v2.1 is vulnerable to SQL Injection via the tid parameter to admin/queries.

CVE-2021-26822 CRITICAL POC
9.8 Feb 15

Teachers Record Management System 1.0 is affected by a SQL injection vulnerability in 'searchteacher' POST parameter in

CVE-2024-51063 CRITICAL POC
9.1 Oct 31

Phpgurukul Teachers Record Management System v2.1 is vulnerable to SQL Injection in add-teacher.php via the mobile numbe

CVE-2021-28423 HIGH POC
8.8 Jul 01

Multiple SQL Injection vulnerabilities in Teachers Record Management System 1.0 thru 2.1 allow remote authenticated user

CVE-2024-48744 MEDIUM POC
6.1 Oct 16

A Reflected Cross Site Scripting (XSS) vulnerability was found in /trms/listed- teachers.php in PHPGurukul Teachers Reco

CVE-2025-6888 MEDIUM POC
5.5 Jun 30

SQL injection in PHPGurukul Teachers Record Management System 2.1 allows unauthenticated remote attackers to execute arb

CVE-2025-8951 MEDIUM POC
5.5 Aug 14

A vulnerability has been found in PHPGurukul Teachers Record Management System 2.1. Rated medium severity (CVSS 6.9), th

CVE-2023-3187 MEDIUM POC
5.4 Jun 09

A vulnerability, which was classified as critical, has been found in PHPGurukul Teachers Record Management System 1.0. R

CVE-2021-28424 MEDIUM POC
5.4 Jul 01

A stored cross-site scripting (XSS) vulnerability in Teachers Record Management System 1.0 allows remote authenticated u

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