8.8high
Portfolio Responsive Gallery < 1.1.8 - Authenticated Blind SQL Injections
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 1.40% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Ays Pro Portfolio Responsive Gallery | from 1.1.8 before 1.1.8 | CVE List |
| ays-pro portfolio_responsive_gallery | before 1.1.8 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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
NVD (es)
Las funciones get_portfolios() y get_portfolio_attributes() de los archivos class-portfolio-responsive-gallery-list-table.php y class-portfolio-responsive-gallery-attributes-list-table.php del plugin Portfolio Responsive Gallery de WordPress versiones anteriores a 1.1.8, no usaban la lista blanca ni comprobaban el parámetro orderby antes de usarlo en las sentencias SQL pasadas a las llamadas a la base de datos get_results(), conllevando a problemas de inyección SQL en el panel de administración
References
| https://wpscan.com/vulnerability/97f4f7da-22a8-42a6-88ac-82e95a6c06dd | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24457 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24457 changed 2026-06-17 | Public domain |