Skip to main content

Student Management System CVE-2025-66947

MEDIUM
SQL Injection (CWE-89)
2025-12-26 cve@mitre.org
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Reach admin edit-class-detail endpoint
  2. Exploit
    Inject SLEEP payload via editid parameter
  3. Execution
    Trigger time-based blind SQL injection
  4. Impact
    Infer and exfiltrate database contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation targets the editid GET parameter of /studentms/admin/edit-class-detail.php in Student Management System 1.0; the attacker must be able to reach this administrative endpoint and supply a crafted editid value carrying a time-based (SLEEP()) SQL payload. The primary limiting factor is that this is an administrative module - the '/admin/' path and 'administrative module' wording strongly imply a valid or compromised admin session is required, which contradicts the input vector's PR:N and should be verified with the code/vendor. Exploitation is blind and inference-based, so it is slower and noisier (many timed requests) than an error- or union-based extraction, but requires no user interaction and no special non-default configuration beyond having the application deployed.

Impact

Signals are mixed and point to a low-to-moderate real-world priority. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 6.5) describes a trivially reachable network-based injection, but the description explicitly places the flaw 'within an administrative module' (/studentms/admin/edit-class-detail.php), which strongly implies an authenticated admin session is normally required - this conflicts with the PR:N in the vector and should be verified; if auth is in fact required, effective risk drops further. EPSS is low at 0.28% (19th percentile), indicating little expectation of broad automated exploitation. The CVE is NOT on CISA KEV, so there is no evidence of active exploitation; however publicly available exploit code exists (GitHub POC), which lowers the skill barrier. Impact scoring (C:L/I:L/A:N) understates the described outcome of 'full database compromise' from a blind SQL injection, which typically yields complete read of the database (C:H) - this is a notable disagreement between the stated impact metrics and the described consequence. Net: this is a real but low-priority issue, constrained by the product's obscurity and the likely admin-access prerequisite rather than a widespread emergency.

Exploit ScenarioDerived

An attacker with reach to the admin panel sends a request to /studentms/admin/edit-class-detail.php with a crafted editid value containing a time-based payload (SQL SLEEP()), observing response-timing differences to infer database contents character by character. A public proof-of-concept exists on GitHub, so exploitation requires little custom development. Because this is an administrative endpoint, realistic exploitation most likely presumes a valid or compromised admin session despite the network attack vector.

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

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

Alert me

AnalysisAIv1 – Oct 14, 2026

Time-based blind SQL injection in krishanmurariji Student Management System 1.0 lets an attacker who can reach the /studentms/admin/edit-class-detail.php administrative endpoint inject SQL through the editid GET parameter and infer database contents by measuring server response delays caused by SLEEP() payloads. Because the injection sits inside an admin module, successful exploitation can expose or corrupt administrative data and may lead to broader database compromise if the application database account is over-privileged. Publicly available exploit code exists (a GitHub proof-of-concept README), but there is no confirmed active exploitation (no CISA KEV listing) and the EPSS score is low at 0.28% (19th percentile), so real-world priority is currently low-to-moderate, tempered by the likely need for a valid or compromised admin session.

RemediationAI

No vendor-released patch identified at time of analysis, and no vendor advisory is present in the available references, so mitigation must be compensating until the maintainer ships a fix. The correct code-level fix is to stop building the query by string concatenation: cast editid to an integer and use parameterized/prepared statements (or an ORM) for the UPDATE/SELECT performed by edit-class-detail.php, which eliminates the SLEEP()-based inference channel entirely. Until then, restrict access to the /studentms/admin/ tree so only trusted networks or VPN-connected administrators can reach it, and enforce strong, unique admin credentials and session hygiene so a compromised low-privilege session cannot be reused against the endpoint - the trade-off is reduced administrative mobility for remote staff. Deploy WAF or reverse-proxy rules that reject SQL metacharacters and time-delay functions (SLEEP, BENCHMARK) in the editid parameter; this is a deflection rather than a fix and can be bypassed by encoding tricks, so it should be paired with access restrictions. Log and alert on repeated requests to edit-class-detail.php with abnormal response latencies or unusual editid values, since blind time-based exploitation generates many timed requests, giving detection opportunities during the lengthy extraction process.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is a PHP-based student management web application (CPE cpe:2.3:a:krishanmurariji:student_management_system:1.0), and the root cause is CWE-89, improper neutralization of special elements used in an SQL command. The editid GET parameter at /studentms/admin/edit-class-detail.php is concatenated into a SQL statement without parameterization or type enforcement, so attacker-supplied text becomes part of the executed query. The disclosed technique is time-based blind SQL injection: instead of reflecting data or errors, the payload injects MySQL'S SLEEP() function so that the server's response latency depends on the truth value of an injected predicate, allowing contents of the database to be inferred one bit at a time through many timed requests. This is inherently slower and noisier than union- or error-based extraction but requires no user interaction and no non-default configuration beyond deployment of the application. The supplied NVD-style vector claims PR:N while our assessed vector is PR:L because the '/admin/' path and 'administrative module' wording indicate an administrative session (valid or hijacked) is likely required to reach the vulnerable script; this authentication discrepancy should be verified against the source code and vendor.

Know when PHP 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 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 7.1 HIGH

Network-reachable injection with no user interaction, but the admin module implies an authenticated low-privilege session (PR:L); blind SQLi enables full database read (C:H) with limited write/integrity impact (I:L).

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

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionNVD

SQL injection vulnerability in krishanmuraiji SMS v.1.0, within the /studentms/admin/edit-class-detail.php via the editid GET parameter. An attacker can trigger controlled delays using SQL SLEEP() to infer database contents. Successful exploitation may lead to full database compromise, especially within an administrative module.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Rare
obscure single-author PHP student project, no enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.3%
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

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

Affected Products (CPE)NVD

cpe:2.3:a:krishanmurariji:student_management_system:1.0:*:*:*:*:*:*:*

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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