Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach unauthenticated cadastro_cobrancas_geracao endpoint
-
DeliveryPOST crafted codigo/descricao parameters
-
ExploitBreak out of INSERT SQL context
-
ExecutionExecute arbitrary SQL via extract($_REQUEST)
-
PersistDump or modify credentials and member data
-
ImpactDelete database tables
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of WeGIA prior to 3.8.6. The web/html/socio/sistema/cadastro_cobrancas_geracao.php endpoint is reachable without authentication and processes attacker-controlled POST data (both form-encoded and JSON) through extract($_REQUEST). Injection succeeds via string parameters (descricao, status, link_cobranca, link_boleto, linha_digitavel, and the date fields) that escape their single-quoted context, and via unquoted/unvalidated numeric parameters (codigo, id_socio, valor, valor_pago). The only limiting factor is network reachability of the WeGIA instance; upgrading to 3.8.6 fully remediates it. No user interaction, no authentication, and no non-default setting are required. |
| Impact | All available signals point to genuine high priority. The provided CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, base 9.8) is internally consistent with the description: the vulnerable endpoint (web/html/socio/sistema/cadastro_cobrancas_geracao.php) is explicitly described as unauthenticated, reachable over the network, with no user interaction, and the source-code diff confirms the root cause - extract($_REQUEST) feeding unparameterized values into a raw INSERT, replaced in the fix with filter_var validation and mysqli prepared statements with bind_param. This is a textbook CWE-89 SQL injection with no mitigating authentication or complexity barrier. No EPSS score, no CISA KEV listing, and no explicit POC flag were supplied in the input, so exploitation probability and in-the-wild activity cannot be quantified from the data; the absence of these signals should not be read as low risk given the trivial exploitability. The one tempering factor is deployment footprint rather than technical severity: WeGIA is niche software for charitable institutions, so this is more likely to be opportunistically or targetedly exploited than mass-scanned. Net: a real, must-patch issue for any org running WeGIA, with the caveat that exploitation-likelihood signals (EPSS/KEV/POC) are missing from the provided data and should be checked against current threat intel. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker sends a crafted form-encoded or JSON POST request to the cadastro_cobrancas_geracao.php endpoint, placing SQL metacharacters in a string parameter such as descricao or status (which break out of the single-quoted context) or in an unquoted numeric parameter such as codigo or id_socio. Because input flows through extract($_REQUEST) directly into a concatenated INSERT statement, the injected SQL executes against the database, letting the attacker read or modify billing, member, employee, permission, and credential records or DROP tables. No public exploit was identified in the provided data, but the source-code diff publicly documents the exact vulnerable parameters and sink, making a working exploit trivial to construct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Unauthenticated SQL injection in WeGIA versions prior to 3.8.6 allows remote attackers to execute arbitrary SQL against the underlying database by sending crafted POST data to the web/html/socio/sistema/cadastro_cobrancas_geracao.php endpoint. Because the endpoint uses extract($_REQUEST) and interpolates user-supplied values directly into a raw INSERT statement, an attacker can read, modify, or delete billing, member, employee, permission, and credential data, or drop database tables, without authentication or user interaction. The vendor fixed the flaw in 3.8.6 with prepared statements and input validation; no public exploit code was identified at time of analysis.
RemediationAI
Upgrade WeGIA to 3.8.6 or later; the vendor-released patch replaces the vulnerable raw SQL with prepared statements and validates numeric input. If immediate upgrade is not possible, restrict network access to the cadastro_cobrancas_geracao.php endpoint (for example, require authentication at a reverse proxy or allow only trusted management IP ranges), though this may disrupt legitimate billing generation workflows; alternatively, disable the endpoint entirely if billing generation is not required. A short-term compensating control is a WAF rule blocking POST requests containing SQL metacharacters in the affected parameters, but such rules can often be bypassed with encoding tricks and are not a substitute for the patch. See the vendor advisory at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-g2hm-m6gw-fcgg and the fix commit 38cb19baeee90b334817fb9b40f967996c9ee36b.
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 for charitable institutions. The vulnerable endpoint, web/html/socio/sistema/cadastro_cobrancas_geracao.php, imported request variables using extract($_REQUEST) and then constructed a raw INSERT statement by wrapping string parameters (descricao, data_emissao, data_vencimento, data_pagamento, status, link_cobranca, link_boleto, linha_digitavel) in single quotes while leaving numeric parameters (codigo, id_socio, valor, valor_pago) unquoted and unvalidated. This pattern corresponds to CWE-89 (SQL Injection): string values could break out of their quote context and numeric values required no quote escape at all, allowing arbitrary SQL to be appended or substituted. The fix in commit 38cb19baeee90b334817fb9b40f967996c9ee36b replaces the dynamic SQL with a parameterized prepared statement using mysqli bind_param and adds filter_var integer/float validation for numeric fields.
Know when PHP 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:H/I:H/A:H
Unauthenticated network-reachable endpoint with no user interaction (AV:N/AC:L/PR:N/UI:N); SQL injection allows full read/modify of sensitive data and table deletion, so C:H/I:H/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
WeGIA is a web manager for charitable institutions. Prior to 3.8.6, the unauthenticated web/html/socio/sistema/cadastro_cobrancas_geracao.php endpoint accepts form-encoded POST data through extract($_REQUEST) and interpolates codigo, descricao, data_emissao, data_vencimento, data_pagamento, valor, valor_pago, status, link_cobranca, link_boleto, linha_digitavel, and id_socio into a raw INSERT statement. Numeric parameters are unquoted and unvalidated, while string parameters can break out of their single-quoted SQL context. A remote attacker can execute arbitrary SQL to read or modify billing, member, employee, permission, and credential data or to delete database tables. This issue is fixed in version 3.8.6.
Technical POC Analysis
CWE-89: Improper Neutralization of Special Elements used in an SQL Command.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
WeGIA, a member management platform, contains a critical SQL injection flaw that could allow remote attackers to compromise the confidentiality and integrity of sensitive business and personal data. Because the vulnerability affects core database operations and requires no user interaction, it poses a severe risk of data breach, financial fraud, and operational disruption, demanding immediate remediation.
Apply vendor patch.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-101625
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB