{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-24307 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-24307 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24307 is a high-severity unsafe deserialization vulnerability in All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings, published on 24 May 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-24307 and fix it if it is affected.\n\nWhat it is: CVE-2021-24307 is a high-severity unsafe deserialization vulnerability in All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings, published on 24 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-24307 in the wild and no public exploit code.\n\nAffected product: All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-24307/ (Markdown: https://insights.sbomify.com/CVE-2021-24307/index.md)","id":"CVE-2021-24307","markdown":"https://insights.sbomify.com/CVE-2021-24307/index.md","name":"CVE-2021-24307","record":{"aliases":["GHSA-fg47-8fhh-p6fc"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress SEO plugin","requires_auth":"low_privilege","summary":"Authenticated administrators can execute arbitrary code via unsafe deserialization of uploaded backup files in the All in One SEO WordPress plugin.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"all_in_one_seo","vendor":"aioseo"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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 \u003e 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-01-02","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-01-02T07:50:09Z","kind":"github_poc","ref":"https://github.com/darkpills/CVE-2021-24307-all-in-one-seo-pack-admin-rce","stars":4,"title":null}],"tier":"poc_unverified"},"has_fix":null,"headline":"All in One SEO Pack \u003c 4.1.0.2 - Admin RCE via unserialize","id":"CVE-2021-24307","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"LifterLMS \u003c 4.21.1 - Authenticated Stored XSS in Edit Profile","id":"CVE-2021-24308"},"packages":[],"prev":{"headline":"Ultimate Member \u003c 2.1.20 - Authenticated Reflected Cross-Site Scripting (XSS)","id":"CVE-2021-24306"},"products":["All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings"],"published":"2021-05-24","related":[{"cvss_score":8.8,"headline":"All In One SEO \u003c 4.1.5.3 - Authenticated Privilege Escalation","id":"CVE-2021-25036","kev_date_added":null,"published":"2022-01-17"},{"cvss_score":6.5,"headline":"All In One SEO \u003c 4.1.5.3 - Authenticated SQL Injection","id":"CVE-2021-25037","kev_date_added":null,"published":"2022-01-17"},{"cvss_score":6.4,"headline":"Cross-site scripting in All in One SEO – Powerful SEO Plugin to Boost SEO Rankings \u0026 Increase Traffic","id":"CVE-2025-2892","kev_date_added":null,"published":"2025-05-19"},{"cvss_score":6.4,"headline":"Cross-site scripting in All in One SEO – Powerful SEO Plugin to Boost SEO Rankings \u0026 Increase Traffic","id":"CVE-2024-3554","kev_date_added":null,"published":"2024-05-02"},{"cvss_score":6.4,"headline":"All in One SEO Pack \u003c= 4.2.9 - Authenticated (Contributor+) Stored Cross-Site Scripting","id":"CVE-2023-0586","kev_date_added":null,"published":"2023-02-24"},{"cvss_score":6.1,"headline":"All in One SEO \u003c 4.6.1.1 - Contributor+ Stored XSS","id":"CVE-2024-3368","kev_date_added":null,"published":"2024-05-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["All in One SEO Team"]},"summary":"Authenticated administrators can execute arbitrary code via unsafe deserialization of uploaded backup files in the All in One SEO WordPress plugin.","url":"https://insights.sbomify.com/CVE-2021-24307/"}