CVE-2024-12822
Published: 30 January 2025
Description
The Media Manager for UserPro plugin for WordPress is vulnerable to unauthorized modification of data that can lead to privilege escalation due to a missing capability check on the add_capto_img() function in all versions up to, and including, 3.11.0. This makes it possible for unauthenticated attackers to update arbitrary options on the WordPress site. This can be leveraged to update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site.
Security Summary
CVE-2024-12822 affects the Media Manager for UserPro plugin for WordPress, specifically due to a missing capability check on the add_capto_img() function in all versions up to and including 3.11.0. This vulnerability enables unauthorized modification of data, leading to privilege escalation. It is classified under CWE-862 (Missing Authorization) with a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating critical severity with network accessibility, low attack complexity, no privileges or user interaction required, and high impacts across confidentiality, integrity, and availability.
Unauthenticated attackers can exploit this vulnerability remotely by calling the vulnerable function, allowing them to update arbitrary options on the WordPress site. Attackers can leverage this to change the default role for new user registrations to administrator and enable user registration, enabling them to create accounts with full administrative access to the site.
Advisories, including those from Wordfence, provide further details on the vulnerability, with references available at the plugin's CodeCanyon page and Wordfence threat intelligence. Security practitioners should consult these sources for mitigation guidance, such as updating the plugin.
Details
- CWE(s)