{"id":"CVE-2022-51023","aliases":["CVE-2022-51023"],"related":[],"kind":"vulnerability","state":"published","title":"PHPOK < 5.4.081 SQL Injection via api.php sort Parameter","summary":"PHPOK 4.5.000 before 5.4.081 contains an SQL injection vulnerability that allows unauthenticated attackers to manipulate ORDER BY clauses via the sort parameter. Attackers can send GET requests to /api.php?c=project&f=index with extractvalue payloads in sort to extract database information through error messages. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PHPOK 4.5.000 before 5.4.081 contains an SQL injection vulnerability that allows unauthenticated attackers to manipulate ORDER BY clauses via the sort parameter. Attackers can send GET requests to /api.php?c=project&f=index with extractvalue payloads in sort to extract database information through error messages. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.","source":"cvelist"},{"lang":"es","text":"PHPOK versiones anteriores a 5.4.081 contiene una vulnerabilidad de inyección SQL que permite a atacantes no autenticados manipular cláusulas ORDER BY mediante el parámetro sort. Los atacantes pueden enviar solicitudes GET a /api.php?c=project&f=index con payloads extractvalue en sort para extraer información de la base de datos a través de mensajes de error. La evidencia de explotación se observó por primera vez por la Shadowserver Foundation el 2023-10-14.","source":"nvd"}],"published":"2026-10-22T10:57:33.897Z","modified":"2026-11-10T12:10:00.177Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"4.5.000","fixed":"5.4.081","status":"affected"}],"vendor":"PHPOK","product":"PHPOK","source":"cvelist"}],"references":[{"url":"https://github.com/qinggan/phpok/commit/d70c396f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/phpok-sqli.yaml","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/phpok-5.4.081-sql-injection-via-api-php-sort-parameter","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["The Shadowserver Foundation"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-29T02:04:26.699Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-51023","url":"https://www.cve.org/CVERecord?id=CVE-2022-51023","licence":"CVE Terms of Use","modified":"2026-10-29T02:04:37.497Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-51023","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51023","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.458Z","epss":{"score":0.00328,"percentile":0.27889,"date":"2026-12-01T12:00:22.000Z"}}