CVE-2018-25114 osCommerce 2.3.4.1 Installer Unauthenticated Configuration File Injection PHP Code Execution

Critical 9.3 Published Updated

Unauthenticated attackers can inject PHP code via the installer to achieve remote code execution on osCommerce servers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-25114?

CVE-2018-25114 is a critical code injection vulnerability in osCommerce Online Merchant, published on 23 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-94, CWE-434

Which versions are affected by CVE-2018-25114?

How do I fix CVE-2018-25114?

No fix has been published for CVE-2018-25114 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2018-25114 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25114 exists.

Public exploit code: 1 Metasploit module and 1 Nuclei template.

Sources

Also known as GHSA-7hjh-7hp4-wr4c.

Is CVE-2018-25114 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free