CVE-2018-18572 File upload in n/a
Authenticated administrators can upload .pht files to execute arbitrary PHP code due to incomplete blacklist filtering in osCommerce.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-18572?
CVE-2018-18572 is a high-severity vulnerability in Oscommerce Oscommerce, published on 22 Aug 2019. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2018-18572?
It affects 1 product.
Products include Oscommerce Oscommerce.
How do I fix CVE-2018-18572?
No fix has been published for CVE-2018-18572 yet. Limit exposure of the affected software until one is available.
Is CVE-2018-18572 being exploited?
There is no known exploitation of CVE-2018-18572 in the wild and no public exploit code.
Other vulnerabilities in Oscommerce Oscommerce
Sources
Also known as GHSA-pv4c-fq9m-45gm.