String Locator <= 2.4.2 - Authenticated Arbitrary File Read

2022-03-01 00:00
qerogram

Strategic Overview

Status
Patched in 2.5.0
Affected PluginString locator
Affected Version< 2.5.0
CVSS4.9Medium
CVECVE-2022-0493
View all String locator vulnerabilities

Vulnerability Overview

The String locator WordPress plugin before 2.5.0 does not properly validate the path of the files to be searched, allowing high privilege users such as admin to query arbitrary files on the web server via a path traversal vector. Furthermore, due to a flaw in the search, allowing a pattern to be provided, which will be used to output the relevant matches from the matching file, all content of the file can be disclosed.

Technical Analysis

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