Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing /authentication.php
-
DeliverySubmit SQL payload in adminUserName field
-
ExploitAuthentication query returns true condition
-
ExecutionGain unauthenticated admin access
-
ImpactExtract or tamper with voter database
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 beyond network access to the login page. The attack targets the default authentication flow at |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms fully unauthenticated, low-complexity remote exploitation with no user interaction - a worst-case access profile. However, the published impact metrics (VC:L/VI:L/VA:L) appear to significantly underestimate the actual impact of a SQL injection on a login endpoint: authentication bypass and full database read/write are realistic outcomes that align with High confidentiality and integrity impact, not Low. This discrepancy between the CVSS access metrics and the reported impact ratings should be noted by security teams and the official score should be treated with caution. The E:P modifier in the CVSS 4.0 vector confirms a public proof-of-concept exists, corroborated by the GitHub gist reference. There is no CISA KEV listing, suggesting no confirmed widespread active exploitation at time of analysis, which is consistent with the product's limited production footprint. EPSS data was not provided; given the niche nature of this product, mass exploitation is unlikely, though targeted attacks against any deployed instances are trivially executable given the public PoC. |
| Exploit ScenarioDerived | An attacker identifies an internet-accessible instance of Online Voting System by searching for the path |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 04, 2026
Unauthenticated SQL injection in code-projects Online Voting System 0.x-1.0 exposes the admin login endpoint to full authentication bypass and database extraction. The vulnerability resides in the test_input function within /authentication.php, where the adminUserName and adminPassword parameters are passed unsanitized into SQL queries, enabling classic injection attacks against the login form. A public proof-of-concept exploit has been published on GitHub; no vendor patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis. The authoritative source for this vulnerability is VulDB (https://vuldb.com/vuln/376161), and no fix commit or patched release is referenced in available data. Organizations running this application should immediately replace the unsanitized string interpolation in test_input within /authentication.php with PHP PDO or MySQLi prepared statements, which fully neutralize SQL injection regardless of input content. As an interim compensating control, deploying a web application firewall rule to block common SQL injection patterns (e.g., OWASP ModSecurity Core Rule Set) on the /authentication.php endpoint can reduce risk but is not a substitute for a code fix, as WAF rules can be bypassed. If the application is not required to be internet-facing, restricting access to /authentication.php by source IP at the network or web server level eliminates remote exploitation. Given the product's origin as a demonstration/academic project, organizations should evaluate whether this application should be deployed in any production context.
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 component is a PHP-based web application built by code-projects.org (CPE: cpe:2.3:a:code-projects:online_voting_system:*:*:*:*:*:*:*:*). The test_input function in /authentication.php is responsible for preprocessing login credentials but fails to sanitize or parameterize user-supplied input before constructing SQL queries. This is a textbook CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) flaw: without prepared statements or proper escaping, an attacker-controlled string such as ' OR '1'='1 in the username or password field alters the query's logical structure, bypassing the authentication check entirely or causing the database to return arbitrary result sets. The attack surface is the internet-facing login page, requiring no prior authentication or application knowledge.
Know when Online Voting System 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
Unauthenticated network login endpoint yields full DB read (C:H) and auth bypass/write (I:H); minor availability risk from query manipulation warrants A:L.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A security vulnerability has been detected in code-projects Online Voting System up to 0.x/1.0. This issue affects the function test_input of the file /authentication.php of the component Login. Such manipulation of the argument adminUserName/adminPassword leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may 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.
More in Online Voting System
View allSQL injection vulnerability in janobe Online Voting System v.1.0 allows a remote attacker to execute arbitrary code via
Projectworld Online Voting System Version 1.0 is vulnerable to Cross Site Request Forgery (CSRF) via voter.php. Rated me
Online Birth Certificate System Project V 1.0 is affected by cross-site scripting (XSS). Rated medium severity (CVSS 6.1
SQL injection in SourceCodester Online Voting System 1.0 allows unauthenticated remote attackers to read and manipulate
Unauthenticated SQL injection in SourceCodester Online Voting System 1.0 exposes the login endpoint `/ajax.php?action=lo
Unauthenticated SQL injection in SourceCodester Online Voting System 1.0 allows remote attackers to manipulate database
Unauthenticated SQL injection in SourceCodester Online Voting System 1.0 exposes the `/ajax.php?action=delete_voting` en
SQL injection in SourceCodester Online Voting System 1.0 exposes the /ajax.php?action=save_user endpoint to unauthentica
A vulnerability was identified in itsourcecode Online Voting System 1.0. Rated medium severity (CVSS 6.9), this vulnerab
A weakness has been identified in itsourcecode Online Voting System 1.0. Rated medium severity (CVSS 5.3), this vulnerab
A vulnerability was detected in itsourcecode Online Voting System 1.0. Rated medium severity (CVSS 5.3), this vulnerabil
A security flaw has been discovered in itsourcecode Online Voting System 1.0. Rated medium severity (CVSS 5.3), this vul
EUVD-2026-41692
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB