Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRead hardcoded chave from public GitHub repo
-
DeliverySend unauthenticated GET to deletar_socios.php with chave
-
Exploitsha256 comparison passes
-
ExecutionEndpoint runs TRUNCATE on member/contributor tables
-
ImpactPermanent destruction of endereco/pessoafisica/pessoajuridica/socio records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No authentication or user interaction required: deletar_socios.php is an unauthenticated GET endpoint whose only gate is a sha256 match against the hardcoded |
| Impact | This is a genuinely high-severity, low-friction data-destruction flaw. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H, 9.1) is well-supported: the endpoint is a plain unauthenticated GET, and the only gate is a sha256 comparison against a hardcoded |
| Exploit ScenarioDerived | An attacker reads the hardcoded |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Unauthenticated, unauthenticated-by-design HTTP GET requests to WeGIA's deletar_socios.php endpoint before version 3.8.5 can irrevocably wipe member and contributor records, because the endpoint's only gate is a SHA-256 comparison against a hardcoded key string that ships in the public source repository and is therefore known to any attacker who reads the code. Per the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N, no session, credential, or user interaction is needed; the practical limits are that the target must run a pre-3.8.5 release, the endereco, pessoafisica, pessoajuridica, and socio tables must exist, and the web process's database account must hold TRUNCATE privileges. With a CVSS base score of 9.1 and integrity/availability impact rated High (and no confidentiality impact), the flaw is a low-friction data-destruction issue; no public exploit code was identified at time of analysis and the issue is not in CISA KEV, though the required key value is exposed by design in the repository. Vendor-released patch: 3.8.5.
RemediationAI
Upgrade WeGIA to 3.8.5 or later (https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.5), which removes deletar_socios.php entirely per commit 84d9d0a7c66c29b238ab381ffcfb9e0ce260796a and PR https://github.com/LabRedesCefetRJ/WeGIA/pull/1689; the vendor advisory is at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-399w-rxhp-jh9f. If immediate upgrade is not possible, apply layered compensating controls: (1) block the exact path at the web server or reverse proxy - return 403/404 for /web/html/socio/sistema/controller/deletar_socios.php and, more broadly, deny direct HTTP access to any .php file under the controller directories - with the trade-off that this is path-specific and will not protect renamed copies of the script or other unauthenticated controllers; (2) strip DDL privileges from the application's database account (REVOKE TRUNCATE, DROP, and ALTER) so that even if the check is bypassed the TRUNCATE statements fail - the trade-off is that any legitimate schema-maintenance or reset tooling that relies on those privileges will break and must be run under a separate administrative account; (3) front the WeGIA instance with authentication at the network or reverse-proxy layer if it must remain internet-reachable, accepting that this changes the access model for all users. Because the gate value is public, rotating it provides no protection. Regardless of mitigation chosen, verify that a recent, restorable backup of the endereco, pessoafisica, pessoajuridica, and socio tables exists, since TRUNCATE cannot be rolled back and destroys data in place.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WeGIA is a PHP web application (the project is tagged PHP and Authentication Bypass) whose socio module previously exposed web/html/socio/sistema/controller/deletar_socios.php, a script that connects via conexao.php and performs destructive database maintenance. The root cause class is CWE-306, Missing Authentication for Critical Function: the script never establishes a session, checks a role, or validates an application authorization token. Its sole control was a comparison of hash('sha256', $_GET['chave']) against hash('sha256', $chave_correta), where $chave_correta was a literal string ('h)8^#w4T<HaN-GSc&BM3[<?mvG[R?b') committed to the public GitHub repository - a shared-secret check with no confidentiality, giving an attacker who reads the source exactly the material needed to satisfy it. Once the check passed, the code issued SET FOREIGN_KEY_CHECKS=0, looped over the hardcoded table list endereco, pessoafisica, pessoajuridica, and socio, and ran TRUNCATE TABLE against each via mysqli_query, restoring SET FOREIGN_KEY_CHECKS=1 afterward. TRUNCATE is a DDL operation, so it is not transaction-rollback recoverable and it resets auto-increment counters, which is why the impact is rated High on both Integrity and Availability with None on Confidentiality. The upstream commit 84d9d0a7c66c29b238ab381ffcfb9e0ce260796a resolves the flaw by deleting the file outright (the diff shows the full 35-line script removed, 0 insertions), rather than by adding an authentication gate - confirming the endpoint had no legitimate authorized use case. A CPE string was not supplied in the available data, so affectedness should be established by WeGIA version and by checking for the presence of the controller file.
Know when Wegia gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Unauthenticated network GET with a publicly-known hardcoded key means PR:N/AC:L; TRUNCATE destroys data giving I:H/A:H, and nothing is read so C:N.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
The flaw is CWE-306, Missing Authentication for Critical Function, combined with CWE-798, Use of Hard-coded Credentials.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
WeGIA installations running releases earlier than 3.8.5 can have their entire member and contributor records permanently erased by a single unauthenticated HTTP request, and the deletion cannot be undone. The only protection is a secret key value that is published in the project's public source code, so any actor able to reach the application already possesses everything needed to trigger the wipe. Leadership should treat this as a data-integrity and business-continuity risk: the loss of membership records would disrupt billing, communications, eligibility tracking, and any downstream reporting that depends on that data.
No vendor-released patch identified at time of analysis. Interim mitigations: block or deny network access to deletar_socios.php at the perimeter or reverse proxy; revoke TRUNCATE privileges from the web application's database account; isolate affected instances from untrusted networks; maintain verified, tested backups on a separate system so records can be restored if wiped; enable logging and alerting on requests to destructive endpoints.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Critical OS Command Injection vulnerability in WeGIA (a web management system for charitable institutions) versions prio
WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical
WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
EUVD-2026-82576
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB