CVE-2022-47588 WordPress Simple Photo Gallery Plugin <= v1.8.1 is vulnerable to SQL Injection
An attacker can execute arbitrary SQL commands via the Simple Photo Gallery plugin, potentially reading or modifying database contents.
- 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-47588?
CVE-2022-47588 is a medium-severity SQL injection vulnerability in Tips and Tricks HQ, Peter Petreski Simple Photo Gallery, published on 3 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Tips and Tricks HQ, Peter Petreski Simple Photo Gallery simple-photo-gallery allows SQL Injection.This issue affects Simple Photo Gallery: from n/a through v1.8.1.
Weakness: CWE-89
Which versions are affected by CVE-2022-47588?
It affects 1 product.
Products include Tipsandtricks-Hq Simple Photo Gallery.
How do I fix CVE-2022-47588?
No fix has been published for CVE-2022-47588 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-2022-47588 being exploited?
There is no known exploitation of CVE-2022-47588 in the wild and no public exploit code.
Sources
Also known as GHSA-cpwc-3mjr-ghgw.