CVE-2021-24507 Astra Pro Addon < 3.5.2 - Unauthenticated SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can inject SQL commands via AJAX parameters in the Astra Pro Addon plugin, potentially reading or modifying database content.

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

What is CVE-2021-24507?

CVE-2021-24507 is a critical SQL injection vulnerability in Unknown Astra Pro Addon, published on 9 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Astra Pro Addon WordPress plugin before 3.5.2 did not properly sanitise or escape some of the POST parameters from the astra_pagination_infinite and astra_shop_pagination_infinite AJAX action (available to both unauthenticated and authenticated user) before using them in SQL statement, leading to an SQL Injection issues

Weakness: CWE-89

Which versions are affected by CVE-2021-24507?

It affects 1 product.

Products include Brainstormforce Astra.

How do I fix CVE-2021-24507?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-5ph3-gq38-phg6.

Is CVE-2021-24507 in your software?

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

Check your SBOMs for free