CWE
502
Advisory Published
Updated

CVE-2021-24307: All in One SEO Pack < 4.1.0.2 - Admin RCE via unserialize

First published: Mon May 24 2021(Updated: )

The All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings before 4.1.0.2 enables authenticated users with "aioseo_tools_settings" privilege (most of the time admin) to execute arbitrary code on the underlying host. Users can restore plugin's configuration by uploading a backup .ini file in the section "Tool > Import/Export". However, the plugin attempts to unserialize values of the .ini file. Moreover, the plugin embeds Monolog library which can be used to craft a gadget chain and thus trigger system command execution.

Credit: contact@wpscan.com

Affected SoftwareAffected VersionHow to fix
All In One SEO Pack<4.1.0.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-24307?

    The severity of CVE-2021-24307 is critical with a severity value of 8.8.

  • What is the affected software of CVE-2021-24307?

    The affected software of CVE-2021-24307 is the All in One SEO plugin for WordPress with versions up to 4.1.0.2.

  • How can an authenticated user exploit CVE-2021-24307?

    An authenticated user with 'aioseo_tools_settings' privilege can exploit CVE-2021-24307 to execute arbitrary code on the underlying host.

  • How can the plugin's configuration be restored after exploiting CVE-2021-24307?

    Users can restore the All in One SEO plugin's configuration by uploading a backup.

  • Are there any references available for CVE-2021-24307?

    Yes, you can find more information about CVE-2021-24307 at the following references: [Reference 1](https://aioseo.com/changelog/) and [Reference 2](https://wpscan.com/vulnerability/ab2c94d2-f6c4-418b-bd14-711ed164bcf1).

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203