WordPress Plugin Vulnerabilities

Page/Post Content Shortcode <= 1.0 - Contributor+ Arbitrary Posts/Pages Access

Description

The plugin does not have proper authorisation in place, allowing users with a role as low as contributor to access draft/private/password protected/trashed posts/pages they should not be allowed to, including posts created by other users such as admins and editors.

Proof of Concept

As a contributor, add the following shortcode in a page, replacing ID with the ID of a draft/private/password protected/trashed post/page to access, then preview the post to display the content

[post-content-sc id="ID"]
[page-content-sc id="ID"]

Affects Plugins

References

Classification

Type
ACCESS CONTROLS
CWE

Miscellaneous

Original Researcher
Francesco Carlucci
Submitter
Francesco Carlucci
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2021-11-15 (about 2 years ago)
Added
2021-11-15 (about 2 years ago)
Last Updated
2022-04-11 (about 2 years ago)

Other