CVE-2018-18572

HIGH

osCommerce 2.3.4.1 - Authenticated Arbitrary PHP File Upload via .pht Extension Bypass

Title source: llm
STIX 2.1

Description

osCommerce 2.3.4.1 has an incomplete '.htaccess' for blacklist filtering in the "product" page. Because of this filter, script files with certain PHP-related extensions (such as .phtml and .php5) didn't execute in the application. But this filter didn't prevent the '.pht' extension. Thus, remote authenticated administrators can upload '.pht' files for arbitrary PHP code execution via a /catalog/admin/categories.php?cPath=&action=new_product URI.

References (1)

Core 1
Core References
Third Party Advisory x_refsource_confirm
https://github.com/osCommerce/oscommerce2/issues/631

Scores

CVSS v3 7.2
EPSS 0.0252
EPSS Percentile 82.9%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-434
Status published
Products (1)
oscommerce/oscommerce 2.3.4.1
Published Aug 22, 2019
Tracked Since Feb 18, 2026