# CVE-2018-18572: osCommerce 2.3.4.1 has an incomplete '.htaccess' for blacklist filtering in the "product" page.

- Severity: High 7.2 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.59%, higher than 85% of CVEs (2026-12-01)
- Published: 2019-08-22T14:33:07.000Z
- Modified: 2026-06-17T01:47:31.850Z
- Weaknesses: CWE-434
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- oscommerce oscommerce: 2.3.4.1

## Every score

- NVD: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/osCommerce/oscommerce2/issues/631> (third-party-advisory)

## Sources

- CVE List: [CVE-2018-18572](https://www.cve.org/CVERecord?id=CVE-2018-18572), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2018-18572](https://nvd.nist.gov/vuln/detail/CVE-2018-18572), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-18572 · Whole record: https://cve.day/CVE-2018-18572.json · Rebuilt by cve.day 2026-11-25T22:57:42.461Z
