{"api_version":"1","generated_at":"2026-07-23T15:34:52+00:00","cve":"CVE-2021-24457","urls":{"html":"https://cve.report/CVE-2021-24457","api":"https://cve.report/api/cve/CVE-2021-24457.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-24457","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-24457"},"summary":{"title":"CVE-2021-24457","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","state":"PUBLIC","assigner":"contact@wpscan.com","published_at":"2021-08-02 11:15:00","updated_at":"2021-08-10 01:32:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://wpscan.com/vulnerability/97f4f7da-22a8-42a6-88ac-82e95a6c06dd","name":"https://wpscan.com/vulnerability/97f4f7da-22a8-42a6-88ac-82e95a6c06dd","refsource":"MISC","tags":[],"title":"Attention Required! | Cloudflare","mime":"text/html","httpstatus":"403","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-24457","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24457","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"To Quang Duong","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"24457","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ays-pro","cpe5":"portfolio_responsive_gallery","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ID":"CVE-2021-24457","ASSIGNER":"contact@wpscan.com","STATE":"PUBLIC","TITLE":" Portfolio Responsive Gallery < 1.1.8 - Authenticated Blind SQL Injections"},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","generator":"WPScan CVE Generator","affects":{"vendor":{"vendor_data":[{"vendor_name":"Ays Pro","product":{"product_data":[{"product_name":"Portfolio Responsive Gallery","version":{"version_data":[{"version_affected":"<","version_name":"1.1.8","version_value":"1.1.8"}]}}]}}]}},"description":{"description_data":[{"lang":"eng","value":"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"}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://wpscan.com/vulnerability/97f4f7da-22a8-42a6-88ac-82e95a6c06dd","name":"https://wpscan.com/vulnerability/97f4f7da-22a8-42a6-88ac-82e95a6c06dd"}]},"problemtype":{"problemtype_data":[{"description":[{"value":"CWE-89 SQL Injection","lang":"eng"}]}]},"credit":[{"lang":"eng","value":"To Quang Duong"}],"source":{"discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-08-02 11:15:00","lastModifiedDate":"2021-08-10 01:32:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ays-pro:portfolio_responsive_gallery:*:*:*:*:*:wordpress:*:*","versionEndExcluding":"1.1.8","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"24457","Ordinal":"199219","Title":"CVE-2021-24457","CVE":"CVE-2021-24457","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"24457","Ordinal":"1","NoteData":"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","Type":"Description","Title":null},{"CveYear":"2021","CveId":"24457","Ordinal":"2","NoteData":"2021-08-02","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"24457","Ordinal":"3","NoteData":"2021-08-02","Type":"Other","Title":"Modified"}]}}}