Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-14706

CVE-2026-14706: Online Examination SQLi Vulnerability

CVE-2026-14706 is a SQL injection flaw in code-projects Online Examination 1.0 affecting the Quiz Creation Feature. Attackers can exploit multiple parameters remotely. This article covers technical details, impact, and mitigation.

Published:

CVE-2026-14706 Overview

CVE-2026-14706 is a SQL injection vulnerability in code-projects Online Examination 1.0. The flaw resides in the /update.php?q=addquiz endpoint, which is part of the Quiz Creation Feature. Attackers can manipulate the name, total, right, wrong, time, tag, and desc parameters to inject arbitrary SQL statements into backend queries.

The vulnerability is remotely exploitable and requires low-level authentication. A public proof-of-concept exists, which increases the likelihood of opportunistic exploitation against unpatched deployments. The weakness is classified under [CWE-74] (Improper Neutralization of Special Elements in Output Used by a Downstream Component).

Critical Impact

Remote SQL injection through multiple unsanitized parameters in the quiz creation endpoint enables data exfiltration, tampering, and potential database compromise.

Affected Products

  • code-projects Online Examination 1.0
  • Quiz Creation Feature (/update.php?q=addquiz)
  • Deployments exposing the application over network-accessible interfaces

Discovery Timeline

  • 2026-07-05 - CVE-2026-14706 published to NVD
  • 2026-07-06 - Last updated in NVD database

Technical Details for CVE-2026-14706

Vulnerability Analysis

The vulnerability affects the quiz creation workflow exposed through /update.php?q=addquiz. User-supplied values for name, total, right, wrong, time, tag, and desc are concatenated into SQL statements without parameterization or input sanitization. An authenticated attacker with minimal privileges can submit crafted payloads that alter query logic, retrieve arbitrary rows, or modify data in the underlying database.

The issue is categorized as [CWE-74], covering improper neutralization of special elements passed to downstream interpreters. Public proof-of-concept details are hosted on a GitHub repository, which lowers the technical barrier for exploitation.

Root Cause

The root cause is the direct inclusion of HTTP request parameters into SQL statements executed against the application's backend database. The addquiz handler does not use prepared statements or bind parameters, and it does not enforce type or content validation on the affected fields. Any string terminator or SQL metacharacter supplied by a caller is interpreted as part of the query.

Attack Vector

Exploitation requires network access to the application and low-privilege authentication to reach the quiz creation feature. An attacker submits a POST or GET request to /update.php?q=addquiz with a malicious payload in one of the vulnerable parameters, such as a UNION-based, boolean-based, or time-based SQL injection string. Successful injection allows reading, modifying, or deleting database records depending on the privileges of the database user backing the application.

Refer to the VulDB CVE-2026-14706 Advisory and the proof-of-concept notes for parameter-level payload examples.

Detection Methods for CVE-2026-14706

Indicators of Compromise

  • HTTP requests to /update.php?q=addquiz containing SQL metacharacters such as ', ", --, UNION, SELECT, or SLEEP( in the name, total, right, wrong, time, tag, or desc parameters.
  • Unexpected error responses from the application referencing MySQL or database syntax exceptions.
  • Anomalous database queries or spikes in query latency correlated with quiz creation activity.

Detection Strategies

  • Deploy web application firewall (WAF) rules that inspect requests to /update.php for common SQL injection signatures across the seven affected parameters.
  • Enable database query logging and alert on queries originating from the application that contain stacked statements, UNION SELECT, or benchmark functions.
  • Perform authenticated dynamic application security testing (DAST) against the quiz creation feature to confirm exposure before production deployment.

Monitoring Recommendations

  • Correlate authentication events with subsequent addquiz requests to identify low-privilege accounts probing the endpoint.
  • Monitor outbound database connections and result set sizes for exfiltration patterns following requests to /update.php.
  • Retain application and database access logs for at least 90 days to support post-incident forensic review.

How to Mitigate CVE-2026-14706

Immediate Actions Required

  • Restrict network access to the Online Examination 1.0 application until sanitizing controls are in place, using IP allowlists or VPN gating.
  • Rotate credentials for any administrative or instructor accounts that could reach the quiz creation feature.
  • Review database audit logs for evidence of prior exploitation, focusing on anomalous quiz record insertions or schema reads.

Patch Information

No vendor patch has been published in the referenced advisories at the time of writing. Monitor the Code Projects Resource Hub and the VulDB Vulnerability #376302 entry for updates. Until an official fix is released, apply compensating controls at the application and infrastructure layers.

Workarounds

  • Introduce parameterized queries or prepared statements in the addquiz handler for every affected parameter, replacing string concatenation with bound variables.
  • Apply server-side input validation that enforces expected types, for example numeric-only for total, right, wrong, and time, and length-limited strings for name, tag, and desc.
  • Deploy a WAF ruleset in blocking mode covering SQL injection payloads targeted at /update.php?q=addquiz.
  • Run the application database account with least-privilege permissions, revoking FILE, DROP, and cross-database access rights.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.