{"answers":{"affected":"It affects 10 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24220 exists.","fix":"No fix has been published for CVE-2021-24220 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24220 is a critical vulnerability in FocusBlog by Thrive Themes, published on 12 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-24220 and fix it if it is affected.\n\nWhat it is: CVE-2021-24220 is a critical vulnerability in FocusBlog by Thrive Themes, published on 12 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24220 exists.\n\nAffected product: FocusBlog by Thrive Themes. 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-24220/ (Markdown: https://insights.sbomify.com/CVE-2021-24220/index.md)","id":"CVE-2021-24220","markdown":"https://insights.sbomify.com/CVE-2021-24220/index.md","name":"CVE-2021-24220","record":{"aliases":["GHSA-pf3q-84pr-fv6p"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress theme","requires_auth":"none","summary":"Unauthenticated attackers can upload malicious PHP files via a REST API endpoint, leading to remote code execution on WordPress sites using affected Thrive Themes.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"focusblog","vendor":"thrivethemes"},{"product":"ignition","vendor":"thrivethemes"},{"product":"luxe","vendor":"thrivethemes"},{"product":"minus","vendor":"thrivethemes"},{"product":"performag","vendor":"thrivethemes"},{"product":"pressive","vendor":"thrivethemes"},{"product":"rise","vendor":"thrivethemes"},{"product":"squared","vendor":"thrivethemes"},{"product":"storied","vendor":"thrivethemes"},{"product":"voice","vendor":"thrivethemes"}],"cvss":{"score":9.1,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Thrive “Legacy” Rise by Thrive Themes WordPress theme before 2.0.0, Luxe by Thrive Themes WordPress theme before 2.0.0, Minus by Thrive Themes WordPress theme before 2.0.0, Ignition by Thrive Themes WordPress theme before 2.0.0, FocusBlog by Thrive Themes WordPress theme before 2.0.0, Squared by Thrive Themes WordPress theme before 2.0.0, Voice WordPress theme before 2.0.0, Performag by Thrive Themes WordPress theme before 2.0.0, Pressive by Thrive Themes WordPress theme before 2.0.0, Storied by Thrive Themes WordPress theme before 2.0.0 register a REST API endpoint to compress images using the Kraken image optimization engine. By supplying a crafted request in combination with data inserted using the Option Update vulnerability, it was possible to use this endpoint to retrieve malicious code from a remote URL and overwrite an existing file on the site with it or create a new file.This includes executable PHP files that contain malicious code.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-24220.yaml","stars":null,"title":"Multiple Thrive Themes \u003c 2.0.0 -  Arbitrary File Upload"}],"tier":"weaponised"},"has_fix":null,"headline":"All Thrive Themes Legacy Themes \u003c 2.0.0 - Unauthenticated Arbitrary File Upload and Option Deletion","id":"CVE-2021-24220","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Quiz And Survey Master \u003c 7.1.12 - Authenticated SQL injection via shortcode","id":"CVE-2021-24221"},"packages":[],"prev":{"headline":"All Thrive Themes and Plugins - Unauthenticated Option Update","id":"CVE-2021-24219"},"products":["FocusBlog by Thrive Themes","Ignition by Thrive Themes","Luxe by Thrive Themes","Minus by Thrive Themes","Performag by Thrive Themes","Pressive by Thrive Themes","Rise by Thrive Themes","Squared by Thrive Themes","Storied by Thrive Themes","Voice"],"published":"2021-04-12","related":[{"cvss_score":5.3,"headline":"All Thrive Themes and Plugins - Unauthenticated Option Update","id":"CVE-2021-24219","kev_date_added":null,"published":"2021-04-12"}],"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":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Thrive Themes"]},"summary":"Unauthenticated attackers can upload malicious PHP files via a REST API endpoint, leading to remote code execution on WordPress sites using affected Thrive Themes.","url":"https://insights.sbomify.com/CVE-2021-24220/"}