WordPress Plugin Vulnerabilities

WP Staging (Free < 3.1.3, Pro < 5.1.3) - Unauthenticated Backup Download

Description

The plugin does not prevent visitors from leaking key information about ongoing backups processes, allowing unauthenticated attackers to download said backups later.

Proof of Concept

The plugin creates temporary cache files when backing up sites, which are publicly accessible to anyone. Said cache files contain critical information (such as a backup's secret ID), allowing attackers to find and download the resulting backup files.

While running a new backup (or one automatically runs!), try to get ahold of the following cache file:

https://vulnerable-site.tld/wp-content/uploads/wp-staging/cache/jobCache_backup_job.cache

Once this is done, you will find the resulting backup file at https://vulnerable-site.tld/wp-content/uploads/wp-staging/backups/vulnerable-site.tld_YYYYMMDD-HHMMSS_SECRETID.wpstg

You can find the date ("YYMMDD"), the time ("HHMMSS") and SECRETID in the information leaked from the cache file.

Affects Plugins

Fixed in 3.1.3
Fixed in 5.1.3

References

Classification

Type
SENSITIVE DATA DISCLOSURE
CWE

Miscellaneous

Original Researcher
Dmitrii Ignatyev
Submitter
Dmitrii Ignatyev
Submitter website
Verified
Yes

Timeline

Publicly Published
2023-12-06 (about 5 months ago)
Added
2023-12-07 (about 5 months ago)
Last Updated
2023-12-13 (about 5 months ago)

Other