{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24155 exists.","fix":"No fix has been published for CVE-2021-24155 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24155 is a high-severity vulnerability in Unknown WordPress Backup and Migrate Plugin – Backup Guard, published on 5 Apr 2021. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-24155 and fix it if it is affected.\n\nWhat it is: CVE-2021-24155 is a high-severity vulnerability in Unknown WordPress Backup and Migrate Plugin – Backup Guard, published on 5 Apr 2021. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24155 exists.\n\nAffected product: Unknown WordPress Backup and Migrate Plugin – Backup Guard. 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-24155/ (Markdown: https://insights.sbomify.com/CVE-2021-24155/index.md)","id":"CVE-2021-24155","markdown":"https://insights.sbomify.com/CVE-2021-24155/index.md","name":"CVE-2021-24155","record":{"aliases":["GHSA-h635-5m37-x3p5"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"high_privilege","summary":"Administrators can upload arbitrary PHP files via the import feature, leading to remote code execution on the WordPress site.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"backup_guard","vendor":"backup-guard"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/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 WordPress Backup and Migrate Plugin – Backup Guard WordPress plugin before 1.6.0 did not ensure that the imported files are of the SGBP format and extension, allowing high privilege users (admin+) to upload arbitrary files, including PHP ones, leading to RCE.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-05-04","github_poc":1,"max_poc_stars":10,"metasploit":1,"nuclei":1,"refs":[{"date":"2021-07-30T11:28:53Z","kind":"github_poc","ref":"https://github.com/0dayNinja/CVE-2021-24155.rb","stars":10,"title":"WordPress Backup Guard Authenticated Remote Code Execution Exploit"},{"date":"2021-05-04","kind":"metasploit","ref":"exploit/multi/http/wp_plugin_backup_guard_rce","stars":null,"title":"Wordpress Plugin Backup Guard - Authenticated Remote Code Execution"},{"date":"2021-07-05","kind":"exploitdb","ref":"50093","stars":null,"title":"Wordpress Plugin Backup Guard 1.5.8 - Remote Code Execution (Authenticated)"},{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-24155.yaml","stars":null,"title":"WordPress BackupGuard \u003c1.6.0 - Authenticated Arbitrary File Upload"}],"tier":"weaponised"},"has_fix":null,"headline":"Backup Guard \u003c 1.6.0 - Authenticated Arbitrary File Upload","id":"CVE-2021-24155","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":"Testimonial Rotator \u003c= 3.0.3 - Authenticated Stored Cross-Site Scripting","id":"CVE-2021-24156"},"packages":[],"prev":{"headline":"Theme Editor \u003c 2.6 - Authenticated Arbitrary File Download","id":"CVE-2021-24154"},"products":["WordPress Backup and Migrate Plugin – Backup Guard"],"published":"2021-04-05","related":[{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2017-18488","kev_date_added":null,"published":"2019-08-13"},{"cvss_score":6.1,"headline":"Cross-site scripting in BackupGuard","id":"CVE-2017-10837","kev_date_added":null,"published":"2017-08-28"}],"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":"BSD-3-Clause","name":"Metasploit"},{"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":"Administrators can upload arbitrary PHP files via the import feature, leading to remote code execution on the WordPress site.","url":"https://insights.sbomify.com/CVE-2021-24155/"}