Incomplete '.htaccess' Filter Allows Arbitrary PHP Code Execution in osCommerce 2.3.4.1

Incomplete '.htaccess' Filter Allows Arbitrary PHP Code Execution in osCommerce 2.3.4.1

CVE-2018-18572 · MEDIUM Severity

AV:N/AC:L/AU:S/C:P/I:P/A:P

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.

Learn more about our Web Application Penetration Testing UK.