CVE-2021-24307: All in One SEO Pack < 4.1.0.2 - Admin RCE via unserialize
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
Event History
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).