CVE-2019-25218 Photo Gallery Slideshow & Masonry Tiled Gallery <= 1.0.3 - Authenticated (Admin+) SQL Injection
Authenticated administrators can exploit SQL injection to extract sensitive database information from the Photo Gallery Slideshow & Masonry Tiled Gallery 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-2019-25218?
CVE-2019-25218 is a medium-severity SQL injection vulnerability in nik00726 Photo Gallery Slideshow & Masonry Tiled Gallery, published on 19 Oct 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The Photo Gallery Slideshow & Masonry Tiled Gallery plugin for WordPress is vulnerable to SQL Injection via the 'id' parameter in all versions up to, and including, 1.0.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Weakness: CWE-89
Which versions are affected by CVE-2019-25218?
It affects 1 product.
Products include I13websolution Photo Gallery Slideshow \& Masonry Tiled Gallery.
How do I fix CVE-2019-25218?
No fix has been published for CVE-2019-25218 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-2019-25218 being exploited?
There is no known exploitation of CVE-2019-25218 in the wild and no public exploit code.
Other vulnerabilities in nik00726 Photo Gallery Slideshow & Masonry Tiled Gallery
Sources
Also known as GHSA-f8jc-4j6x-95qv.