CVE-2024-8856
published 2024-11-16CVE-2024-8856: 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…
PriorityP191critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEVInitial access
Exploited in the wild
EPSS
93.71%
99.8th percentile
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
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| revmakx | backup_and_staging_by_wp_time_capsule | < 1.22.22 | 1.22.22 |
| revmakx | backup_and_staging_by_wp_time_capsule | <= 1.22.21 | — |
Detection & IOCsextracted from sources · hover to see the quote
yara↗
id: CVE-2024-8856 — Nuclei template targeting POST to /wp-content/plugins/wp-time-capsule/wp-tcapsule-bridge/upload/php/index.php with multipart PHP file upload, followed by GET to /wp-content/plugins/wp-time-capsule/wp-tcapsule-bridge/upload/php/files/*.php
- →Monitor for unauthenticated POST requests to the vulnerable upload endpoint; the path /wp-content/plugins/wp-time-capsule/wp-tcapsule-bridge/upload/php/index.php with a multipart body containing a .php filename is a strong indicator of exploitation. ↗
- →Detect bypass technique: attacker uses a PHP filename whose total length matches that of allowed extensions (e.g., '.crypt' = 6 chars), such as '00.php', to pass the flawed extension-length check in UploadHandler.php. ↗
- →Alert on GET requests to /wp-content/plugins/wp-time-capsule/wp-tcapsule-bridge/upload/php/files/*.php, which indicates a previously uploaded webshell is being accessed for RCE. ↗
- →Use FOFA/PublicWWW fingerprint query to identify exposed vulnerable WordPress instances: search for body containing '/wp-content/plugins/wp-time-capsule/'. ↗
- →Successful exploit response contains JSON keys 'url":', '"files":', and '"deleteType":' in the response body from the upload endpoint — use these as detection words in WAF/IDS rules. ↗
- →The exploit sends Content-Type: text/php (or application/x-php) for the uploaded file part in the multipart request — flag multipart uploads to WordPress plugin paths where the file part Content-Type is a PHP MIME type. ↗
- ·The vulnerability affects all versions up to and including 1.22.21; the exploit-db PoC was tested specifically against version 1.21.16, so the exact upload path or behavior may vary slightly across sub-versions. ↗
- ·The Nuclei template uses a randomized 2-character base filename (randbase(2)) for the uploaded PHP file, meaning the exact filename in the upload path will vary per exploitation attempt — pattern-match on the directory path rather than a fixed filename. ↗
- ·No authentication is required to exploit this vulnerability; all detections should be scoped to unauthenticated (no valid WordPress session cookie) requests to the upload endpoint. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wph3-vq9m-q946: 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
ghsa_unreviewed·2024-11-16
CVE-2024-8856 [CRITICAL] CWE-434 GHSA-wph3-vq9m-q946: 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
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.
VulnCheck
revmakx backup_and_staging_by_wp_time_capsule Unrestricted Upload of File with Dangerous Type
vulncheck·2024·CVSS 9.8
CVE-2024-8856 [CRITICAL] revmakx backup_and_staging_by_wp_time_capsule Unrestricted Upload of File with Dangerous Type
revmakx backup_and_staging_by_wp_time_capsule Unrestricted Upload of File with Dangerous Type
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: revmakx backup_and_staging_by_wp_time_capsule
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://cyble.com/blog/cyble-sensors-detect-exploit-
No detection rules found.
Exploit-DB
Backup and Staging by WP Time Capsule 1.22.21 - Unauthenticated Arbitrary File Upload
exploitdb·2025-04-06·CVSS 9.8
CVE-2024-8856 [CRITICAL] Backup and Staging by WP Time Capsule 1.22.21 - Unauthenticated Arbitrary File Upload
Backup and Staging by WP Time Capsule 1.22.21 - Unauthenticated Arbitrary File Upload
---
# Exploit Title: WordPress Backup and Staging Plugin ≤ 1.21.16 - Arbitrary File Upload to RCE
# Original Author: Patchstack (hypothetical)
# Exploit Author: Al Baradi Joy
# Exploit Date: April 5, 2025
# Vendor Homepage: https://wp-timecapsule.com/
# Software Link: https://wordpress.org/plugins/wp-time-capsule/
# Version: Up to and including 1.21.16
# Tested Versions: 1.21.16
# CVE ID: CVE-2024-8856
# Vulnerability Type: Arbitrary File Upload / Remote Code Execution
# Description:
# The WordPress plugin "Backup and Staging by WP Time Capsule" up to version 1.21.16
# allows unauthenticated attackers to upload arbitrary files via the upload.php endpoint.
# This can lead to remote code execution if a PH
Metasploit
WordPress WP Time Capsule Arbitrary File Upload to RCE
metasploit
WordPress WP Time Capsule Arbitrary File Upload to RCE
WordPress WP Time Capsule Arbitrary File Upload to RCE
This module exploits an arbitrary file upload vulnerability in the WordPress WP Time Capsule plugin (versions <= 1.22.21). The vulnerability allows uploading a malicious PHP file to achieve remote code execution (RCE). The validation logic in the vulnerable function improperly checks for allowed extensions. If no valid extension is found, the check can be bypassed by using a filename of specific length (e.g., "00.php") matching the length of allowed extensions like ".crypt".
Nuclei
WP Time Capsule Plugin - Remote Code Execution
nuclei·CVSS 9.8
CVE-2024-8856 [CRITICAL] WP Time Capsule Plugin - Remote Code Execution
WP Time Capsule Plugin - Remote Code Execution
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.
Template:
id: CVE-2024-8856
info:
name: WP Time Capsule Plugin - Remote Code Execution
author: iamnoooob,rootxharsh,pdresearch
severity: critical
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 an
Greynoiseio
NoiseLetter January 2025
blogs_greynoiseio
NoiseLetter January 2025
CVE Disclosure Early Warning Get an early warning when traffic spikes indicate a high likelihood of new disclosures
Compromised Asset Detection Find out immediately if an asset communicates with a malicious IP address
Vulnerability Prioritization Get real-time insight into active exploitation trends to better understand risk and severity
SOC Efficiency Filter out noisy, low priority and false-positive alerts from mass internet scanners
Incident Investigation Add context to incidents to speed the determinations of scope and timelines
Threat Hunting Quickly identify anomalous behavior and enrich your threat hunting campaigns
Why GreyNoise
CVE Disclosure Early Warning Get an early warning when traffic spikes indicate a high likelihood of new disclosures
Compromised Asset Detection Fin
Bugzilla
CVE-2024-24857 kernel: net/bluetooth: race condition in conn_info_{min,max}_age_set()
bugzilla·2024-02-27·CVSS 6.8
CVE-2024-24857 [MEDIUM] CVE-2024-24857 kernel: net/bluetooth: race condition in conn_info_{min,max}_age_set()
CVE-2024-24857 kernel: net/bluetooth: race condition in conn_info_{min,max}_age_set()
A race condition was found in the Linux kernel's net/bluetooth device driver in conn_info_{min,max}_age_set() function. This can result in integrity overflow issue, possibly leading to bluetooth connection abnormality or denial of service.
https://bugzilla.openanolis.cn/show_bug.cgi?id=8155
Discussion:
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 2298819]
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 8
Via RHSA-2024:8870 https://access.redhat.com/errata/RHSA-2024:8870
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 8
Via RHSA-2024:8856 https://access.redhat.com/errata/RHSA-2024:8856
---
Th
https://hacked.be/posts/CVE-2024-8856https://plugins.trac.wordpress.org/browser/wp-time-capsule/trunk/wp-tcapsule-bridge/upload/php/UploadHandler.phphttps://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://www.wordfence.com/threat-intel/vulnerabilities/id/fdc2de78-5601-461f-b2f0-c80b592ccb1b?source=cve
2024-11-16
Published
Exploited in the wild