Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP POST to /ajax.php?action=login
-
DeliveryInject SQL payload in Username field
-
ExploitBypass authentication logic
-
ExecutionAccess admin panel
-
ImpactExtract or modify voter/ballot 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 | No special conditions are required. The vulnerable endpoint |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms network-exploitable, zero-prerequisite access - no authentication, no user interaction, no special configuration required. The E:P supplemental metric acknowledges the public exploit code on GitHub, meaningfully compressing the time-to-exploit for even low-skilled attackers. The base impact scores (VC:L/VI:L/VA:L) are conservative for a login-endpoint SQLi: in practice, authentication bypass via always-true injection clauses or UNION-based data extraction can yield full database access, which the CVSS 4.0 low impact scores likely understate. No CISA KEV listing was found, and no EPSS score was provided in the input data, so widespread active exploitation cannot be confirmed - but the public PoC means even a mid-sized municipal IT team in legnica should treat this as urgent if running this software. The primary limiting factor on broader impact is the obscurity and niche deployment footprint of SourceCodester projects, which are predominantly student-facing or demo environments rather than production civic infrastructure. |
| Exploit ScenarioDerived | An attacker sends an HTTP POST request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 06, 2026
Unauthenticated SQL injection in SourceCodester Online Voting System 1.0 exposes the login endpoint /ajax.php?action=login to database manipulation via an unsanitized Username parameter. A remote attacker with no credentials can craft malicious SQL input to bypass authentication, extract database contents, or alter voting records. A public proof-of-concept exploit has been disclosed on GitHub (CVE exploit issue #1), elevating practical risk above the moderate CVSS 4.0 score of 6.9.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary fix is to replace dynamic SQL string concatenation in /ajax.php with parameterized queries or PDO prepared statements with bound parameters, which eliminates the injection surface entirely. As an immediate compensating control, restrict access to the voting application to trusted network segments or authenticated VPN users, reducing the AV:N exposure. Deploying a WAF rule to block common SQL injection patterns (single quotes, comment sequences, UNION keywords) in the Username field can reduce automated exploitation, though WAF bypass is straightforward for skilled attackers. Input-length limiting and allowlist validation (e.g., alphanumeric usernames only) are lightweight controls. Operators who cannot patch immediately should treat the application as untrusted and avoid storing sensitive data in its database.
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 web voting application distributed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:online_voting_system:*:*:*:*:*:*:*:*). The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), where user-supplied input via the Username POST parameter in the login handler is concatenated directly into an SQL query without parameterization or sufficient sanitization. This class of vulnerability is trivially exploitable in PHP applications that rely on dynamic query construction instead of prepared statements or PDO with bound parameters.
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; low C/I for bounded DB read/write; no availability impact from standard SQLi.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined in SourceCodester Online Voting System 1.0. This affects an unknown function of the file /ajax.php?action=login. Executing a manipulation of the argument Username can lead to sql injection. The attack can be executed 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.
Related Vulnerabilities in SourceCodester Online Voting System SQL Injection
View all 4More 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
Unauthenticated SQL injection in code-projects Online Voting System 0.x-1.0 exposes the admin login endpoint to full aut
SQL injection in SourceCodester Online Voting System 1.0 allows unauthenticated remote attackers to read and manipulate
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-72046
GHSA-5rhw-6rxg-24j3
NVD
CVE.org
EPSS
VulDB
Exploit-DB