CVE-2021-24462: ays pro photo gallery by ays – responsive image gallery SQL Injection
Vulnerability summary
CVE-2021-24462 is a high (CVSS 8.8) SQL Injection vulnerability in ays pro photo gallery by ays – responsive image gallery. EPSS estimates a 1.36% chance of exploitation in the next 30 days, higher than 71.3% of scored vulnerabilities. 1 public exploit is recorded. Fixed in 4.4.4.
Timeline
- 02-08-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.36%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
0.00 pp
From 1.36% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Ays pro1 product
- photo gallery by ays – responsive image gallery≥ 4.4.4, < 4.4.4
Ays-pro1 product
- photo_gallery< 4.4.4
Wordpress1 product
- gallery-photo-gallery< 4.4.4
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/e24dac6d-de48-42c1-bdde-4a45fb331376X Refsource MISCExploitThird Party Advisory