Online-School CVE-2025-12277
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed /studentLogin.php instance
-
DeliveryCraft SQL injection payload in Email field
-
ExploitSubmit malicious login request
-
ExecutionManipulate backend SQL query
-
ImpactBypass authentication or extract database 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 | The injection point is the Email parameter in the HTTP request submitted to /studentLogin.php. The CVSS 4.0 vector (PR:N/UI:N/AC:L/AT:N) confirms no authentication, no user interaction, no special attack preconditions, and low complexity are required. The student login page must be network-accessible to the attacker - no authenticated session or privileged role is needed. Limiting factors include: the application must be deployed and reachable from the attacker's network, and the niche/obscure nature of this specific GitHub-hosted open-source project means the total exposed population is likely small. No non-default configuration is required to trigger the vulnerability; the flaw exists in the default login flow. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) presents a technically trivial remote unauthenticated attack with no prerequisites beyond network access. However, the EPSS score of 0.03% (7th percentile) signals extremely low observed exploitation activity, consistent with this being a niche, obscure application with a small deployment footprint. The application is NOT listed in CISA KEV. A public exploit report does exist per the GitHub reference, elevating risk above a theoretical finding but not yet indicating active mass exploitation. The low CVSS 4.0 score of 5.5 with VC:L/VI:L/VA:L likely reflects limited per-exploitation impact under default database permission scoping, though the actual blast radius depends on the underlying database account's privileges - SQL injection on a login endpoint could enable full database enumeration or authentication bypass under permissive configurations. |
| Exploit ScenarioDerived | An attacker identifies an internet-exposed instance of Online-School and submits a crafted SQL payload (e.g., a malformed email value containing SQL metacharacters) to the /studentLogin.php login form. The injected query manipulates the backend SQL statement to bypass authentication or extract records from the database, potentially exposing student personally identifiable information, credentials, or administrative data. A public exploit report detailing the technique is available at the referenced GitHub repository, lowering the bar for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 25, 2026
SQL injection in Abdullah-Hasan-Sajjad's Online-School PHP application allows remote unauthenticated attackers to manipulate database queries through the Email parameter in the student login endpoint. All versions up to commit f09dda77b4c29aa083ff57f4b1eb991b98b68883 are affected, with a publicly available exploit report published via GitHub. The vendor was contacted prior to disclosure but did not respond, meaning no patch exists and the application remains unpatched.
RemediationAI
No vendor-released patch is identified at time of analysis - the vendor was contacted prior to disclosure but provided no response. Organizations running this application should immediately replace unsanitized direct string interpolation in the Email parameter handling within /studentLogin.php with parameterized queries or PDO prepared statements; this is the only definitive fix. As a compensating control, deploying a web application firewall (WAF) rule to block common SQL injection patterns (single quotes, SQL keywords such as OR/UNION/SELECT) in the login email field can reduce exploitation likelihood, though WAF bypass techniques exist and this is not a substitute for code-level remediation. If the login page is not required to be publicly accessible, restricting it to trusted IP ranges via server configuration is an effective mitigating control with the trade-off of restricting legitimate remote access. Given the vendor's non-response, migration to an actively maintained alternative should be considered for production deployments.
Affected ProductsAI
Abdullah-Hasan-Sajjad's Online-School PHP application is affected in all versions up to and including commit f09dda77b4c29aa083ff57f4b1eb991b98b68883. The project uses a rolling release strategy with no fixed version numbers, making commit hash the primary version identifier. No CPE string was provided in source data. No vendor advisory exists as the maintainer did not respond to disclosure. The exploit report is documented at https://github.com/DaoYunXinShang/Reports/blob/main/sql%20injection.doc and the VulDB disclosure is at https://vuldb.com/?id.329948.
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
Online-School is an open-source PHP-based school management application maintained by Abdullah-Hasan-Sajjad on GitHub, following a rolling release strategy with no fixed versioning. The vulnerability stems from CWE-74 (Injection), specifically SQL injection, where the Email parameter in /studentLogin.php is passed unsanitized to a backend database query. This indicates the absence of parameterized queries or prepared statements in the login logic - a foundational secure coding failure. No CPE string was provided in the source data; the affected scope is bounded by the referenced commit hash rather than a named version.
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
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
Network-accessible login page requires no authentication or user interaction; SQL injection yields limited low CIA impact bounded by database account permissions with no scope change.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A flaw has been found in Abdullah-Hasan-Sajjad Online-School up to f09dda77b4c29aa083ff57f4b1eb991b98b68883. This affects an unknown part of the file /studentLogin.php. This manipulation of the argument Email causes sql injection. The attack is possible to be carried out remotely. The exploit has been published and may be used. This product adopts a rolling release strategy to maintain continuous delivery The vendor was contacted early about this disclosure but did not respond in any way.
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB