vendor:
Online Voting System
by:
Salman Asad (LeoBreaker)
9,8
CVSS
HIGH
Remote Code Execution
78
CWE
Product Name: Online Voting System
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: a:sourcecodester:online_voting_system:1.0
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Ubuntu 20.04
2021
Online Voting System 1.0 – Remote Code Execution (Authenticated)
An authenticated remote code execution vulnerability exists in Online Voting System 1.0. By sending a specially crafted HTTP POST request, an attacker can inject malicious PHP code into the 'image' parameter of the 'save_candidate.php' script. This code will be uploaded to the server and can be executed by accessing the uploaded file with a GET request containing a 'cmd' parameter.
Mitigation:
Restrict access to the 'save_candidate.php' script and ensure that only authorized users can access it.