Lucene search

K
wpvulndbWpvulndbWPVDB-ID:6A3EC618-C79E-4B9C-9020-86B157458AC5
HistoryApr 15, 2021 - 12:00 a.m.

WordPress 4.7-5.7 - Authenticated Password Protected Pages Exposure

2021-04-1500:00:00
wpscan.com
522

0.007 Low

EPSS

Percentile

79.6%

The Latest Posts block in the WordPress editor can be exploited in a way that exposes password-protected posts and pages via the posts REST API when the “edit” context was used. This requires at least contributor privileges.

PoC

1. As one user, create a new password protected post. Ensure that it is in a “published” state. 2. Login as another user with the contributor role. 3. Create a new “draft” post and add the “Latest Posts” block. 4. Visit “https://example.com/wp-json/wp/v2/posts?order=desc&orderby;=date&per;_page=5&context;=edit&_locale=user” to expose the password protected post content.

0.007 Low

EPSS

Percentile

79.6%