🔙 목록으로 돌아가기

CVE-2021-25118: Yoast SEO 16.7-17.2 - Information Disclosure

TitleYoast SEO 16.7-17.2 - Information Disclosure
AuthorDhiyaneshDK
SeverityMedium
ImpactAn attacker can exploit this vulnerability to gain sensitive information from the target system.
RemediationFixed in version 17.3.
CVSS Score5.3
EPSS Score0.27358
CVE IDCVE-2021-25118
CWE IDCWE-200
Tags cve2021 cve wpscan wordpress wp-plugin fpd wp yoast vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /wp-json/wp/v2/posts?per_page=1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25118.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-25118.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A