code-projects Voting System CVE-2025-11508
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryAuthenticate to admin panel
-
ExploitNavigate to voters_add.php
-
ExecutionUpload malicious PHP file with image extension
-
PersistAccess uploaded file via HTTP
-
ImpactExecute arbitrary code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires valid high-privilege administrator credentials (PR:H) to access the /admin/voters_add.php endpoint. The file upload vulnerability is only reachable through the authenticated admin panel; unauthenticated attackers cannot trigger it. Additionally, successful post-upload remote code execution depends on the uploaded file being stored in a web-accessible directory and PHP execution being enabled in that directory - if files are stored outside webroot or execution is disabled, the impact is mitigated. The vulnerability is NOT exploitable against default, uncompromised deployments by external attackers without admin credentials. |
| Impact | Despite a CVSS score of 2.0 (low), this vulnerability carries elevated real-world risk within specific deployments due to conflicting signals. The CVSS vector shows AV:N (network-accessible) and AC:L (low attack complexity), indicating easy remote access, but PR:H (high privilege required) significantly constrains the threat. The impact scope is limited: VC:L/VI:L/VA:L (low confidentiality, integrity, and availability impact). EPSS score of 0.05% (16th percentile) confirms minimal overall exploitation probability across the internet. However, the availability of a public exploit (E:P in CVSS) means compromised admin accounts or insider threats could weaponize this quickly. The key limiting factor is the requirement for authenticated high-privilege access; this is not a vulnerability affecting unauthenticated users or standard-privilege accounts. Risk is concentrated in environments where admin accounts are compromised, shared, or used by untrusted administrators. Organizations running this voting system should prioritize this only if admin credential compromise is plausible in their threat model. |
| Exploit ScenarioDerived | An attacker with compromised or shared administrator credentials logs into the voting system admin panel, navigates to /admin/voters_add.php, and uploads a PHP shell with a .jpg extension (or bypasses extension checks via null-byte injection or MIME type spoofing). The shell is stored in a web-accessible directory, then the attacker accesses it directly via HTTP, achieving remote code execution with the privileges of the web server process. Publicly disclosed exploit code lowers the barrier to execution for actors with admin access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Unrestricted file upload in code-projects Voting System 1.0 allows authenticated high-privilege administrators to upload arbitrary files via the photo parameter in /admin/voters_add.php, potentially leading to remote code execution. The vulnerability requires high-privilege credentials (PR:H) to exploit and affects only administrative functions; publicly available exploit code exists but exploitation is limited to admin-authenticated attackers with access to the administrative interface.
RemediationAI
No vendor-released patch identified at time of analysis. Immediate remediation requires upgrading to a patched version if released by code-projects (verify at https://code-projects.org/). If no patched version is available, implement compensating controls: (1) Restrict direct file access to /admin/voters_add.php by validating and rejecting file uploads with non-image extensions (e.g., .php, .phtml, .exe); move uploaded files to a non-web-accessible directory outside the webroot, then serve via a download script that enforces appropriate MIME types. (2) Implement strict file type validation using whitelisting (allow only .jpg, .png, .gif) and verify file headers (magic bytes), not just extensions. (3) Disable PHP execution in upload directories via web server configuration (.htaccess for Apache: 'php_flag engine off' or IIS/nginx equivalents). (4) Restrict access to /admin/* paths via Web Application Firewall or network segmentation to only trusted admin IP ranges. (5) Enforce strong, unique admin credentials and implement MFA on admin login. Effectiveness: compensating controls significantly reduce exploitability but do not eliminate the underlying flaw; patching is required for complete resolution.
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 the PHP file /admin/voters_add.php, which processes file uploads through the photo parameter without proper validation or restriction on file types. CWE-284 (Improper Access Control) indicates the root cause is inadequate authorization checks on the file upload functionality. The affected product is a PHP-based voting application, and the vulnerability allows bypassing file type restrictions on the photo upload field. This is a classic unrestricted file upload flaw where the application fails to validate file extensions, MIME types, or content before storing uploaded files in a web-accessible directory.
Know when 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:H/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 vulnerability has been detected in code-projects Voting System 1.0. This affects an unknown function of the file /admin/voters_add.php. Such manipulation of the argument photo leads to unrestricted upload. The attack can be launched 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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)CVE.org
More in Voting System
View allA vulnerability, which was classified as critical, was found in code-projects Voting System 1.0. Rated high severity (CV
A vulnerability, which was classified as critical, has been found in code-projects Voting System 1.0. Rated high severit
Unrestricted file upload in code-projects Voting System 1.0 allows authenticated remote attackers to upload arbitrary fi
SQL injection vulnerability in code-projects Voting System 1.0 allows remote authenticated attackers to manipulate the I
SQL injection in Code-projects Voting System 1.0 allows remote authenticated attackers with low privileges to execute ar
Authenticated SQL injection in code-projects Voting System 1.0 allows a low-privileged attacker to manipulate the descri
SQL injection in code-projects Voting System 1.0 allows authenticated remote attackers to execute arbitrary SQL commands
SQL injection in code-projects Voting System 1.0 allows authenticated low-privilege attackers to manipulate the ID param
SQL injection in Voting System 1.0 allows remote attackers with low privileges to manipulate database queries via the fi
Stored cross-site scripting (XSS) in code-projects Voting System 1.0 allows remote attackers to inject malicious scripts
Stored cross-site scripting (XSS) in code-projects Voting System 1.0 allows authenticated users with low privileges to i
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB