LiveActive security incident?Get immediate response
CVE Record

CVE-2021-24462: Photo Gallery by Ays - Responsive Image Gallery < 4.4.4 - Authenticated Blind SQL Injections

The get_gallery_categories() and get_galleries() functions in the Photo Gallery by Ays – Responsive Image Gallery WordPress plugin before 4.4.4 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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A WordPress image gallery plugin accepted a database sorting value without proper validation. In versions before 4.4.4, an authenticated user could trigger blind SQL injection from admin dashboard functionality. This is not listed as actively exploited in the provided sources, but affected sites should update and review access.

Executive priority

Prioritize remediation for sites where many users have WordPress admin access or where database confidentiality matters. The issue is not KEV-listed in the provided evidence, but SQL injection can create meaningful data exposure risk.

Technical view

Photo Gallery by Ays – Responsive Image Gallery before 4.4.4 failed to whitelist or validate the orderby parameter in get_gallery_categories() and get_galleries(). That value reached SQL passed to get_results(), creating authenticated blind SQL injection in admin dashboard code paths. CWE-89 applies.

Likely exposure

Exposure is limited to WordPress sites running the Ays Pro Photo Gallery by Ays plugin before 4.4.4. The source bundle describes authenticated admin dashboard injection, so unauthenticated public exposure is not evidenced here.

Exploitation context

The provided sources do not show KEV listing, active exploitation, public exploit use, or required WordPress role details. The vulnerability is described as authenticated blind SQL injection through an orderby parameter used in plugin database queries.

Researcher notes

Evidence identifies vulnerable functions and the unsafe orderby parameter, but does not provide CVSS, role requirements, exploit telemetry, or detailed patch notes. Validate exposure by version and authenticated access paths, without assuming broader unauthenticated reach.

Mitigation direction

  • Update Photo Gallery by Ays to version 4.4.4 or later.
  • Check vendor guidance and WPScan notes for any additional remediation.
  • Restrict WordPress admin access to trusted users only.
  • Review plugin users and remove unnecessary accounts or privileges.

Validation and detection

  • Inventory WordPress sites using Photo Gallery by Ays.
  • Confirm installed plugin versions are 4.4.4 or later.
  • Review admin users with access to gallery management features.
  • Check logs for unusual authenticated gallery admin activity.
Prepared
Confidence
medium
Sources
3

Public sources used

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-24462 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Ays ProPhoto Gallery by Ays – Responsive Image Gallery4.4.4Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.