CVE-2023-54352: WordPress Seotheme Remote Code Execution Unauthenticated

Published Jun 8, 2026
·
Updated

WordPress Seotheme contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary PHP code by uploading malicious files to the theme directory. Attackers can access the uploaded PHP shell at /wp-content/themes/seotheme/mar.php to execute system commands and upload additional files for persistent access.

Affected Software

1 affected component
WordPress Seotheme (WordPress theme)

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove wordpress/seotheme from your environment.

    Uninstall and remove the 'seotheme' WordPress theme from the site if it is not required. Remove its files from /wp-content/themes/seotheme.

  2. Configuration

    Remove write permissions for the webserver user on /wp-content/themes/seotheme so attackers cannot upload files. Adjust ownership and filesystem permissions (e.g., chown/chmod) to prevent uploads.

    WordPress theme directory (/wp-content/themes/seotheme) webserver write permissions = remove webserver write access (make directory non-writable)
  3. Configuration

    Configure the web server (or use .htaccess for Apache) to disable PHP execution in /wp-content/themes/seotheme (deny or return 403/404 for requests to .php files in that directory).

    Web server / PHP execution for theme directory php_execution = disabled for /wp-content/themes/seotheme
  4. Compensating control

    Block or restrict HTTP access to /wp-content/themes/seotheme/mar.php (and other suspicious files) at the webserver, WAF, or firewall level to prevent access to uploaded shells.

  5. Operational

    Search the filesystem and website for /wp-content/themes/seotheme/mar.php and other malicious uploads; remove any discovered shells, restore affected files from a known-good backup, and review access logs for unauthorized activity. If system compromise is suspected, perform a full site/server remediation or rebuild.

Event History

Jun 8, 2026
CVE Published
via MITRE·01:55 AM
Data Sourced
via MITRE·01:55 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-54352?

CVE-2023-54352 has a critical severity score of 9.8.

2

How do I fix CVE-2023-54352?

To fix CVE-2023-54352, update the WordPress Seotheme to the latest version that addresses this vulnerability.

3

What is the impact of CVE-2023-54352?

CVE-2023-54352 allows unauthenticated attackers to execute arbitrary PHP code, leading to potential system command execution.

4

Who is affected by CVE-2023-54352?

Any user or site utilizing the WordPress Seotheme is affected by CVE-2023-54352.

5

What are the exploitation methods for CVE-2023-54352?

CVE-2023-54352 can be exploited by uploading malicious PHP files to the Seotheme directory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203