CVE-2017-20251
CRITICAL Exploitation: PoC
9.8
CVSS 3.1
Description
WordPress Insert PHP plugin versions before 3.3.1 contain a PHP code injection vulnerability that allows unauthenticated attackers to execute arbitrary PHP code by injecting malicious shortcodes through the WordPress REST API. Attackers can send POST requests to the wp-json/wp/v2/posts endpoint with crafted content containing insert_php shortcodes to include and execute remote PHP files on the server.
Metadata
Severity & Metrics
9.8
CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| Themeisle | Woody Code Snippets | — | 0 < 3.3.1 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-94 | cna | Improper Control of Generation of Code ('Code Injection') |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 9.8 | CRITICAL | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 9.3 | CRITICAL | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
References (3)
- ExploitDB-41308 https://www.exploit-db.com/exploits/41308
- Official Product Homepage https://fr.wordpress.org/plugins/insert-php/
- VulnCheck Advisory: WordPress Insert PHP Plugin 4.7.0 PHP Code Injection via REST API https://www.vulncheck.com/advisories/wordpress-insert-php-plugin-php-code-injection-via-rest-api