BackWPup <= 4.0.1 - Authenticated (Administrator+) Directory Traversal

2024-08-16 00:00
Marco Wotschka

Strategic Overview

Status
Patched in 4.0.2
Affected Version<= 4.0.1
CVSS6.8Medium
CVECVE-2023-5505
View all BackWPup – WordPress Backup & Restore Plugin vulnerabilities

Vulnerability Overview

The BackWPup plugin for WordPress is vulnerable to Directory Traversal in versions up to, and including, 4.0.1 via the job-specific backup folder. This allows authenticated attackers to store backups in arbitrary folders on the server provided they can be written to by the server. Additionally, default settings will place an index.php and a .htaccess file into the chosen directory (unless already present) when the first backup job is run that are intended to prevent directory listing and file access. This means that an attacker could set the backup directory to the root of another site in a shared environment and thus disable that site.

Technical Analysis

REMEDIATION: Update to version 4.0.2, 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