Merge pull request #4278 from projectdiscovery/CVE-2021-25118

Create CVE-2021-25118.yaml
patch-1
Prince Chaddha 2022-05-01 02:27:08 +05:30 committed by GitHub
commit 3b32ad9fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
id: CVE-2021-25118
info:
name: Yoast SEO < 17.3 - Unauthenticated Full Path Disclosure
author: DhiyaneshDK
severity: low
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.
remediation: Fixed in version 17.3
reference:
- https://wpscan.com/vulnerability/2c3f9038-632d-40ef-a099-6ea202efb550
- https://nvd.nist.gov/vuln/detail/CVE-2021-25118
tags: wordpress,cve2021,wp-plugin,fpd,cve,wp
requests:
- method: GET
path:
- "{{BaseURL}}/wp-json/wp/v2/posts?per_page=1"
matchers-condition: and
matchers:
- type: regex
regex:
- '"path":"(.*)/wp-content\\(.*)","size'
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
- '"path":"(.*)/wp-content\\(.*)","size'