CVE-2022-51023
Tenable Plugin
Checking the public Tenable catalog…
AI Threat Summary
CVE-2022-51023 is a high-severity vulnerability with a CVSS score of 8.2 affecting the target software. This vulnerability allows SQL injection leading to unauthorized data access. Authentication can be bypassed allowing unauthenticated access. Threat hunters should monitor for exploit attempts and apply vendor patches immediately.
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.
Attack Chain
Attacker fingerprints web application and identifies injectable parameters using automated scanners
Attacker injects SQL payload via vulnerable parameter to bypass authentication or extract data
Attacker dumps database tables including user credentials, session tokens, and sensitive data
Extracted password hashes cracked offline using hashcat/john or plain-text credentials used directly
Valid credentials reused across other systems and services in the environment
MITRE ATT&CK Techniques
SQL injection exploited against web application database layer
Database contents exfiltrated including credentials and PII
Credentials stolen from database used for further access
Indicators of Compromise
| Type | Value | Description | |
|---|---|---|---|
| user_agent | Mozilla/5.0 (compatible; exploit/1.0) |
Generic exploit scanner user agent pattern | |
| url | /api/vuln-endpoint?payload=<malicious> |
Exploit attempt against application endpoint — monitor access logs for anomalous params | |
| url | ' OR 1=1-- |
Classic SQL injection payload — monitor WAF and DB query logs |
Remediation
Quick Facts
| CVE ID | CVE-2022-51023 |
| CVSS Score | 8.2 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| Published | 2026-10-22 |
| Exploited | No |
| CISA KEV | No |
| PoC | Available |