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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-4898 PoC — WordPress plugin InstaWP Connect 安全漏洞

Source
Associated Vulnerability
Title:WordPress plugin InstaWP Connect 安全漏洞 (CVE-2024-4898)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin InstaWP Connect 0.1.0.38 版本之前存在安全漏洞,该漏洞源于缺少 REST API 调用的授权检查。
Readme
# CVE-2024-4898-Poc
CVE-2024-4898 InstaWP Connect – 1-click WP Staging & Migration <= 0.1.0.38 - Missing Authorization to Unauthenticated API setup/Arbitrary Options Update/Administrative User Creation
https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/instawp-connect/instawp-connect-1-click-wp-staging-migration-01038-missing-authorization-to-unauthenticated-api-setuparbitrary-options-updateadministrative-user-creation

File: wp-content/plugins/instawp-connect/includes/class-instawp-rest-api.php
![image](https://github.com/truonghuuphuc/CVE-2024-4898-Poc/assets/20487674/d6287d11-bf9d-4cb9-9dc6-7c49904d7757)
![image](https://github.com/truonghuuphuc/CVE-2024-4898-Poc/assets/20487674/23e2517f-9c56-4ca7-91f7-0111d5416f41)
![image](https://github.com/truonghuuphuc/CVE-2024-4898-Poc/assets/20487674/b34e0d39-163e-46ce-881f-119aa20d535c)

File: wp-content/plugins/instawp-connect/includes/class-instawp-tools.php
![image](https://github.com/truonghuuphuc/CVE-2024-4898-Poc/assets/20487674/4962fb44-6c21-4e57-ba66-182479444401)

## Poc:
Create user role Administrator

Create api key: https://app.instawp.io/user/api-tokens
![image](https://github.com/truonghuuphuc/CVE-2024-4898-Poc/assets/20487674/3dfe5d78-5311-4a8a-8d13-ad2363ea9925)

https://github.com/truonghuuphuc/CVE-2024-4898-Poc/assets/20487674/01be7c07-1894-4e70-9966-5ba7dce1fd2a

File Snapshot

[4.0K] /data/pocs/cbeba72e3769d48d2b0bb52da65d3a0fbc970668 ├── [1.0K] CVE-2024-4898 ├── [1.1M] instawp-connect.0.1.0.38.zip └── [1.3K] README.md 0 directories, 3 files
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.