{"id":"CVE-2018-25114","published":"2025-07-23T13:50:09Z","modified":"2026-04-07T14:03:44Z","title":"osCommerce 2.3.4.1 Installer Unauthenticated Configuration File Injection PHP Code Execution","vendor":"osCommerce","product":"Online Merchant","tier":"core","eol":null,"affectedVersions":[{"vendor":"osCommerce","product":"Online Merchant","versions":["2.3.4.1"]}],"capec":[{"id":"CAPEC-242","name":"Code Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-23T14:45:49.375413Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The osCommerce Online Merchant 2.3.4.1 installer leaves its /install/ directory accessible after installation, and its install_4.php workflow lacks authentication and allows attacker-supplied content to be written into configure.php. An unauthenticated remote attacker with network access can submit crafted POST data to install_4.php, so no user interaction or prior configuration beyond the default post-installation state is required to inject arbitrary PHP code that executes when the application later includes that file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:19:12Z"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04786,"percentile":0.92147,"date":"2026-11-22","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-11-05","exploitedFirstSeen":"2025-11-05","ransomware":false,"evidence":[{"url":"https://app.crowdsec.net/cti/cve-explorer/CVE-2018-25114","date":"2025-11-05"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-12&host_type=src&vulnerability=cve-2018-25114","date":"2026-03-12"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-13&host_type=src&vulnerability=cve-2018-25114","date":"2026-03-13"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-14&host_type=src&vulnerability=cve-2018-25114","date":"2026-03-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-15&host_type=src&vulnerability=cve-2018-25114","date":"2026-03-15"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-16&host_type=src&vulnerability=cve-2018-25114","date":"2026-03-16"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-17&host_type=src&vulnerability=cve-2018-25114","date":"2026-03-17"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-18&host_type=src&vulnerability=cve-2018-25114","date":"2026-03-18"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-22&host_type=src&vulnerability=cve-2018-25114","date":"2026-03-22"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-24&host_type=src&vulnerability=cve-2018-25114","date":"2026-03-24"}],"evidenceTotal":193,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.exploit-db.com/exploits/44374","tags":["exploit"]},{"url":"https://www.oscommerce.com/","tags":["product"]},{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/oscommerce_installer_unauth_code_exec.rb","tags":["exploit"]},{"url":"https://www.vulncheck.com/advisories/oscommerce-installer-unauth-config-file-injection-php-code-execution","tags":["third-party-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2018-21601","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-21601","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"osCommerce Installer Unauthenticated Code Execution","module":"exploit/multi/http/oscommerce_installer_unauth_code_exec","type":"exploit","disclosureDate":"2018-04-30","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/oscommerce_installer_unauth_code_exec.rb"}],"nuclei":[{"id":"CVE-2018-25114","name":"osCommerce 2.3.4.1 - Remote Code Execution","severity":"critical","path":"http/cves/2018/CVE-2018-25114.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-25114.yaml"}],"first":{"date":"2018-04-30","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/oscommerce_installer_unauth_code_exec.rb"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/44374","https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/oscommerce_installer_unauth_code_exec.rb"],"flow":[],"timeline":[{"date":"2018-04-30","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/oscommerce_installer_unauth_code_exec.rb","provenance":"source"},{"date":"2025-07-23","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-25114","provenance":"source"},{"date":"2025-11-05","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://app.crowdsec.net/cti/cve-explorer/CVE-2018-25114","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":64.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 382 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.43,"detail":"percentile 0.9215"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 references tagged Exploit; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.51,"detail":"base score 9.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}