Th Shop Mania: Arbitrary Plugin Installation (CVE-2024-10674)
The Th Shop Mania WordPress theme is vulnerable to unauthorized arbitrary plugin installation due to a missing capability check, allowing authenticated attackers with subscriber-level access to achieve remote code execution.
CVE search metadata
CVE search record: CVE-2024-10674. Severity: high. CVSS: 8.8. EPSS: 1.73%. KEV: no. Product: Th Shop Mania. Brief: Th Shop Mania: Arbitrary Plugin Installation (CVE-2024-10674). Brief link: https://feed.craftedsignal.io/briefs/2026-11-cve-2024-10674/
Triage facts
Revision 1- Applicability
- Th Shop Mania
- Evidence
- Unknown
- Severity
- High
- Action
- Immediate escalation
- Sources
- 3 public sources
- Freshness
- Revision 1Nov 16, 04:28 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- B2Very likely
Overview
The Th Shop Mania WordPress theme version 1.4.9 and earlier contains a vulnerability (CVE-2024-10674) in the th_shop_mania_install_and_activate_callback() function. Due to a missing capability check, any authenticated user with at least Subscriber-level access can trigger the installation and activation of arbitrary plugins. This flaw facilitates further exploitation, including remote code execution and privilege escalation. A publicly available exploit exists for this vulnerability.
Attack Chain
- Attacker authenticates to the target WordPress site using valid credentials with at least Subscriber-level access.
- Attacker invokes the
th_shop_mania_install_and_activate_callbackfunction within the Th Shop Mania theme. - The application fails to perform a capability check to verify if the user has administrative privileges.
- The application processes the plugin installation request.
- Attacker installs and activates a malicious plugin to the WordPress instance.
- Attacker leverages the malicious plugin to execute arbitrary code on the server, leading to full site compromise.
Impact
Successful exploitation allows an authenticated attacker to install arbitrary plugins, leading to potential remote code execution and privilege escalation on the affected WordPress installation. CVSS 3.1 base score is 8.8 (High).
Recommendation
- Inventory all WordPress sites running the Th Shop Mania theme.
- Disable registration for new users if not required to mitigate the privilege requirements for exploitation.
- Audit all installed plugins on WordPress instances using this theme for unauthorized or suspicious software.
- Monitor WordPress web server logs for HTTP requests to theme-related callback functions or unusual plugin activation activity.
Immediate actions
Inventory WordPress instances running Th Shop Mania version 1.4.9 or earlier.
Threat Hunt
Monitor web server access logs for requests targeting theme-specific endpoints that correspond to plugin installation functionality in Th Shop Mania.
Data: Web server access logs, HTTP Request headers
Mitigations
Disable public user registration on all WordPress sites running the vulnerable theme version.
CVE-2024-10674