Backup Migration <= 1.3.9 - Unauthenticated Path Traversal to Arbitrary File Deletion

2023-12-22 00:00
Hiroho Shimada

Strategic Overview

Status
Patched in 1.4.0
Affected PluginBackup Migration
Affected Version<= 1.3.9
CVSS9.8Critical
CVECVE-2023-6972
View all Backup Migration vulnerabilities

Vulnerability Overview

The Backup Migration plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.3.9 via the 'content-backups' and 'content-name', 'content-manifest', or 'content-bmitmp' and 'content-identy' HTTP headers. This makes it possible for unauthenticated attackers to delete arbitrary files, including the wp-config.php file, which can make site takeover and remote code execution possible.

Technical Analysis

REMEDIATION: Update to version 1.4.0, or a newer patched version --- IDENTIFIER: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C