CVE-2024-57031

WeGIA < 3.2.0 is vulnerable to SQL Injection in /funcionario/remuneracao.php via the id_funcionario parameter

Critical · published January 17, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
49.9
In the wild
Unconfirmed
What it is

🔥 A single malleable parameter is all it takes to unleash SQL Injection in WeGIA versions prior to 3.2.0, and it's lurking in the `/funcionario/remuneracao.php` path! Think of it like a sneaky delivery driver who can access sensitive documents just by manipulating a package label. Just a slight change on their end can lead to them rifling through confidential files without a second thought! If an attacker exploits this vulnerability, they could gain complete control over the database — reading, modifying, or even deleting crucial data. This means confidential employee information could be compromised or tampered with, leading to absolutely devastating consequences for an organization.

Put simply

Think of it like a sneaky delivery driver who can access sensitive documents just by manipulating a package label. Just a slight change on their end can lead to them rifling through confidential files without a second thought! This SQL Injection vulnerability arises from improper validation of the `id_funcionario` parameter, allowing attackers to inject malicious SQL commands that the database will execute.

What to do

If an attacker exploits this vulnerability, they could gain complete control over the database — reading, modifying, or even deleting crucial data. This means confidential employee information could be compromised or tampered with, leading to absolutely devastating consequences for an organization. To protect your system, patch WeGIA to version 3.2.0 or later immediately. Additionally, consider implementing prepared statements to safeguard against SQL Injection in the future. You've got this! Following these steps will not only secure your system but also earn you some serious security hero points! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00636 · 49.9th percentile
Published
2025-01-17T00:00Z
EPSS history
Timeline
  • 17 JAN 00:00Z
    WeGIA < 3.2.0 is vulnerable to SQL Injection in /funcionario/remuneracao.php via the id_funcionario parameter
    cvelistv5