CVE-2022-51023
JSON

8.8high

PHPOK < 5.4.081 SQL Injection via api.php sort Parameter

Severity
8.8high CVSS:4.0 by VulnCheck
Exploit likelihood
0.33% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
PHPOK PHPOKfrom 4.5.000 before 5.4.081CVE List

All scores

VulnCheck8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-51023 changed 2026-10-29CVE Terms of Use
NVDCVE-2022-51023 changed 2026-11-10Public domain