CVE-2021-24307

Public Exploit
All in One SEO Pack < 4.1.0.2 - Admin RCE via unserialize

Description

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.

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 56.63% Top 5%
Vendor Advisory aioseo.com
Affected: All in One SEO Team All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings
Published at:
Updated at:

References

Link Tags
https://wpscan.com/vulnerability/ab2c94d2-f6c4-418b-bd14-711ed164bcf1 third party advisory exploit
https://aioseo.com/changelog/ release notes vendor advisory

Frequently Asked Questions

What is the severity of CVE-2021-24307?
CVE-2021-24307 has been scored as a high severity vulnerability.
How to fix CVE-2021-24307?
To fix CVE-2021-24307, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-24307 being actively exploited in the wild?
It is possible that CVE-2021-24307 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~57% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-24307?
CVE-2021-24307 affects All in One SEO Team All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.