Skip to main content

code-projects Voting System CVE-2025-8174

LOW
Improper Access Control (CWE-284)
2025-07-26 cna@vuldb.com
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin credentials
  2. Delivery
    Access /admin/candidates_add.php
  3. Exploit
    Upload malicious PHP file via photo parameter
  4. Execution
    Execute uploaded file via HTTP request
  5. Impact
    Achieve remote code execution

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 administrative credentials to access the /admin/candidates_add.php endpoint - unauthenticated attackers cannot reach the vulnerable function. The attack assumes the web server processes uploaded files as executable code (PHP execution in the upload directory is enabled), which is a deployment-specific condition. Additionally, the attack succeeds only if file type validation is absent or bypassable (e.g., accepting .php files or MIME type spoofing). The vulnerability does NOT require user interaction, special network configuration, or non-default settings beyond the deployment of the voting system itself. If the application enforces strict file type validation, stores uploads outside the web root, or disables script execution in the upload directory, exploitation is prevented. The CVSS PR:L requirement means unauthenticated remote code execution is NOT possible; credential compromise or insider access is prerequisite.

Impact

The risk profile is paradoxical: the CVE is classified as critical in its description, yet the CVSS 2.1 score and 0.06% EPSS percentile (20th percentile, indicating very low exploitation probability) suggest minimal real-world risk. Analysis reconciles these signals: CVSS vector shows AV:N (network accessible) but PR:L (requires authenticated login), AC:L (low complexity), and VC/VI/VA:L (low confidentiality/integrity/availability impact), indicating the vulnerability is not immediately dangerous despite network accessibility. EPSS at 0.06% reflects that exploitation requires valid admin credentials, is not automatable at scale, and has limited technical impact (file upload without confirmed RCE path). The public exploit availability (E:P) indicates disclosure but not active widespread exploitation. This is a real security issue for organizations using this voting system where administrative accounts are compromised or malicious insiders exist, but does not warrant emergency patching for most deployments. Real risk depends on: (1) whether uploaded files can be executed by the web server, (2) strength of access controls to the /admin directory, and (3) deployment context (internet-facing vs. internal).

Exploit ScenarioDerived

An authenticated administrator with a compromised password, or a malicious insider with valid admin credentials, navigates to /admin/candidates_add.php and uploads a PHP webshell disguised as an image (e.g., shell.php.jpg or a polyglot file) via the photo parameter. If the upload directory is web-accessible and execution is enabled, the attacker accesses the uploaded file via HTTP to trigger remote code execution, gaining server-level control. The public exploit code available on GitHub likely automates this process.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

Unrestricted file upload in code-projects Voting System 1.0 allows authenticated remote attackers to upload arbitrary files via the photo parameter in /admin/candidates_add.php, potentially enabling remote code execution. The vulnerability requires valid administrative credentials and has been publicly disclosed with exploit code available, though real-world exploitation risk is minimal given the CVSS 2.1 score and 0.06% EPSS percentile reflecting low automatable impact and authentication barriers.

RemediationAI

No vendor-released patch is identified in available sources. Immediate mitigations include: (1) Implement strict file type validation on the server side by checking both file extension AND MIME type (not just client-side), rejecting anything except valid image formats (JPEG, PNG, GIF); (2) Store uploaded files outside the web root or in a directory with execution disabled (e.g., Apache .htaccess with 'php_flag engine off' or nginx location block denying script execution); (3) Enforce access controls ensuring only authorized administrators can access /admin/candidates_add.php, via IP whitelisting, additional authentication factors, or WAF rules; (4) Rename uploaded files to remove original names and assign random identifiers to prevent direct access; (5) Consider upgrading to a maintained voting system if available, or request security patches from code-projects.org (https://code-projects.org/). For organizations unable to patch, disable the candidates_add functionality entirely if not actively used, and monitor file uploads for suspicious activity.

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 is a classic unrestricted file upload flaw (CWE-284: Improper Access Control) in a PHP-based voting application. The affected endpoint /admin/candidates_add.php fails to properly validate or restrict file types accepted in the photo parameter, allowing authenticated users with admin-level access to upload arbitrary file types. The vulnerability is rooted in inadequate input validation and file type verification, combined with improper access controls that may permit authenticated users to manipulate administrative functions. The underlying technology stack is PHP running on a web server handling form submissions that process image uploads without sufficient content-type or extension validation.

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

NVD PRIMARY 2.1 LOW
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 NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was found in code-projects Voting System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /admin/candidates_add.php. The manipulation of the argument photo leads to unrestricted upload. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:fabian:voting_system:1.0:*:*:*:*:*:*:*
CVE-2023-7129 HIGH POC
8.8 Dec 28

A vulnerability, which was classified as critical, was found in code-projects Voting System 1.0. Rated high severity (CV

CVE-2023-7128 HIGH POC
8.8 Dec 28

A vulnerability, which was classified as critical, has been found in code-projects Voting System 1.0. Rated high severit

CVE-2025-7581 LOW POC
2.1 Jul 14

SQL injection vulnerability in code-projects Voting System 1.0 allows remote authenticated attackers to manipulate the I

CVE-2025-7580 LOW POC
2.1 Jul 14

SQL injection in Code-projects Voting System 1.0 allows remote authenticated attackers with low privileges to execute ar

CVE-2025-7558 LOW POC
2.1 Jul 14

Authenticated SQL injection in code-projects Voting System 1.0 allows a low-privileged attacker to manipulate the descri

CVE-2025-7557 LOW POC
2.1 Jul 14

SQL injection in code-projects Voting System 1.0 allows authenticated remote attackers to execute arbitrary SQL commands

CVE-2025-7556 LOW POC
2.1 Jul 14

SQL injection in code-projects Voting System 1.0 allows authenticated low-privilege attackers to manipulate the ID param

CVE-2025-7555 LOW POC
2.1 Jul 14

SQL injection in Voting System 1.0 allows remote attackers with low privileges to manipulate database queries via the fi

CVE-2025-11512 LOW POC
2.1 Oct 09

Stored cross-site scripting (XSS) in code-projects Voting System 1.0 allows remote attackers to inject malicious scripts

CVE-2025-11508 LOW POC
2.0 Oct 08

Unrestricted file upload in code-projects Voting System 1.0 allows authenticated high-privilege administrators to upload

CVE-2025-11421 LOW POC
2.0 Oct 08

Stored cross-site scripting (XSS) in code-projects Voting System 1.0 allows authenticated users with low privileges to i

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy