Плагин ProfileGrid — профили пользователей, группы и сообщества для WordPress уязвим к небезопасной прямой ссылке на объект во всех версиях до 5.9.7.2 включительно через действия AJAX «pm_upload_image» и «pm_upload_cover_image». Это связано с тем, что функция update_user_meta() вызывается вне проверки авторизации пользователя в public/partials/crop.php и public/partials/coverimg_crop.php. Это позволяет злоумышленникам, прошедшим проверку подлинности, с доступом на уровне подписчика и выше, изменить изображение профиля или изображение обложки любого пользователя, включая администраторов.
Показать оригинальное описание (английский)
The ProfileGrid – User Profiles, Groups and Communities plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.9.7.2 via the 'pm_upload_image' and 'pm_upload_cover_image' AJAX actions. This is due to the update_user_meta() function being called outside of the user authorization check in public/partials/crop.php and public/partials/coverimg_crop.php. This makes it possible for authenticated attackers, with Subscriber-level access and above, to change any user's profile picture or cover image, including administrators.
Матрица атаки
СТРОКА CVSS ВЕКТОРА
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Тип уязвимости (CWE)
Источники и патчи
- https://plugins.trac.wordpress.org/browser/profilegrid-user…
- https://plugins.trac.wordpress.org/browser/profilegrid-user…
- https://plugins.trac.wordpress.org/browser/profilegrid-user…
- https://plugins.trac.wordpress.org/browser/profilegrid-user…
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfp…
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7…