Automated Voting System
CVE-2025-12238
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to admin panel
-
DeliveryNavigate to /admin/user.php
-
ExploitInject SQL metacharacters into Username field
-
InstallSubmit form with crafted payload
-
C2Database executes unvalidated query
-
ExecuteAttacker reads or modifies database records
-
ImpactVoting data compromised
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | CRITICAL PREREQUISITES: Attacker must possess valid authentication credentials for the Automated Voting System admin interface (PR:L in CVSS vector). The attack targets the Username input field in /admin/user.php specifically. No special system configuration is required beyond a standard PHP installation with database backend. Default configurations are vulnerable. LIMITING FACTORS: The vulnerability is strictly limited to authenticated users - remote unauthenticated attackers cannot access /admin/user.php without first obtaining valid admin credentials. The impact scope is non-stretched (SC:N), meaning the attacker gains only the privileges of the authenticated admin account, not system-level access. Database permissions and the voting system's role-based access controls will limit what data can be extracted or modified. This substantially reduces practical risk compared to network-level SQL injection vulnerabilities. |
| Impact | This vulnerability presents a significant mismatch between technical severity metrics and real-world exploitation likelihood. The CVSS 4.0 vector indicates low impact (VC:L/VI:L/VA:L) with only login-required access (PR:L), resulting in a CVSS 2.1 score. The EPSS score of 0.03% (8th percentile) reflects minimal exploitation probability in the wild, despite public exploit code availability. The contradiction between 'publicly available' exploit status and extremely low EPSS suggests the exploit is a proof-of-concept or demonstration code rather than evidence of active widespread exploitation. The E:P vector rating (exploitation unproven) further indicates no confirmed active exploitation. Risk assessment: This is a low-priority vulnerability appropriate for standard patch cycles rather than emergency response. The authentication requirement and limited impact scope mean only authenticated admin accounts can exploit this, and damage is confined to database confidentiality and integrity at a restricted scope. Organizations using this voting system should prioritize patching, but there is no urgency suggesting threat actor campaign or zero-day activity. |
| Exploit ScenarioDerived | An authenticated administrator with valid login credentials accesses the /admin/user.php page and injects SQL metacharacters (such as single quotes or UNION statements) into the Username parameter field. The application constructs and executes an SQL query without proper sanitization, allowing the attacker to extract sensitive data from the database or modify database contents. Publicly available exploit code demonstrates this technique, but requires prior authentication, limiting impact to insider threats or compromise of legitimate admin accounts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in code-projects Automated Voting System 1.0 allows authenticated remote attackers to manipulate the Username parameter in /admin/user.php, enabling unauthorized database queries with limited confidentiality and integrity impact. The vulnerability requires valid login credentials (PR:L) and has publicly available exploit code, though real-world exploitation risk is minimal given the CVSS 2.1 score and 0.03% EPSS percentile.
RemediationAI
Contact code-projects or Fabian (vendor) to request a security patch for version 1.0, as no vendor-released patch version is currently documented. In the interim, implement immediate compensating controls: restrict /admin/user.php access to a whitelist of trusted internal IP addresses using firewall rules or web application firewall (WAF) rules, and disable direct HTTP/HTTPS access to the /admin directory from untrusted networks. Additionally, implement input validation on the Username parameter by enforcing strict character allowlists (alphanumeric plus underscore only) at the application layer before any database query. Review and enable SQL query logging to detect exploitation attempts. These controls limit network exposure while maintaining functionality for legitimate administrators on trusted networks, though they do not replace a proper code fix. A permanent solution requires vendor patching or application code review to implement parameterized queries (prepared statements) for all database interactions.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in a PHP-based web application file (/admin/user.php) that fails to properly sanitize user input for the Username parameter before using it in SQL queries. This represents a classic CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) vulnerability, where unsanitized input flows directly into SQL construction without parameterized queries or proper escaping. The affected product is code-projects Automated Voting System version 1.0, as identified by CPE cpe:2.3:a:fabian:automated_voting_system:1.0. The vulnerability is network-accessible but requires prior authentication, limiting the attack surface to users with valid admin credentials.
Know when Automated 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security flaw has been discovered in code-projects Automated Voting System 1.0. The affected element is an unknown function of the file /admin/user.php. Performing manipulation of the argument Username results in sql injection. The attack is possible to be carried out remotely. The exploit has been released to the public and may be exploited.
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.
Affected Products (CPE)CVE.org
More in Automated Voting System
View allA vulnerability classified as critical was found in code-projects Automated Voting System 1.0. Rated critical severity (
A vulnerability classified as critical has been found in code-projects Automated Voting System 1.0. Rated high severity
A security vulnerability in A vulnerability classified as problematic (CVSS 5.3). Risk factors: public PoC available.
SQL injection in Automated Voting System 1.0 allows authenticated remote attackers to manipulate the firstname parameter
SQL injection in Automated Voting System 1.0 allows high-privileged remote attackers to manipulate the Password paramete
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB