vendor:
MPC Sharj
by:
SajjadBnd
7.5
CVSS
HIGH
Arbitrary File Download
434
CWE
Product Name: MPC Sharj
Affected Version From: 3.11.1 Beta
Affected Version To: 3.11.1 Beta
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Ubuntu 19.10
2020
MPC Sharj 3.11.1 – Arbitrary File Download
MPC Sharj is a free open source script for creating sim card credit card's shop. The vulnerability exists in the download.php file, where the parameter 'id' is vulnerable to an arbitrary file download attack. An attacker can craft a malicious payload by converting the file to be read into base64, then reversing the base64 string, and finally passing it as a parameter to the download.php file.
Mitigation:
Ensure that user input is properly sanitized and validated before being used in file operations.