Overview
The CVE-2025-55168 is a severe cybersecurity vulnerability discovered in the WeGIA open-source web manager, a tool predominantly used by Portuguese-speaking charitable institutions. This vulnerability has grave implications as it could potentially lead to a system compromise or data leakage, especially for these often vulnerable organizations. The vulnerability lies in the web application’s inability to correctly sanitize input in certain fields, leading to a SQL Injection vulnerability.
Vulnerability Summary
CVE ID: CVE-2025-55168
Severity: Critical (9.8 CVSS Score)
Attack Vector: Network
Privileges Required: Low
User Interaction: Required
Impact: Confidentiality, Integrity, and Availability of the database could be compromised, leading to potential system compromise or data leakage.
Affected Products
Share secrets securely
Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.
Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.
- • Encrypted identity
- • Private Spaces for organizations and teams
- • End-to-end encrypted chat, calls, files, and notes
- • Sensitive AI work and protected collaboration
- • Built for information that cannot leak
Our mission is to secure human work alongside AI.
Product | Affected Versions
WeGIA Web Manager | Prior to version 3.4.8
How the Exploit Works
The exploit works by injecting malicious SQL commands into the `id_fichamedica` parameter of the `/html/saude/aplicar_medicamento.php` endpoint. Due to improper input validation, these commands are executed directly on the database, allowing an attacker to manipulate data, exfiltrate confidential information, or even execute commands on the underlying system.
Conceptual Example Code
The following is a conceptual example of how the vulnerability might be exploited. This is a sample HTTP GET request where an attacker uses a SQL Injection payload in the `id_fichamedica` parameter:
GET /html/saude/aplicar_medicamento.php?id_fichamedica=1' OR '1'='1 HTTP/1.1
Host: target.example.com
In this example, the SQL Injection payload `’ OR ‘1’=’1` would cause the database query to return true for all rows, potentially revealing all medical records in the database.
Mitigation Guidance
The vulnerability has been patched in WeGIA Web Manager version 3.4.8. Users are strongly advised to update to the latest version to mitigate this vulnerability. If immediate patching is not feasible, temporary mitigation may be achieved by implementing a Web Application Firewall (WAF) or Intrusion Detection System (IDS) to detect and block attempted exploits of this vulnerability.
