Exploit database

Vulnerability

CVE-2018-25114

osCommerce 2.3.4.1 Installer Unauthenticated Configuration File Injection PHP Code Execution

Vulnerability details

Score
9.3
Severity
critical

CVSS 4.0 · VulnCheck

Vector string

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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.

CVE Program

Exploit source choices

2 sources
osCommerce Installer Unauthenticated Code Execution
MSF-multi--http--oscommerce_installer_unauth_code_execMetasploitPHP / remote

If the /install/ directory was not removed, it is possible for an unauthenticated attacker to run the "install_4.php" script, which will create the configuration file for the installation. This allows the attacker to inject PHP code into the configuration file and execute it.

2018-04-30oscommerce_installer_unauth_code_exec.rb