Online Merchant - RCE (CVE-2018-25114)
Description
A remote code execution vulnerability exists within osCommerce Online Merchant version 2.3.4.1 due to insecure default configuration and missing authentication in the installer workflow. By default, the /install/ directory remains accessible after installation. An unauthenticated attacker can invoke install_4.php, submit crafted POST data, and inject arbitrary PHP code into the configure.php file. When the application later includes this file, the injected payload is executed, resulting in full server-side compromise.
psychologyCrowdSec Analysis
CVE-2018-25114 is a critical remote code execution vulnerability in osCommerce Online Merchant 2.3.4.1, stemming from insecure default configurations and missing authentication in the installer workflow. Attackers can exploit the accessible /install/ directory to inject arbitrary PHP code into the configure.php file, leading to full server-side compromise when the file is executed. This flaw enables unauthenticated attackers to take complete control of the affected server, posing a severe risk to e-commerce sites running vulnerable versions.
CrowdSec has been tracking this vulnerability and its exploits since 29th of October 2025.
According to CrowdSec data, while opportunistic exploitation dominates, a portion of threat actors trying to exploit CVE-2018-25114 apply basic targeting methods such as port or service detection. This indicates emerging patterns of selective targeting. CrowdSec data also reveals a clear uptick in attacks involving CVE-2018-25114 over the past week. Activity is above the usual baseline, suggesting growing attention from attackers. This may reflect rising awareness, recent exploit releases, or expanded targeting efforts.
Attackers exploit the osCommerce installer by sending crafted POST requests to /install/install.php?step=4 and subsequently accessing /install/includes/configure.php to execute arbitrary PHP code, targeting sites where the /install/ directory remains accessible after installation.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2025-07-23 |
| Rule Released | 2025-10-29 |
| CrowdSec First Seen | 2025-11-05 |
Related Weaknesses
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Remediation & Protection
External References
- https://www.vulncheck.com/advisories/oscommerce-installer-unauth-config-file-injection-php-code-execution
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/oscommerce_installer_unauth_code_exec.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-25114.yaml