CVE-2021-24457 Portfolio Responsive Gallery < 1.1.8 - Authenticated Blind SQL Injections

High 8.8 Published Updated

Authenticated attackers can exploit SQL injection in the Portfolio Responsive Gallery plugin to read or modify database contents via the admin dashboard.

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-24457?

CVE-2021-24457 is a high-severity SQL injection vulnerability in Ays Pro Portfolio Responsive Gallery, published on 2 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The get_portfolios() and get_portfolio_attributes() functions in the class-portfolio-responsive-gallery-list-table.php and class-portfolio-responsive-gallery-attributes-list-table.php files of the Portfolio Responsive Gallery WordPress plugin before 1.1.8 did not use whitelist or validate the orderby parameter before using it in SQL statements passed to the get_results() DB calls, leading to SQL injection issues in the admin dashboard

Weakness: CWE-89

Which versions are affected by CVE-2021-24457?

It affects 1 product.

Products include Ays-Pro Portfolio Responsive Gallery.

How do I fix CVE-2021-24457?

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

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

Sources

Also known as GHSA-w399-vx6v-6gr5.

Is CVE-2021-24457 in your software?

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

Check your SBOMs for free