Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing Online Examination instance
-
DeliverySend crafted HTTP request to head.php with SQL payload in uname/password
-
ExploitInjected SQL alters authentication query
-
ExecutionBypass login or dump database credentials
-
ImpactAccess application as administrator
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 | No special conditions are required for exploitation - the vulnerability exists in the login form (head.php) of the default application, accessible to any unauthenticated remote user over the network. The CVSS 4.0 vector confirms AV:N/AC:L/AT:N/PR:N/UI:N, meaning no prior authentication, no elevated privileges, no special configuration, and no user interaction is needed. Exploitation is limited only by whether the application is deployed and network-accessible; the vulnerable parameters (uname and password) are standard inputs on the login page. The sole limiting factor is the niche deployment footprint of this specific educational PHP project - it is not enterprise software, so internet-facing deployments are relatively uncommon. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N with E:P) reflects a remotely exploitable, low-complexity flaw requiring no privileges or user interaction, with a publicly available exploit. The vendor-assigned impact metrics VC:L/VI:L/VA:L appear conservative for SQL injection in a login form - authentication bypass and full database read are realistic outcomes that would typically warrant higher confidentiality impact. No EPSS score was provided; however, the combination of PR:N, AC:L, and a public PoC on GitHub places this in a category of opportunistic, low-barrier exploitation. The product is not in the CISA KEV catalog, and given its niche deployment footprint (educational/demo PHP projects), mass exploitation at enterprise scale is unlikely. Real-world risk is primarily to development, academic, or small organizations that have deployed this application in production, which is inadvisable for any internet-facing system. The public PoC lowers the exploitation bar significantly. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP POST or GET request to head.php with a SQL injection payload in the uname parameter (e.g., ' OR '1'='1) against an internet-facing instance. The injected SQL modifies the authentication query logic, returning a valid session or dumping credential records from the database. A public PoC on GitHub documents the exact injection syntax, reducing exploitation to a copy-paste operation requiring no specialized skill. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
SQL injection in code-projects Online Examination 1.0 exposes the login endpoint to unauthenticated remote attackers via the uname and password parameters in head.php. Manipulation of either parameter enables classic SQL injection, allowing database enumeration, authentication bypass, and potential data manipulation against any deployed instance. A public proof-of-concept exploit is available on GitHub (no public exploit identified as KEV), making weaponization trivial for low-skill attackers targeting this application.
RemediationAI
No vendor-released patch has been identified at time of analysis for code-projects Online Examination 1.0 - the wildcard CPE and absence of a vendor advisory confirm no fixed version is available. The primary remediation is to decommission or replace this application entirely, as code-projects software is distributed as educational/demo code not intended for production deployment. If continued operation is required, developers must refactor head.php to use PHP PDO or MySQLi prepared statements with parameterized queries for the uname and password inputs, eliminating the injection surface. As a compensating control, deploying a Web Application Firewall (WAF) with SQL injection detection rules in front of the application can reduce exploitation success but does not eliminate the root cause and may be bypassed with encoding techniques. Restricting access to the login endpoint (head.php) to trusted IP ranges via server-level ACLs (Apache .htaccess or nginx allow/deny directives) meaningfully limits attack surface at the cost of access flexibility. The exploit PoC is documented at https://github.com/zzzxc643/CVE1/blob/main/project1/vul1.md and the VulDB advisory is at https://vuldb.com/vuln/376301.
Affected VersionsENISA
Affected Packages
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 online examination web application distributed by code-projects.org, identified by CPE cpe:2.3:a:code-projects:online_examination:*:*:*:*:*:*:*:*. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), a classic SQL injection arising from unsanitized user-supplied input in the uname and password fields being concatenated directly into SQL queries within head.php - a file that handles authentication logic. The absence of parameterized queries or prepared statements in the PHP code path allows an attacker to inject arbitrary SQL syntax, manipulating the query structure at the database layer. The wildcard CPE (* for version) suggests all distributed versions of this application are affected.
Know when Online Examination 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
Login-form SQL injection requires no credentials (PR:N, AV:N); full database read is realistic (C:H), while write and availability impacts are limited.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was determined in code-projects Online Examination 1.0. Affected by this issue is some unknown functionality of the file head.php. Executing a manipulation of the argument uname/password can lead to sql injection. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized.
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.
EUVD-2026-41726
GHSA-rcfx-cxxj-hrf2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB