ZeroDay Brief
CVE-2022-51023

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.

CVSS
8.2High
Chance of exploitation (EPSS)
0.26%
Published
Oct 22, 2026
In the news
Not yet
More from this vendor

What to do

A serious SQL injection flaw in Phpok that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 5.4.081

Affected versions
Phpok
4.5.000 to before 5.4.081

Description

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.

CWE-89

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2022-51023 published (CVSS 8.2) (Oct 22, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Thu, Oct 22, 2026

  1. CVECVE-2022-51023 published (CVSS 8.2)CVE Program · 11:17 UTC

References 3

  • github.com /projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/phpok-sqli.yaml
  • github.com /qinggan/phpok/commit/d70c396f
  • www.vulncheck.com /advisories/phpok-5.4.081-sql-injection-via-api-php-sort-parameter

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”