CVE-2026-54767 Details
Description
WeGIA is a web manager for charitable institutions. Prior to 3.8.5, web/html/socio/sistema/controller/deletar_socios.php exposes an unauthenticated GET endpoint whose chave parameter is checked only against a hardcoded chave_correta value embedded in the public source repository. A remote attacker who obtains that value can reach the endpoint's TRUNCATE TABLE operations for the endereco, pessoafisica, pessoajuridica, and socio tables without an administrative session or application authorization, permanently destroying member and contributor records. The attack requires the affected tables to exist and the web process database account to possess truncation privileges. This issue is fixed in version 3.8.5.
A critical vulnerability exists in WeGIA, a web management application for charitable organizations, in versions prior to 3.8.5. The issue arises from a hardcoded secret key embedded in the public source repository, which is exposed through an unauthenticated GET endpoint in 'web/html/socio/sistema/controller/deletar_socios.php'. This endpoint allows remote attackers who obtain the correct key to execute TRUNCATE TABLE operations on several tables, including 'endereco', 'pessoafisica', 'pessoajuridica', and 'socio', without any administrative privileges or application authorization. The vulnerability permanently deletes member and contributor records. Exploitation requires the affected tables to be present and the web process database account to have truncation rights.
The 'deletar_socios.php' file should be immediately removed from the web-accessible directory. If the functionality is still needed, it should be implemented as an authenticated method that requires admin privileges, uses the POST method with a CSRF token, and includes a confirmation step. Additionally, the secret key should be stored in an environment variable instead of hardcoded in the source code.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 17, 2026CISA-ADP
Assessed Sep 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-399w-rxhp-jh9f | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/LabRedesCefetRJ/WeGIA/commit/84d9d0a7c66c29b238ab381ffcfb9e0ce260796a | [email protected] | Source CodeVendor |
| https://github.com/LabRedesCefetRJ/WeGIA/pull/1689 | [email protected] | Issue TrackingVendor |
| https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.5 | [email protected] | Release NotesVendor |
| https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-399w-rxhp-jh9f | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-798 | Use of Hard-coded Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LabRedesCefetRJ WeGIA | <= 3.8.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 18, 2026 | CVE Modified | CISA-ADP |
| Sep 17, 2026 | New CVE Received | [email protected] |
Volerion