CVE-2018-25114

osCommerce 2.3.4.1 Installer Unauthenticated Configuration File Injection PHP Code Execution

State
Published
Severity
9.3 Critical
Published
Jul 23, 2025
Updated
Apr 7, 2026
Reserved
Jul 22, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
Online MerchantosCommerce
  • 2.3.4.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.