CVE-2021-24465 Meow Gallery < 4.1.9 - Contributor+ SQL Injection

High 8.1 Published Updated

Authenticated contributors can exploit SQL injection in the Meow Gallery plugin to read data and potentially execute code via deserialization.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-24465?

CVE-2021-24465 is a high-severity SQL injection vulnerability in Unknown Meow Gallery (+ Gallery Block), published on 4 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Meow Gallery WordPress plugin before 4.1.9 does not sanitise, validate or escape the ids attribute of its gallery shortcode (available for users as low as Contributor) before using it in an SQL statement, leading to an authenticated SQL Injection issue. The injection also allows the returned values to be manipulated in a way that could lead to data disclosure and arbitrary objects to be deserialized.

Weakness: CWE-89

Which versions are affected by CVE-2021-24465?

It affects 1 product.

Products include Meowapps Meow Gallery.

How do I fix CVE-2021-24465?

No fix has been published for CVE-2021-24465 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-2021-24465 being exploited?

There is no known exploitation of CVE-2021-24465 in the wild and no public exploit code.

Sources

Also known as GHSA-f238-42hq-gm36.

Is CVE-2021-24465 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free