CVE-2021-24307

HIGH

All in One SEO < 4.1.0.2 - Authenticated Remote Code Execution via INI File Deserialization

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-24307.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2021-24307, an authenticated PHP unserialization RCE vulnerability in the All in One SEO Pack WordPress plugin. The exploit leverages a Monolog gadget chain to achieve remote code execution via a crafted payload.

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.

Exploits (1)

inthewild WORKING POC
poc
https://github.com/darkpills/cve-2021-24307-all-in-one-seo-pack-admin-rce

This repository contains a functional exploit for CVE-2021-24307, an authenticated PHP unserialization RCE vulnerability in the All in One SEO Pack WordPress plugin. The exploit leverages a Monolog gadget chain to achieve remote code execution via a crafted payload.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: All in One SEO Pack WordPress plugin <= 4.1.0.1
Auth required
Prerequisites: admin credentials · WordPress REST API access
devstral-2 · analyzed Feb 23, 2026 Full analysis →

References (2)

Core 2
Core References
Exploit, Third Party Advisory x_refsource_confirm
https://wpscan.com/vulnerability/ab2c94d2-f6c4-418b-bd14-711ed164bcf1
Release Notes, Vendor Advisory x_refsource_misc
https://aioseo.com/changelog/

Scores

CVSS v3 8.8
EPSS 0.4178
EPSS Percentile 97.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-502
Status published
Products (1)
aioseo/all_in_one_seo < 4.1.0.2
Published May 24, 2021
Tracked Since Feb 18, 2026