Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Online Voting System instance
-
DeliverySend unauthenticated POST to /voting/ajax.php?action=save_category
-
ExploitInject SQL payload via Category parameter
-
ExecutionExecute arbitrary queries in application database
-
ImpactExtract voter records, credentials, or ballot data
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 vulnerable endpoint /voting/ajax.php?action=save_category is exposed to unauthenticated remote HTTP requests in a default deployment of SourceCodester Online Voting System 1.0. The CVSS 4.0 vector (PR:N, UI:N, AC:L, AT:N) confirms there are no authentication, interaction, or complexity prerequisites. What limits real-world exposure is the narrow deployment footprint: this is a demo/academic application primarily used in student coursework and small-scale educational or proof-of-concept settings, not a commercial product deployed at scale. Network-level reachability to the PHP web server hosting the application is the only practical prerequisite. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms unauthenticated network-accessible exploitation with zero attack complexity, which is the highest possible accessibility for any vulnerability. However, the provided CVSS 4.0 base score of 5.5 reflects VC:L/VI:L/VA:L impact metrics, which appears to understate a typical SQL injection outcome - a successful injection against an unprotected database generally yields full confidentiality and integrity compromise, not merely partial impact; this discrepancy should be flagged for review by any team relying on these metrics. A public proof-of-concept is available on GitHub, which dramatically lowers the exploitation barrier and makes automated scanning attacks plausible. No EPSS data was provided, but the combination of PR:N, AC:L, and public PoC code is consistent with a high exploitation probability profile. CISA KEV listing is absent, meaning confirmed active exploitation has not been recorded, though that is not a reliable safety signal for a trivially exploitable class. Even a mid-sized municipal IT team in swidnica operating this system for a local election should treat this as urgent given the sensitivity of voting data and the credibility of the public exploit. |
| Exploit ScenarioDerived | An unauthenticated attacker sends an HTTP POST request to /voting/ajax.php?action=save_category with a SQL payload embedded in the Category parameter, such as a UNION SELECT statement or a time-based blind injection string. The unsanitized input executes within the application's database context, allowing extraction of all records including voter credentials and ballot data. A public proof-of-concept on GitHub demonstrates this technique, making exploitation accessible to low-skilled attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
SQL injection in SourceCodester Online Voting System 1.0 allows unauthenticated remote attackers to read and manipulate the application database through the /voting/ajax.php?action=save_category endpoint. The Category parameter is passed directly into a backend SQL query without sanitization or parameterization, enabling classic error-based or UNION-based injection. A public proof-of-concept exploit is available on GitHub, making opportunistic exploitation trivially reproducible with no authentication required.
RemediationAI
No vendor-released patch has been identified at time of analysis; SourceCodester has not published an advisory or fix for this vulnerability. As an immediate compensating control, restrict access to /voting/ajax.php at the web server layer (via Apache .htaccess Deny or nginx location-block restrictions) to trusted IP ranges only, preventing unauthenticated public access to the AJAX endpoint. The correct long-term developer fix is to replace direct SQL string concatenation with PDO or MySQLi prepared statements and parameterized queries in the save_category handler. Given that SourceCodester applications are demo-quality academic projects without active maintenance cycles, the strongest recommendation is to decommission and replace any production deployment of this application. References: https://vuldb.com/vuln/399452 and https://github.com/W5M1n9/cve/issues/2.
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, a platform publishing academic and demo-grade web applications. The vulnerability is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The AJAX handler at /voting/ajax.php processes a save_category action that directly interpolates the user-supplied Category parameter into a SQL query without prepared statements, bound parameters, or input escaping. The CPE string cpe:2.3:a:sourcecodester:online_voting_system:*:*:*:*:*:*:*:* covers all versions, with version 1.0 explicitly documented as vulnerable. The backend is presumed to be MySQL given SourceCodester's standard PHP/MySQL stack for this class of application.
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 SQL injection with public PoC yields full database read/write (C:H/I:H); availability impact is secondary and assessed Low.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in SourceCodester Online Voting System 1.0. This affects an unknown function of the file /voting/ajax.php?action=save_category. This manipulation of the argument Category causes sql injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks.
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
Unauthenticated SQL injection in code-projects Online Voting System 0.x-1.0 exposes the admin login endpoint to full aut
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-72318
GHSA-c38j-7h5f-xrr4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB