CVE-2024-57031
Published: 17 January 2025
Summary
CVE-2024-57031 is a critical-severity SQL Injection (CWE-89) vulnerability in Wegia Wegia. Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 36.7% of CVEs by exploit likelihood; 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 RA-5 (Vulnerability Monitoring and Scanning) and SI-10 (Information Input Validation).
Threat & Defense at a Glance
Threat & Defense Details
Mitigating Controls (NIST 800-53 r5)AI
SI-10 mandates validation of user inputs like the id_funcionario parameter to prevent SQL injection by ensuring malicious payloads are rejected.
SI-2 requires timely remediation of flaws such as this SQL injection vulnerability through patching to WeGIA 3.2.0 or later.
RA-5 employs vulnerability scanning to identify SQL injection flaws like CVE-2024-57031 and remediate them before exploitation.
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection vulnerability in a web application enables exploitation of public-facing applications (T1190) and direct access to databases for data collection (T1213.006).
NVD Description
WeGIA < 3.2.0 is vulnerable to SQL Injection in /funcionario/remuneracao.php via the id_funcionario parameter.
Deeper analysisAI
CVE-2024-57031, published on 2025-01-17, is a SQL injection vulnerability (CWE-89) affecting WeGIA versions prior to 3.2.0. The issue is located in the /funcionario/remuneracao.php component, where the id_funcionario parameter fails to properly sanitize user input, allowing malicious SQL payloads to be injected into backend database queries.
The vulnerability carries 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), indicating critical severity. A remote, unauthenticated attacker requires only network access and can exploit it with low complexity and no user interaction. Successful exploitation enables arbitrary SQL execution, potentially resulting in high-impact compromise of confidentiality, integrity, and availability, such as unauthorized data access, modification, deletion, or denial of service against the database.
Advisories recommend upgrading to WeGIA 3.2.0 or later to mitigate the vulnerability. Further technical details and proof-of-concept information are available in the research repository at https://github.com/nmmorette/vulnerability-research/tree/main/CVE-2024-57031, with additional context on the official site at https://www.wegia.org/.
Details
- CWE(s)