CVE-2024-4145 Search & Replace < 3.2.2 - Admin+ SQL injection
Administrators can perform SQL injection attacks in the Search & Replace WordPress plugin due to unsanitized parameters.
- 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-2024-4145?
CVE-2024-4145 is a low-severity SQL injection vulnerability in Unknown Search & Replace, published on 13 Jun 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The Search & Replace WordPress plugin before 3.2.2 does not sanitize and escape a parameter before using it in a SQL statement, allowing admins to perform SQL injection attacks (such as within a multi-site network).
Weakness: CWE-89
Which versions are affected by CVE-2024-4145?
It affects 1 product.
Products include Wp-Media Search \& Replace.
How do I fix CVE-2024-4145?
No fix has been published for CVE-2024-4145 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-4145 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4145 exists.
Other vulnerabilities in Unknown Search & Replace
Sources
Also known as GHSA-q492-8r5j-853q.