CVE-2018-18572Oscommerce
High 7.2
Follow: this CVE · Oscommerce · Oscommerce We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.0
- 7.2
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- Yes
- Published
- Aug 22, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Oscommerce.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| oscommerce | oscommerce | 2.3.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory