CVE-2018-18572

Severity CVSS v4.0:
Pending analysis
Type:
CWE-434 Unrestricted Upload of File with Dangerous Type
Publication date:
22/08/2019
Last modified:
29/08/2019

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:oscommerce:oscommerce:2.3.4.1:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools