Unauthorized Arbitrary Plugin Installation in Th Shop Mania for WordPress
CVE-2024-10674 affects the Th Shop Mania theme for WordPress. In all versions up to and including 1.4.9, the th_shop_mania_install_and_activate_callback() function lacks a required capability check, allowing authenticated users with Subscriber-level access or higher to invoke functionality intended for more privileged users. As a result, an attacker can install arbitrary WordPress plugins without proper authorization. Because plugin installation introduces attacker-chosen code and functionality into the target WordPress instance, this weakness can be chained with malicious or vulnerable plugins to facilitate further compromise, including remote code execution and privilege escalation.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a low-privileged authenticated user to install arbitrary plugins on the affected WordPress site. This can expand attacker control significantly by enabling deployment of malicious plugins or plugins containing additional exploitable flaws. The resulting impact can include privilege escalation, persistent compromise of the WordPress instance, and potentially remote code execution in the context of the web server and WordPress application.
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to WordPress accounts with Subscriber or other low-privilege roles, disable or remove the vulnerable theme where feasible, and monitor for unexpected plugin installation or activation events. Harden administrative workflows around plugin management, enforce least privilege for WordPress users, and use file integrity monitoring and logging to detect unauthorized changes. Reviewing web server, WordPress, and audit logs for suspicious plugin-management actions can help identify exploitation attempts.
Patch, then assume compromise.
Update the Th Shop Mania theme to a version newer than 1.4.9 if a vendor fix is available. The vulnerable th_shop_mania_install_and_activate_callback() function should enforce appropriate WordPress capability checks so that only authorized administrative users can install and activate plugins. Review installed plugins for unauthorized additions, remove any untrusted plugins, and audit affected systems for signs of post-exploitation activity.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.