All in One SEO <= 4.1.0.1 - Authenticated Code Injection

8.8
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2021-24307
CVSS 8.8 (High)
Publicly Published May 9, 2021
Last Updated February 2, 2023
Researcher Vincent MICHEL

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.

References

Share

Vulnerability Details for All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic

Software Type Plugin
Software Slug all-in-one-seo-pack (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.1.0.2, or a newer patched version
Affected Version
  • < 4.1.0.2
Patched Version
  • 4.1.0.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation