CVE-2025-55168CWE-89

WeGIA SQL Injection via id_fichamedica at endpoint `GET /html/saude/aplicar_medicamento.php`

Critical · published August 12, 2025

CVSS v4.0
9.4
EPSS
0%
Percentile
36.5
In the wild
Unconfirmed
What it is

🚨 A simple parameter misstep is the key to a wild ride! The WeGIA web manager has a SQL Injection vulnerability in its /html/saude/aplicar_medicamento.php endpoint, allowing attackers to run rogue SQL commands. 🔥 Think of it like a restaurant where the chef takes orders without checking the menu — any guest can request anything, including secret recipes or the entire kitchen stock! This SQL injection lets attackers manipulate data like a mischievous diner altering the entire menu behind the scenes. If exploited, an attacker could gain full control over the database, potentially stealing sensitive data, altering records, or even deleting critical information. This could lead to a catastrophic breach of confidentiality and integrity for all users and organizations relying on WeGIA, putting charitable missions at risk and devastating the trust placed in them.

Put simply

Think of it like a restaurant where the chef takes orders without checking the menu — any guest can request anything, including secret recipes or the entire kitchen stock! This SQL injection lets attackers manipulate data like a mischievous diner altering the entire menu behind the scenes. This SQL Injection vulnerability occurs because the id_fichamedica parameter does not properly validate user input, allowing attackers to inject arbitrary SQL commands into the database, compromising its security.

What to do

If exploited, an attacker could gain full control over the database, potentially stealing sensitive data, altering records, or even deleting critical information. This could lead to a catastrophic breach of confidentiality and integrity for all users and organizations relying on WeGIA, putting charitable missions at risk and devastating the trust placed in them. Immediately update WeGIA to version 3.4.8 or later to close this vulnerability. Ensure all input is validated and use prepared statements to safeguard against similar attacks in the future. Regularly audit your applications for potential security weaknesses. You've got this! With these steps, you can safeguard the integrity of your database and continue supporting those in need without worry. 🛡️

The record
Technical detail
CVSS v4.0
9.4 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS
0.00432 · 36.5th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-08-12T18:56Z
EPSS history
Timeline
  • 12 AUG 18:56Z
    WeGIA SQL Injection via id_fichamedica at endpoint `GET /html/saude/aplicar_medicamento.php`
    cvelistv5