vendor:
SimplePHPGal
by:
h4shur
7.5
CVSS
HIGH
Remote File Inclusion
98
CWE
Product Name: SimplePHPGal
Affected Version From: 0.7
Affected Version To: 0.7
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested: Windows 10 & Google Chrome
2020
SimplePHPGal 0.7 – Remote File Inclusion
Remote File Inclusion (RFI) bug in SimplePHPGal 0.7 allows an attacker to execute arbitrary scripts on the server by including a malicious file through user input. The bug is caused by programmer errors and can be prevented by checking the file entered by the user against a whitelist and disabling the 'allow_url_fopen' feature.
Mitigation:
To mitigate this vulnerability, developers should check user input against a whitelist of allowed files and disable the 'allow_url_fopen' feature. Server administrators can also disable 'allow_url_fopen' using the ini_set command.