{"id":"CVE-2022-51023","aliases":[],"url":"https://o3.security/vulnerability/CVE-2022-51023","summary":"PHPOK < 5.4.081 SQL Injection via api.php sort Parameter","details":"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.","published":"2026-10-22T10:57:33.897Z","modified":"2026-10-23T02:45:05.912494947Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/qinggan/phpok/commit/d70c396f","label":"qinggan/phpok@d70c396"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51023.json"},{"type":"ARTICLE","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/phpok-sqli.yaml"},{"type":"FIX","url":"https://github.com/qinggan/phpok/commit/d70c396f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51023"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/phpok-5.4.081-sql-injection-via-api-php-sort-parameter"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-23T02:45:05.912494947Z"}}