← Back to search

CVE-2022-51023

8.2 HIGHpublic exploit available

Published 2026-10-22 · Updated 2026-10-29

AI risk analysis

Summary
PHPOK versions before 5.4.081 contain an SQL injection flaw in the project index endpoint that allows unauthenticated attackers to inject malicious SQL into ORDER BY clauses via the 'sort' parameter, enabling database information extraction through error-based payloads.
Exploitability
Exploitation is straightforward for remote attackers as it requires no authentication or user interaction and leverages a well-known error-based SQL injection technique.
Blast radius
Successful exploitation could lead to full database disclosure including sensitive credentials or internal data, with potential downstream impact on confidentiality and limited integrity due to error-based extraction.
Detection
Look for GET requests to /api.php?c=project&f=index containing suspicious 'sort' parameters with SQL error payloads such as extractvalue( or updatexml( in web server access logs or WAF logs.
Prioritized remediation
Upgrade to PHPOK version 5.4.081 or later, which contains the official fix for this vulnerability.
sql-injectionweberror-basedunauthenticatedinformation-disclosure

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Weaknesses

CWE-89

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.