8.8high
All in One SEO Pack < 4.1.0.2 - Admin RCE via unserialize
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 53.3% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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
| Product or package | Versions | Reported by |
|---|---|---|
| All in One SEO Team All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings | from 4.1.0.2 before 4.1.0.2 | CVE List |
| aioseo all_in_one_seo | before 4.1.0.2 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.0high CVSS:2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
NVD (es)
All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings versiones anteriores a 4.1.0.2 permite a usuarios autenticados con el privilegio "aioseo_tools_settings" (la mayoría de las veces administrador) ejecutar código arbitrario en el host subyacente. Los usuarios pueden restaurar la configuración del plugin al cargar un archivo .ini de respaldo en la sección "Tool ) Import/Export". Sin embargo, el plugin intenta anular la serialización de los valores del archivo .ini. Además, el plugin incorpora la biblioteca Monolog que puede ser usada para diseñar una cadena de dispositivos y, por lo tanto, desencadenar una ejecución de comandos del sistema
References
| https://wpscan.com/vulnerability/ab2c94d2-f6c4-418b-bd14-711ed164bcf1 | exploit, third-party-advisory | |
| https://aioseo.com/changelog/ | release-notes, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24307 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24307 changed 2026-06-17 | Public domain |