Vulnerability · Published May 24, 2021 · Assigned by WPScan

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

High 8.8

In plain English

A high-severity unsafe deserialization in All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings from All in One SEO Team. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 53.3% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS NVD)8.8High
Exploit odds (30 days)53.3%top 1.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official 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.

Affected products (as reported)

Weakness: CWE-502

References