Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege application credentials
-
DeliveryAuthenticate to Online Examination instance
-
ExploitCraft SQL payload in quiz parameters
-
ExecutionSubmit POST request to /update.php?q=addquiz
-
PersistSQL executes in database context
-
ImpactExtract or modify database records
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 requires the attacker to hold a valid authenticated session on the Online Examination application with at least low-privilege access (sufficient to reach the Quiz Creation Feature at /update.php?q=addquiz). The CVSS 4.0 vector confirms PR:L, meaning unauthenticated exploitation is not possible - the attacker must possess credentials. The application must be network-accessible (AV:N). No special server-side configuration beyond a default deployment is required once authentication is satisfied. Exploitation is limited by: (1) mandatory authentication - unauthenticated attackers cannot reach the vulnerable endpoint; (2) minimal real-world deployment - the application is primarily a student demo project; (3) impact bounded to VC:L/VI:L/VA:L per CVSS 4.0, indicating partial rather than full database compromise under typical conditions. |
| Impact | The CVSS 4.0 vector scores 2.1 (Low) with AV:N/AC:L/AT:N/PR:L/UI:N and impact metrics VC:L/VI:L/VA:L, reflecting that exploitation requires low-privilege authentication and yields only partial data access. The E:P modifier confirms publicly available exploit code, which elevates the practical exploitability over the base score alone. No KEV listing means active exploitation against real deployments has not been confirmed by CISA. EPSS data is not provided. The most significant risk limiter here is the product itself: code-projects.org applications are primarily student/demo projects with negligible enterprise deployment, so exposure in production internet-facing environments is extremely narrow. The combination of a public PoC and easy exploitation technique (SQLi in multiple parameters) means any instance that is deployed and accessible does face meaningful risk, but the addressable attack surface is small. |
| Exploit ScenarioDerived | An attacker with a low-privilege account on an Online Examination instance - such as a student or registered user - submits a crafted quiz creation request to /update.php?q=addquiz with SQL injection payloads embedded in the name, tag, or desc parameters. Because inputs are unsanitized, the injected SQL modifies or reads from database tables, potentially extracting user credentials, grade data, or other stored information. A public PoC at https://github.com/zzzxc643/CVE1/blob/main/project1/vul3.md documents the technique, lowering the bar for exploitation to script-kiddie level. |
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 allows authenticated remote attackers to manipulate database queries through multiple unsanitized parameters in the Quiz Creation Feature. The endpoint /update.php?q=addquiz accepts user-supplied input for the name, total, right, wrong, time, tag, and desc arguments without adequate sanitization, enabling read and write access to the underlying database. A public proof-of-concept exploit exists on GitHub, though the application's extremely limited deployment footprint constrains real-world impact.
RemediationAI
No vendor-released patch has been identified at time of analysis - there is no known fixed version from code-projects.org. The primary fix is to replace dynamic SQL string concatenation with parameterized queries or prepared statements (e.g., PHP PDO or MySQLi prepared statements) for all affected parameters in /update.php. As an immediate compensating control, organizations running this application should restrict access to the quiz creation endpoint to trusted administrative users only via web server ACLs or application-layer authentication enforcement, reducing exposure from any low-privilege authenticated user to administrators only. Deploying a web application firewall with SQLi detection rules (e.g., ModSecurity with the OWASP Core Rule Set) can block common injection payloads but is not a substitute for code-level remediation. If the application is not actively needed, decommissioning or taking it offline eliminates risk entirely. References: VulDB disclosure at https://vuldb.com/vuln/376302 and PoC at https://github.com/zzzxc643/CVE1/blob/main/project1/vul3.md.
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 application is a PHP-based online examination system distributed by code-projects.org, identified via CPE cpe:2.3:a:code-projects:online_examination:*:*:*:*:*:*:*:*. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) describes the root cause: user-controlled input is concatenated directly into SQL query strings without parameterized queries or prepared statements. The vulnerable endpoint /update.php?q=addquiz processes quiz creation/update operations and passes at least seven distinct parameters - name, total, right, wrong, time, tag, and desc - into database queries unsafely. This is a classic PHP-era SQLi pattern where dynamic query construction with unescaped user input enables manipulation of query logic.
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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable endpoint requires low-privilege authentication (PR:L); no scope change; partial C/I/A impact consistent with SQLi bounded to application database.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was identified in code-projects Online Examination 1.0. This affects an unknown part of the file /update.php?q=addquiz of the component Quiz Creation Feature. The manipulation of the argument name/total/right/wrong/time/tag/desc leads to sql injection. The attack can be initiated remotely. The exploit is publicly available and might be used.
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-41727
GHSA-r5pv-rmw5-4xxw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB