ZeroHour

CVE-2024-8856

moderate

Unauthenticated Arbitrary File Upload in Backup and Staging by WP Time Capsule

CVSS 3.1
9.8 critical
EPSS
94%p100
Published
()
Modified
AI analysis

The Backup and Staging by WP Time Capsule WordPress plugin (all versions up to and including 1.22.21) fails to validate file types in its UploadHandler.php file and does not prevent direct access to uploaded files, making it vulnerable to unauthenticated arbitrary file uploads (CWE-434). An unauthenticated remote attacker can reach the upload handler over the network and upload arbitrary files, such as PHP scripts, to the affected site's server. Because uploaded files are not protected from direct access, an attacker may be able to execute the uploaded files, potentially achieving full remote code execution and compromise of the site and its host. Any WordPress site running the plugin at version 1.22.21 or earlier is affected. The flaw is not yet listed in CISA KEV and no public proof-of-concept is known, but the 94% EPSS score (100th percentile) indicates a very high probability of exploitation within the next 30 days.

What to do: Upgrade Backup and Staging by WP Time Capsule to version 1.22.22 or later, which adds file-type validation and direct-access prevention for uploads. Until patched, block or restrict unauthenticated access to the plugin's UploadHandler.php endpoint (e.g., via WAF rules) and audit upload directories for unexpected PHP files. Review web server logs for suspicious unauthenticated POST requests to the upload handler to identify potential exploitation.

Affected
revmakx Backup and Staging by WP Time Capsule (WordPress plugin)All versions up to and including 1.22.21
Estimated exposure
moderate≈10,000–20,000 WordPress sites (plugin listed at 10k+ active installs on WordPress.org) — Estimate based on the plugin's WordPress.org active-install count (~10,000+), with the vulnerable range covering all releases through 1.22.21.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Vendors
revmakx
Products
backup and staging by wp time capsule
Ecosystems
WordPress
Weakness
CWE-434
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.