Description
The Backup and Staging by WP Time Capsule plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the the UploadHandler.php file and no direct file access prevention in all versions up to, and including, 1.22.21. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| revmakx | Backup and Staging by WP Time Capsule | ≤ 1.22.21 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
WordPress WP Time Capsule Arbitrary File Upload to RCE
exploit/multi/http/wp_time_capsule_file_upload_rce
Exploit-DB 1
- Backup and Staging by WP Time Capsule 1.22.21 - Unauthenticated Arbitrary File Upload EDB-52131 · webapps · Apr 6, 2025
GitHub 3 repositories
-
Jenderal92/CVE-2024-8856 ★ 2 · Nov 21, 2024
This tool scans WordPress websites for vulnerabilities in the WP Time Capsule plugin related to CVE-2024-8856. It identifies plugin versions below 1.22.22 as vulnerable and logs results to vuln.txt. …
-
ubaydev/CVE-2024-8856 ★ 2 · Nov 16, 2024
WordPress WP Time Capsule Plugin Arbitrary File Upload Vulnerability
-
Evillm/CVE-2024-8856-PoC ★ 0 · Feb 4, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- WP Time Capsule Plugin - Remote Code Execution http/cves/2024/CVE-2024-8856.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/fdc2de78-5601-461f-b2f0-c80b592ccb1b?source=cve
- https://plugins.trac.wordpress.org/browser/wp-time-capsule/trunk/wp-tcapsule-bridge/upload/php/UploadHandler.php
- https://plugins.trac.wordpress.org/changeset/3188325/
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3153289%40wp-time-capsule&new=3153289%40wp-time-capsule&sfp_email=&sfph_mail=
- https://hacked.be/posts/CVE-2024-8856