Theme Editor <= 2.5 - Authenticated Arbitrary File Download

2021-02-13 00:00
Nguyen Van Khanh

Strategic Overview

Status
Patched in 2.6
Affected PluginTheme Editor
Affected Version<= 2.5
CVSS4.9Medium
CVECVE-2021-24154
View all Theme Editor vulnerabilities

Vulnerability Overview

The Theme Editor WordPress plugin before 2.6 did not validate the GET file parameter before passing it to the download_file() function, allowing administrators to download arbitrary files on the web server, such as /etc/passwd

Technical Analysis

REMEDIATION: Update to version 2.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