CVE-2024-55160
Published: 27 February 2025
Summary
CVE-2024-55160 is a critical-severity SQL Injection (CWE-89) vulnerability in G-Fast Gfast. Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 28.3th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Threat & Defense at a Glance
Threat & Defense Details
Mitigating Controls (NIST 800-53 r5)AI
SI-10 directly prevents SQL injection by requiring validation of untrusted inputs like the OrderBy parameter before incorporation into database queries.
SI-2 ensures timely flaw remediation by identifying and patching the SQL injection vulnerability in GFast versions v2 to v3.2.
SI-4 provides monitoring to detect SQL injection attacks through anomalous database activity or unauthorized queries at the /system/operLog/list endpoint.
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Direct unauthenticated remote exploitation of a public-facing web application endpoint via SQL injection.
NVD Description
GFast between v2 to v3.2 was discovered to contain a SQL injection vulnerability via the OrderBy parameter at /system/operLog/list.
Deeper analysisAI
GFast, a Go-based web framework, in versions from v2 to v3.2, contains a SQL injection vulnerability (CWE-89) via the OrderBy parameter in the /system/operLog/list endpoint. Assigned CVE-2024-55160 and published on 2025-02-27, this flaw earns a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), marking it as critical due to its potential for severe impact.
Unauthenticated remote attackers can exploit this vulnerability over the network with low attack complexity and no user interaction. Exploitation enables arbitrary SQL query execution against the backend database, granting high-impact access to confidentiality (e.g., data exfiltration), integrity (e.g., data tampering), and availability (e.g., denial of service).
Mitigation guidance and further details appear in advisories referenced at http://gfast.com and https://github.com/SuperDu1/CVE/issues/2. The vulnerable code is exposed in the project's os-v3.2 branch on GitHub, specifically at https://github.com/tiger1103/gfast/blob/os-v3.2/api/v1/system/sys_oper_log.go#L35 and https://github.com/tiger1103/gfast/blob/os-v3.2/internal/app/system/logic/sysOperLog/sys_oper_log.go#L121, with the full repository at https://github.com/tiger1103/gfast/tree/os-v3.2.
Details
- CWE(s)