CVE-2006-6041 in WORK system e-commerceinfo

Summary

by MITRE

Multiple PHP remote file inclusion vulnerabilities in Laurent Van den Reysen WORK system e-commerce 3.0.2, and other versions before 3.0.4, allow remote attackers to execute arbitrary PHP code via a URL in the g_include parameter to (1) index.php, (2) module/forum/forum.php, (3) unspecified files under module/, and (4) unspecified files under administration/module/.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 04/28/2026

The vulnerability identified as CVE-2006-6041 represents a critical remote file inclusion flaw affecting the WORK system e-commerce platform version 3.0.2 and earlier releases. This vulnerability resides within the application's handling of user-supplied input through the g_include parameter, which is processed across multiple entry points including index.php, module/forum/forum.php, and various files within the module and administration/module directories. The flaw stems from insufficient validation of input parameters, allowing malicious actors to inject arbitrary URLs that are then included and executed as PHP code on the target server. This vulnerability directly maps to CWE-88, which describes improper neutralization of argument delimiters in a command, and CWE-94, which covers execution of arbitrary code through code injection. The ATT&CK framework categorizes this under T1190, compromising software supply chains, and T1059, executing malicious code through command injection techniques.

The technical exploitation of this vulnerability requires an attacker to craft a malicious URL that gets passed through the g_include parameter, bypassing normal input validation mechanisms. When the application processes this parameter, it concatenates the user-supplied URL with the system's include path, effectively executing remote code on the server. The impact extends beyond simple code execution to potentially full system compromise, as attackers can leverage this vulnerability to establish persistent access, escalate privileges, or deploy additional malicious payloads. The vulnerability affects not just the primary index.php file but also numerous module files, amplifying the attack surface significantly.

The operational implications of CVE-2006-6041 are severe for any organization running affected versions of the WORK system e-commerce platform. Remote code execution capabilities provide attackers with unrestricted access to the target system, potentially leading to data breaches, system compromise, or service disruption. Organizations may face regulatory compliance violations, financial losses, and reputational damage when such vulnerabilities are exploited in production environments. The vulnerability's presence in multiple file locations within the application architecture means that even partial patching of individual files may not fully mitigate the risk, requiring comprehensive system updates or complete application upgrades. Network monitoring and intrusion detection systems should be configured to detect suspicious include patterns and unusual traffic to these vulnerable endpoints.

Mitigation strategies for this vulnerability center on immediate application patching to version 3.0.4 or later, which contains the necessary input validation fixes. Organizations should implement strict input validation and sanitization for all user-supplied parameters, particularly those used in include or require statements. The principle of least privilege should be enforced by restricting file inclusion paths to prevent access to arbitrary URLs or local files. Additionally, web application firewalls should be configured to block suspicious include patterns and parameter manipulation attempts. Security headers and output encoding should be implemented to prevent exploitation through cross-site scripting or other related vulnerabilities. Regular security assessments and vulnerability scanning should be conducted to identify similar flaws in other applications within the organization's attack surface, as this vulnerability type remains prevalent in legacy web applications.

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!