Learn about CVE-2018-18572, a vulnerability in osCommerce 2.3.4.1 that allows remote authenticated administrators to execute arbitrary PHP code by uploading '.pht' files. Find out how to mitigate this risk.
osCommerce 2.3.4.1 has a vulnerability in its '.htaccess' file that allows remote authenticated administrators to execute arbitrary PHP code by uploading '.pht' files.
Understanding CVE-2018-18572
What is CVE-2018-18572?
The CVE-2018-18572 vulnerability in osCommerce 2.3.4.1 allows remote authenticated administrators to bypass blacklist filtering and execute arbitrary PHP code by uploading '.pht' files.
The Impact of CVE-2018-18572
This vulnerability enables attackers to execute malicious PHP code within the application, potentially leading to unauthorized access and data manipulation.
Technical Details of CVE-2018-18572
Vulnerability Description
The '.htaccess' file in osCommerce 2.3.4.1 does not fully implement blacklist filtering on the "product" page, allowing the execution of PHP code via '.pht' files.
Affected Systems and Versions
Exploitation Mechanism
Remote authenticated administrators can exploit this vulnerability by uploading '.pht' files through the /catalog/admin/categories.php?cPath=&action=new_product URI.
Mitigation and Prevention
Immediate Steps to Take
Long-Term Security Practices
Patching and Updates
Ensure that osCommerce is updated to the latest version to mitigate the CVE-2018-18572 vulnerability.