CVE-2022-2434 String Locator <= 2.5.0 - Cross-Site Request Forgery to PHAR Deserialization
Unauthenticated attackers can achieve remote code execution via PHAR deserialization if they trick an admin into clicking a link and upload a malicious file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-2434?
CVE-2022-2434 is a high-severity unsafe deserialization vulnerability in instawp String locator, published on 6 Sep 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The String Locator plugin for WordPress is vulnerable to deserialization of untrusted input via the 'string-locator-path' parameter in versions up to, and including 2.5.0. This makes it possible for unauthenticated users to call files using a PHAR wrapper, granted they can trick a site administrator into performing an action such as clicking on a link, that will deserialize and call arbitrary PHP Objects that can be used to perform a variety of malicious actions granted a POP chain is also present. It also requires that the attacker is successful in uploading a file with the serialized payload.
Weakness: CWE-502
Which versions are affected by CVE-2022-2434?
It affects 1 product.
Products include Instawp String Locator.
How do I fix CVE-2022-2434?
No fix has been published for CVE-2022-2434 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2022-2434 being exploited?
There is no known exploitation of CVE-2022-2434 in the wild and no public exploit code.
Other vulnerabilities in instawp String locator
Sources
Also known as GHSA-q8hw-79g9-xx95.