CVE-2022-0493 String Locator < 2.5.0 - Admin+ Arbitrary File Read
Administrators can read arbitrary files on the web server due to improper path validation in the String Locator plugin.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-0493?
CVE-2022-0493 is a medium-severity path traversal vulnerability in Unknown String locator, published on 28 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2022-0493?
It affects 1 product.
Products include String Locator Project String Locator.
How do I fix CVE-2022-0493?
No fix has been published for CVE-2022-0493 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-0493 being exploited?
There is no known exploitation of CVE-2022-0493 in the wild and no public exploit code.
Sources
Also known as GHSA-qh3x-66g3-36hw.