CVE-2018-25114: osCommerce 2.3.4.1 Installer Unauthenticated Configuration File Injection PHP Code Execution
Vulnerability summary
CVE-2018-25114 is a critical (CVSS 9.3) Improper Control of Generation of Code vulnerability in oscommerce online_merchant. EPSS estimates a 14.45% chance of exploitation in the next 30 days, higher than 96.7% of scored vulnerabilities. 3 public exploits are recorded.
Weaponized exploit (Metasploit, 30-04-2018)
Source freshness unavailable
How is this decided?Timeline
- 23-07-2025PublishedVulnerability first disclosed.
- 07-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
14.45%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
Increase +9.88 pp
From 4.56% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundExploit Reference (raw.githubusercontent.com)
Maturity: unknown
osCommerce 2.3.4.1 - 'DB_DATABASE' Remote Code Execution (RCE) (1)
Maturity: poc
osCommerce Installer Unauthenticated Code Execution
exploit/multi/http/oscommerce_installer_unauth_code_exec
Maturity: weaponized
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of CodeThe 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.
- CWE-434Unrestricted Upload of File with Dangerous TypeThe product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Oscommerce1 product
- online_merchant2.3.4.1
1 vendor · 1 product
References
4 links- www.oscommerce.comProduct