rtCamp / rtMedia

rtMedia (formerly Buddypress Media) adds advanced multimedia functionality to WordPress, BuddyPress and bbPress
https://rtmedia.io/
122 stars 111 forks source link

Fix multiple security issues. #2008

Closed Utsav-Ladani closed 8 months ago

Utsav-Ladani commented 8 months ago

Fix multiple security issues

Admin can place and execute any file via the Import Settings option. 🟧

Description

Steps to reproduce

Fixes

Anyone can upload a file, even a subscriber. 🟧

Description

Steps to reproduce

Any user can upload any file and place it anywhere 🟥

Steps to reproduce

Fixes

pavanpatil1 commented 8 months ago

Admin can place and execute any file via the Import Settings option

Verified the fix and it is working fine. The commands are not executing now.

image


Any user can upload any file and place it anywhere

Verified the fix and it is working fine. The API is showing the permission denied message now.

image