Database Cleaner <= 1.0.5 - Authenticated (Admin+) Arbitrary File Read

2024-06-06 00:00
Ananda Dhakal

Strategic Overview

Status
Patched in 1.0.6
Affected PluginDatabase Cleaner
Affected Version<= 1.0.5
CVSS4.9Medium
CVECVE-2024-35712
View all Database Cleaner vulnerabilities

Vulnerability Overview

The Database Cleaner: Clean, Optimize & Repair plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 1.0.5 via the get_logs() function. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information.

Technical Analysis

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