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

Published 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 "aioseotoolssettings" 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.

Affected Software

1 affected component
aioseo All In One Seo Wordpress<4.1.0.2

Event History

May 24, 2021
CVE Published
via MITRE·10:58 AM
Data Sourced
via MITRE·10:58 AM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-24307?

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

2

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.

3

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.

4

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.

5

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