{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24499 exists.","fix":"No fix has been published for CVE-2021-24499 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24499 is a critical vulnerability in Unknown Workreap, published on 9 Aug 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-24499 and fix it if it is affected.\n\nWhat it is: CVE-2021-24499 is a critical vulnerability in Unknown Workreap, published on 9 Aug 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-24499 exists.\n\nAffected product: Unknown Workreap. 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-24499/ (Markdown: https://insights.sbomify.com/CVE-2021-24499/index.md)","id":"CVE-2021-24499","markdown":"https://insights.sbomify.com/CVE-2021-24499/index.md","name":"CVE-2021-24499","record":{"aliases":["GHSA-r7ww-r6jj-2jrh"],"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 arbitrary files, including executable PHP scripts, leading to remote code execution on the server.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"workreap","vendor":"amentotech"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"The Workreap WordPress theme before 2.2.2 AJAX actions workreap_award_temp_file_uploader and workreap_temp_file_uploader did not perform nonce checks, or validate that the request is from a valid user in any other way. The endpoints allowed for uploading arbitrary files to the uploads/workreap-temp directory. Uploaded files were neither sanitized nor validated, allowing an unauthenticated visitor to upload executable code such as php scripts.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-09-12","github_poc":4,"max_poc_stars":15,"metasploit":0,"nuclei":1,"refs":[{"date":"2021-09-12T12:43:24Z","kind":"github_poc","ref":"https://github.com/j4k0m/CVE-2021-24499","stars":15,"title":"Mass exploitation of CVE-2021-24499 unauthenticated upload leading to remote code execution in Workreap theme."},{"date":"2021-10-06T03:07:31Z","kind":"github_poc","ref":"https://github.com/hh-hunter/cve-2021-24499","stars":0,"title":null},{"date":"2023-06-09","kind":"exploitdb","ref":"51510","stars":null,"title":"WordPress Theme Workreap 2.2.2 - Unauthenticated Upload Leading to Remote Code Execution"},{"date":"2023-09-29T04:53:56Z","kind":"github_poc","ref":"https://github.com/jytmX/CVE-2021-24499","stars":0,"title":null},{"date":"2026-01-28T11:34:50Z","kind":"github_poc","ref":"https://github.com/jayhutajulu1/CVE-2021-24499","stars":0,"title":"WordPress Theme Workreap 2.2.2 - Unauthenticated Upload Leading to Remote Code Execution"},{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-24499.yaml","stars":null,"title":"WordPress Workreap - Remote Code Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"Workreap theme \u003c 2.2.2 - Unauthenticated Upload Leading to Remote Code Execution","id":"CVE-2021-24499","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Workreap theme \u003c 2.2.2 - Multiple CSRF + IDOR Vulnerabilities","id":"CVE-2021-24500"},"packages":[],"prev":{"headline":"Calendar Event Multi View \u003c 1.4.01 - Unauthenticated Reflected Cross-Site Scripting (XSS)","id":"CVE-2021-24498"},"products":["Workreap"],"published":"2021-08-09","related":[{"cvss_score":9.8,"headline":"Workreap \u003c= 3.3.1 - Authentication Bypass via 'workreap_verify_user_account'","id":"CVE-2025-4973","kev_date_added":null,"published":"2025-06-12"},{"cvss_score":9.8,"headline":"Workreap \u003c= 3.2.5 - Unauthenticated Privilege Escalation via Account Takeover","id":"CVE-2024-13446","kev_date_added":null,"published":"2025-03-12"},{"cvss_score":8.8,"headline":"Workreap \u003c= 3.3.2 - Authenticated (Subscriber+) Arbitrary File Upload via 'workreap_temp_upload_to_media'","id":"CVE-2025-5012","kev_date_added":null,"published":"2025-06-12"},{"cvss_score":8.1,"headline":"Workreap theme \u003c 2.2.2 - Multiple CSRF + IDOR Vulnerabilities","id":"CVE-2021-24500","kev_date_added":null,"published":"2021-08-09"},{"cvss_score":8.1,"headline":"Workreap theme \u003c 2.2.2 - Missing Authorization Checks in Ajax Actions","id":"CVE-2021-24501","kev_date_added":null,"published":"2021-08-09"},{"cvss_score":7.5,"headline":"Workreap - Freelance Marketplace and Directory \u003c 2.6.3 - Subscriber+ Private Message Disclosure via IDOR","id":"CVE-2022-3846","kev_date_added":null,"published":"2022-12-05"}],"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":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Unknown"]},"summary":"Unauthenticated attackers can upload arbitrary files, including executable PHP scripts, leading to remote code execution on the server.","url":"https://insights.sbomify.com/CVE-2021-24499/"}