{"id":"CVE-2021-24462","aliases":["CVE-2021-24462"],"related":[],"kind":"vulnerability","state":"published","title":"Photo Gallery by Ays - Responsive Image Gallery < 4.4.4 - Authenticated Blind SQL Injections","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"Las funciones get_gallery_categories() y get_galleries() del plugin de WordPress Photo Gallery by Ays - Responsive Image Gallery versiones anteriores a 4.4.4, 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 control del administrador","source":"nvd"}],"published":"2021-08-02T10:32:08.000Z","modified":"2026-06-17T03:40:04.433Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"4.4.4","fixed":"4.4.4","status":"affected"}],"vendor":"Ays Pro","product":"Photo Gallery by Ays – Responsive Image Gallery","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.4.4"}],"vendor":"ays-pro","product":"photo_gallery","cpe":"cpe:2.3:a:ays-pro:photo_gallery:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/e24dac6d-de48-42c1-bdde-4a45fb331376","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["To Quang Duong"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24462","url":"https://www.cve.org/CVERecord?id=CVE-2021-24462","licence":"CVE Terms of Use","modified":"2024-08-03T19:35:18.686Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24462","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24462","licence":"Public domain","modified":"2026-06-17T03:40:04.433Z"}],"updatedAt":"2026-11-25T22:58:02.912Z","epss":{"score":0.01362,"percentile":0.72571,"date":"2026-12-01T12:00:22.000Z"}}