WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Yoast SEO < 17.3 - Unauthenticated Full Path Disclosure

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.

Proof of Concept

Put a featured image in a post, then execute 

curl -s 'https://example.com/wp-json/wp/v2/posts?per_page=1' | jq '.[0].yoast_head_json.og_image[0].path' 

Affects Plugins

wordpress-seo
Fixed in version 17.3

References

CVE
CVE-2021-25118
URL
https://plugins.trac.wordpress.org/changeset/2608691

Classification

Type

FPD

OWASP top 10
A6: Security Misconfiguration
CWE
CWE-200

Miscellaneous

Original Researcher

Fariq Fadillah Gusti Insani

Submitter

Fariq Fadillah Gusti Insani

Submitter website
https://fariqfgi.medium.com/
Submitter twitter
fariqfgi
Verified

Yes

WPVDB ID
2c3f9038-632d-40ef-a099-6ea202efb550

Timeline

Publicly Published

2021-10-05 (about 9 months ago)

Added

2022-02-23 (about 4 months ago)

Last Updated

2022-04-11 (about 2 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceDisclosure policy
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us