CVE-2024-57034

WeGIA < 3.2.0 is vulnerable to SQL Injection in query_geracao_auto.php via the query parameter

Critical · published January 17, 2025

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

🚨 A sneaky SQL injection vulnerability lurks in WeGIA versions < 3.2.0, ready to let attackers run rampant through your database! 🔥 Think of it like a restaurant that serves dishes without checking the recipe first — any customer could slip in a dangerous ingredient and ruin the meal! 🍽️ An attacker could exploit this vulnerability to execute any SQL commands they desire, potentially gaining access to sensitive data, altering database contents, or even deleting critical information. The consequences are absolutely devastating — your entire database could become their playground!

Put simply

Think of it like a restaurant that serves dishes without checking the recipe first — any customer could slip in a dangerous ingredient and ruin the meal! 🍽️ This SQL injection vulnerability exists in the query_geracao_auto.php file, where unsanitized user input in the query parameter can be manipulated to execute arbitrary SQL queries.

What to do

An attacker could exploit this vulnerability to execute any SQL commands they desire, potentially gaining access to sensitive data, altering database contents, or even deleting critical information. The consequences are absolutely devastating — your entire database could become their playground! Immediately update WeGIA to version 3.2.0 or later to close this loophole. Additionally, implement prepared statements for your database queries to ensure user inputs are properly sanitized. Regularly audit your code base for similar vulnerabilities to bolster your defenses. You've got this! Follow these steps, and you'll have your database locked down in no time. 🛡️

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.00618 · 49.0th percentile
Published
2025-01-17T00:00Z
EPSS history
Timeline
  • 17 JAN 00:00Z
    WeGIA < 3.2.0 is vulnerable to SQL Injection in query_geracao_auto.php via the query parameter
    cvelistv5